CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Compilation error for the development version 13 from the powerlab (http://www.cfd-online.com/Forums/openfoam-installation/57506-compilation-error-development-version-13-powerlab.html)

jaswi August 13, 2007 16:25

Dear OpenFOAM developers and u
 
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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&)':
ensightField.C:313: error: no matching function for call to 'Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifFstream:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifFstream(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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifFstream:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifFstream(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:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifFstream:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifFstream(const Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifFstream&)
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

msrinath80 August 13, 2007 16:52

Check http://www.cfd-online.co
 
Check http://www.cfd-online.com/OpenFOAM_D.../126/4964.html

jaswi August 14, 2007 02:51

Thanks Srinath As I underst
 
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


All times are GMT -4. The time now is 11:20.