CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Installation

Compiling error

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 4, 2008, 05:31
Default Dear all I am compiling O
New Member
Shaoping Quan
Join Date: Mar 2009
Posts: 1
Rep Power: 0
quansp is on a distinguished road
Dear all

I am compiling OpenFOAM1.5 on my Pentium 4 machine with 512mb memory and 40gb harddisk, and Ubuntu 8.04 is installed. I have following error message. Please help me on this. Thanks

+ wmake libso autoMesh
SOURCE=autoHexMesh/autoHexMeshDriver/autoRefineDriver.C ; g++ -m32 -Dlinux -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/decompositionAgglomeration/decompositio nMethods/lnInclude -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/dynamicMesh/lnInclude -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/lagrangian/basic/lnInclude -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/edgeMesh/lnInclude -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/triSurface/lnInclude -IlnInclude -I. -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/quansp/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -pthread -c $SOURCE -o Make/linuxGccDPOpt/autoRefineDriver.o
/home/quansp/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C: In copy constructor 'Foam::PtrList<t>::PtrList(const Foam::PtrList<t>&) [with T = Foam::featureEdgeMesh]':
autoHexMesh/autoHexMeshDriver/autoRefineDriver.C:260: instantiated from here
/home/quansp/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C:56: error: invalid conversion from 'Foam::IOobject*' to 'Foam::featureEdgeMesh*'
make: *** [Make/linuxGccDPOpt/autoRefineDriver.o] Error 1
+ wmake libso errorEstimation
'/home/quansp/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/' is up to date.
+ cd applications
+ ./Allwmake
quansp is offline   Reply With Quote

Old   April 20, 2009, 07:37
Default Try this
New Member
Bernd Stöver
Join Date: Mar 2009
Posts: 16
Rep Power: 8
besto is on a distinguished road
besto is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors when Compiling UDF: error C2040/error C2099 Julian K. FLUENT 1 December 21, 2008 01:23
compiling udf error help FLUENT 1 November 7, 2008 03:20
Compiling ERROR hans007 FLUENT 0 December 12, 2007 05:58
compiling error baskar FLUENT 2 May 4, 2005 11:49
Compiling Error in 6.1 Matthew Brannock FLUENT 2 April 3, 2003 22:34

All times are GMT -4. The time now is 03:52.