Hi, i've been trying to bui
i've been trying to build OpenFOAM from the sources but there's a problem in building foamDebugSwitches which seems to be caused by autoRefineDriver.h. Has anyone an idea what could be causing that problem? Thanks a lot!!
The error messages are first:
/home/markus/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/markus/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
+ wmake libso errorEstimation
'/home/markus/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/liberrorEstimation.so' is up to date.
and then also
/usr/bin/ld: cannot find -lautoMesh
collect2: ld returned 1 exit status
make: *** [/home/markus/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/foamDebugSw itches] Error 1
make: Leaving directory `/home/markus/OpenFOAM/OpenFOAM-1.5/applications/utilities/miscellaneous/foamDeb ugSwitches'
make: *** [foamDebugSwitches] Error 2
make: Target `application' not remade because of errors.
make: Leaving directory `/home/markus/OpenFOAM/OpenFOAM-1.5/applications/utilities/miscellaneous'
make: *** [miscellaneous] Error 2
I could solve the problem myse
I could solve the problem myself. the reason is i'm still using gcc 4.2 as 4.3 isn't a ubuntu package yet. in case anyone else has the same problem: in the openfoam bugs forum you can find a patched version of autorefinedriver which works with gcc 4.2
|All times are GMT -4. The time now is 17:20.|