|November 13, 2011, 08:03||
compiling solvers and applications (wmake)
Join Date: Oct 2011
Posts: 3Rep Power: 5
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,
|Thread||Thread Starter||Forum||Replies||Last Post|
|Problems about compiling OF1.5.x on Bluegene/P||ywang||OpenFOAM||1||August 25, 2011 05:22|
|OF-1.6.x applications don't compile, although rest does||gwierink||OpenFOAM Installation||7||June 15, 2010 02:14|
|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|