CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Compilation error for the development version 13 from the powerlab

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2007, 16:25
Default Dear OpenFOAM developers and u
  #1
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Dear OpenFOAM developers and user

I have been trying to compile the OpenFOAM 1.3 development version.

I have followed the build instruction religiously and it works for the compilation of OpenFOAM 1.4.1 including the compilation of paraview 2.4.4.

When i follow the same steps for the OpenFOAM 1.3 development version I always get stuck with these error

------------------------------------------------

/usr/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
make: *** [/home/singh/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPDebug/setSet ] Error 1
---------------------------------------------
In file included from ensightField.H:72,
from foamToEnsight.C:38:
ensightField.C: In function 'void writePatchField(const Foam::word&, const Foam::Field<type>&, const Foam::word&, const Foam::ensightMesh&, const Foam::fileName&, const Foam::word&, Foam::label, Foam:stream&)':
ensightField.C:313: error: no matching function for call to 'Foam:Fstream:Fstream(Foam::fileName&, Foam::IOstream::streamFormat&, Foam::IOstream::versionNumber&, Foam::IOstream::compressionType&)'
/home/singh/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/OFstream.H:109: note: candidates are: Foam:Fstream:Fstream(const Foam::fileName&, std::_Ios_Openmode, Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType)
/home/singh/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude/OFstream.H:87: note: Foam:Fstream:Fstream(const Foam:Fstream&)
make: *** [Make/linuxAMD64Gcc4DPDebug/foamToEnsight.o] Error 1
------------------------

FoamXAny.C: At global scope:
FoamXAny.C:564: error: 'void FoamX::operator>(const FoamXServer::FoamXAny&, const FoamXServer::FoamXAny&)' should have been declared inside 'FoamX'
FoamXAny.C:692: error: 'void FoamX::operator<(const FoamXServer::FoamXAny&, const FoamXServer::FoamXAny&)' should have been declared inside 'FoamX'

make: *** [Make/linuxAMD64Gcc4DPDebug/FoamXAny.o] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: cannot find -lFoamX
collect2: ld returned 1 exit status
make: *** [/home/singh/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPDebug/FoamXH ostBrowser] Error 1
/usr/bin/ld: cannot find -lFoamX
collect2: ld returned 1 exit status
make: *** [/home/singh/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPDebug/FoamXC aseBrowser] Error 1
/usr/bin/ld: cannot find -lFoamX
collect2: ld returned 1 exit status
make: *** [/home/singh/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxAMD64Gcc4DPDebug/FoamXC aseServer] Error 1
----------------------------------------


The forum suggested that there is an error related to CMakeLists.txt in the 01-05-2007 version of OF 1.3. but i have already corrected that issue.

Please help me as i badly need this version...

With Best Regards
Jaswinder
jaswi is offline   Reply With Quote

Old   August 13, 2007, 16:52
Default Check http://www.cfd-online.co
  #2
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 21
msrinath80 is on a distinguished road
Check http://www.cfd-online.com/OpenFOAM_D.../126/4964.html
msrinath80 is offline   Reply With Quote

Old   August 14, 2007, 02:51
Default Thanks Srinath As I underst
  #3
Senior Member
 
Join Date: Mar 2009
Posts: 248
Rep Power: 18
jaswi is on a distinguished road
Thanks Srinath

As I understand that solves the first error:

cannot find -ltermcap
-----------------

Could you please comment on the other errors:

-->make: *** [Make/linuxAMD64Gcc4DPDebug/foamToEnsight.o] Error 1

--> cannot find -lFoamX

Thanks alot

Jaswinder
jaswi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which version is current development line for 15 dkingsley OpenFOAM Installation 20 January 22, 2009 02:49
Which version is current development line for 15 dkingsley OpenFOAM Installation 0 January 12, 2009 08:18
Development version download guillaume OpenFOAM Installation 30 October 15, 2008 00:59
Install development version on Ubuntu hsieh OpenFOAM Installation 9 December 31, 2007 08:18
[OpenFOAM] ParaView patch visualisation error in Development version philippose ParaView 17 March 26, 2007 06:45


All times are GMT -4. The time now is 23:09.