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

Error compiling coldEngineFoam OpenFOAM-1.6-ext

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2011, 04:47
Default Error compiling coldEngineFoam OpenFOAM-1.6-ext
  #1
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17
karamiag is on a distinguished road
Hi guys,
I am using openSUSE 11.3 (x86_64) with gcc 4.5.0 and ld 2.20.0.20100122-6.
When I go in
~/OpenFOAM/OpenFOAM-1.6-ext/applications/solvers/combustion/coldEngineFoam
and launch wmake I have this error:

g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I../engineFoam -I../XiFoam -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/engine/lnInclude -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/thermophysicalModels/specie/lnInclude -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/thermophysicalModels/basic/lnInclude -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/thermophysicalModels/reactionThermo/lnInclude -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/compressible/turbulenceModel -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/coldEngineFoam.o -L/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt \
-lengine -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -lbasicThermophysicalModels -lspecie -lfiniteVolume -llduSolvers -lOpenFOAM -liberty -ldl -lm -o /home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64GccDPOpt/coldEngineFoam
/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libbasicThermophysicalModels.so: undefined reference to `Foam::specie::Tstd'
/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libbasicThermophysicalModels.so: undefined reference to `Foam::specie::RR'
/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libbasicThermophysicalModels.so: undefined reference to `Foam:erfectGas:erfectGas(Foam::Istream&)'
collect2: ld returned 1 exit status
make: *** [/home/tecnici/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64GccDPOpt/coldEngineFoam] Error 1

Does anyone know how to solve it?
Thank you.
karamiag is offline   Reply With Quote

Old   January 10, 2011, 15:04
Default
  #2
Member
 
Giovanni Caramia
Join Date: Mar 2009
Location: Bari, ITALY
Posts: 58
Rep Power: 17
karamiag is on a distinguished road
OK, I have no compilation errors simply changing the order of EXE_LIBS in the options file. This is the content of my options file in the Make directory:

EXE_INC = \
-I../engineFoam \
-I../XiFoam \
-I$(LIB_SRC)/engine/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/turbulenceModels/compressible/turbulenceModel \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude

EXE_LIBS = \
-lengine \
-lbasicThermophysicalModels \
-lcompressibleTurbulenceModel \
-lspecie \
-lcompressibleRASModels \
-lcompressibleLESModels \
-llduSolvers \
-lfiniteVolume
karamiag 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
[swak4Foam] OpenFOAM 1.6 and 1.7 with interFoam, groovyBC give different strange results Arnoldinho OpenFOAM Community Contributions 7 December 9, 2010 16:29
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 15:39
OpenFOAM 1.6 package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 36 September 2, 2009 12:46
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 17:55


All times are GMT -4. The time now is 00:37.