CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Open FOAM15 autoHexMesher compile issue (https://www.cfd-online.com/Forums/openfoam-bugs/62406-open-foam15-autohexmesher-compile-issue.html)

tspelce October 7, 2008 19:39

I am observing the following e
 
I am observing the following error attempting to build OpenFOAM-1.5:

SOURCE=autoHexMesh/autoHexMeshDriver/autoRefineDriver.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/decompositionAgglomeration/deco mpositionMethods/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/dynamicMesh/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/lagrangian/basic/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/edgeMesh/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/triSurface/lnInclude -IlnInclude -I. -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/autoRefineDriver.o
/p/lscratchb/spelce1/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
/p/lscratchb/spelce1/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C:56: error: invalid conversion from 'Foam::IOobject*' to 'Foam::featureEdgeMesh*'
make: *** [Make/linux64GccDPOpt/autoRefineDriver.o] Error 1



I am using gcc 4.1.2 on a RHEL 5 based Opteron cluster.

niklas October 8, 2008 02:13

gcc 4.1.2 thats most likely
 
gcc 4.1.2

thats most likely your problem right there.

mattijs October 8, 2008 02:37

Or try http://www.cfd-onlin
 
Or try

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

roth October 9, 2008 11:31

Perhaps this patch for autoRef
 
Perhaps this patch for autoRefineDriver.C could be pushed in the git version?

mattijs October 9, 2008 16:04

Done.
 
Done.


All times are GMT -4. The time now is 15:19.