CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

Canbt build foamDebugSwitches

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 20, 2008, 09:06
Default Hi, i've been trying to bui
  #1
New Member
 
name
Join Date: Mar 2009
Posts: 9
Rep Power: 17
gitsnedbutzi is on a distinguished road
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
gitsnedbutzi is offline   Reply With Quote

Old   July 21, 2008, 11:48
Default I could solve the problem myse
  #2
New Member
 
name
Join Date: Mar 2009
Posts: 9
Rep Power: 17
gitsnedbutzi is on a distinguished road
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
gitsnedbutzi is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


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