CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Compiling error (https://www.cfd-online.com/Forums/openfoam-installation/57328-compiling-error.html)

quansp September 4, 2008 05:31

Dear all I am compiling O
 
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/liberrorEstimation.so' is up to date.
+ cd applications
+ ./Allwmake

besto April 20, 2009 07:37

Try this
 
http://www.cfd-online.com/cgi-bin/OpenFOAM_Discus/show.cgi?tpc=126&post=24775#POST24775


All times are GMT -4. The time now is 07:44.