|November 16, 2011, 08:26||
compiling solvers and applications (wmake)
Join Date: Oct 2011
Posts: 3Rep Power: 6
this is the first time I use this forum, so I hope I posted the thread at the right location.
I'm new to OpenFOAM, so please bear with me.
I was trying to compile a solver by using the wmake utility, and terminal outputted the following:
Making dependency list for source file interFoam.C
SOURCE=interFoam.C ; /usr/bin/g++ -DdarwinIntel64 -DWM_DP -arch x86_64 -fPIC --sysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O2 -DNoRepository -ftemplate-depth-40 -I/Users/sizamil/OpenFOAM/OpenFOAM-1.7.x/src/transportModels -I/Users/sizamil/OpenFOAM/OpenFOAM-1.7.x/src/transportModels/incompressible/lnInclude -I/Users/sizamil/OpenFOAM/OpenFOAM-1.7.x/src/transportModels/interfaceProperties/lnInclude -I/Users/sizamil/OpenFOAM/OpenFOAM-1.7.x/src/turbulenceModels/incompressible/turbulenceModel -I/Users/sizamil/OpenFOAM/OpenFOAM-1.7.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/Users/sizamil/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/Users/sizamil/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude -Ddarwin -c $SOURCE -o Make/darwinIntel64DPOpt/interFoam.o
cc1plus: error: unrecognized command line option "-fsysroot"
make: *** [Make/darwinIntel64DPOpt/interFoam.o] Error 1
now the solver that I wanted to compile was interFOAM which is already supplied with the OpenFOAM package, and the computer I'm using is a mac ( version 10.5.8), so it should theoretically work ( everything else has, so far )
can anyone tell me what the problem is ?
thank you in advance,
|November 16, 2011, 13:54||
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 727Rep Power: 20
The error seems to be related to the compiler on your system not recognizing an option. I've never done it myself, but compiling OF on a Mac requires its own finesse. Best to search for threads about compiling OF on a Mac to see if anyone else has had this issue.
|Thread||Thread Starter||Forum||Replies||Last Post|
|compiling solvers and applications (wmake)||sizamil||Main CFD Forum||0||November 13, 2011 08:03|
|Problems about compiling OF1.5.x on Bluegene/P||ywang||OpenFOAM||1||August 25, 2011 05:22|
|OpenFOAM15 installables are incomplete problem with paraFoam||tryingof||OpenFOAM Bugs||17||December 7, 2008 05:41|
|Problem of compilation OF 14Allwmake command not found||erik_d||OpenFOAM Bugs||13||September 13, 2008 21:45|
|Regarding FoamX running Kindly help out||hariya03||OpenFOAM Pre-Processing||0||April 18, 2008 04:26|