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. |
gcc 4.1.2
thats most likely
gcc 4.1.2
thats most likely your problem right there. |
Or try
http://www.cfd-onlin
|
Perhaps this patch for autoRef
Perhaps this patch for autoRefineDriver.C could be pushed in the git version?
|
Done.
Done.
|
All times are GMT -4. The time now is 15:19. |