|
[Sponsors] |
July 20, 2008, 09:06 |
Hi,
i've been trying to bui
|
#1 |
New Member
name
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
Hi,
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[2]: *** [/home/markus/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/foamDebugSw itches] Error 1 make[2]: Leaving directory `/home/markus/OpenFOAM/OpenFOAM-1.5/applications/utilities/miscellaneous/foamDeb ugSwitches' make[1]: *** [foamDebugSwitches] Error 2 make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/markus/OpenFOAM/OpenFOAM-1.5/applications/utilities/miscellaneous' make: *** [miscellaneous] Error 2 |
|
July 21, 2008, 11:48 |
I could solve the problem myse
|
#2 |
New Member
name
Join Date: Mar 2009
Posts: 9
Rep Power: 17 |
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
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Help streamline canbt be shown | alice | ParaView | 6 | November 4, 2008 03:49 |
Canbt build library on amd64 | kar | OpenFOAM Running, Solving & CFD | 2 | April 14, 2008 07:13 |
Problem compiling foamDebugSwitches | ueno | OpenFOAM Installation | 2 | June 16, 2007 21:33 |
FoamDebugSwitches link error | ueno | OpenFOAM Bugs | 0 | June 16, 2007 20:58 |
Canbt run the tutorial cavity | fengxs | OpenFOAM Installation | 4 | May 10, 2005 13:18 |