Hi Liam
First, this is the good message of your output. And then
Liam wrote in Mon Mar 28, 2011 2:04 pm:..... (cut out lots of stuff) ..........
checking for OpenThreadsGetVersion in -lOpenThreads... no
checking osg/Version usability... no
checking osg/Version presence... no
checking for osg/Version... no
this is the bad one. It seems like you don’t have OSG installed, or wrong version (OpenThreads is part of the OSG installation). Later you say you moved some libs directly to some folders (frameworks?), but you have to install OSG like described in the wiki or in the post above (for OSX 10.6). When you are on OSX 10.6 you have to follow the post above, but never do this on a OSG source twice. Move latest try to trash and use a new download of OSG 2.9.7 (recommended for OSX 10.5) or 2.9.9 (maybe better for OSX 10.6).
A message
not to follow from SimGear/FlightGear is this one:
This README is completely out of date.
Liam wrote in Mon Mar 28, 2011 2:04 pm:Edit: I have also been on the OSG website and downloaded it manually without terminal, and it added a lot of frameworks to my system and did not make any difference to the errors i recieved and still refused to compile my FlightGear afterwards.
Remove all installed files. Look out for OpenSceneGraph.framework, OpenThreads.framework, osg this and that, remove all. When you tried to install OSG via MacPorts type also in terminal "sudo port uninstall openscenegraph". Do a search for files containing "osg". Make your mac completely OSG clean before you start again
Now just compile OSG yourself, it works. But again, the steps for OSX 10.5/10.6 are different. And don’t forget to "sudo make install" at the end (I don’t think you’re idiot, it’s just because I forget such things sometimes myself, I am an old man). With sudo make install it goes to a "hidden" folder /usr/local/lib on your system and will be found from simgear/flightgear, when it is the right version. Just to be sure here again how to install OSG, after you did all other steps described on wiki page, and before you try to compile simgear/flightgear (the configuration steps below are different for OSX 10.5 / 10.6 !):
For both system: Create a new folder on your mac, move to this folder in terminal with "cd /Users/liam/path/to/new/directory", then type
OSX 10.5.8:- Code: Select all
svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.7 OpenSceneGraph
You get all files in a new created folder "OpenSceneGraph" in this new directory, type in same terminal window:
- Code: Select all
cd OpenSceneGraph
./configure
make
sudo make install
for OSX 10.6.6:- Code: Select all
svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.9 OpenSceneGraph
But the configuration is different for OSX 10.6, type (copy paste) this one in terminal, when you are in a "fresh" OpenSceneGraph folder:
- Code: Select all
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk -DCMAKE_OSX_ARCHITECTURES=i386 -DJASPER_LIBRARY= -DCMAKE_OSX_DEPLOYMENT_TARGET=10.5
and after that, "sudo make install".
Hope this helps. In case you get new or other errors, let me know.
Thanks for giving it a try, Cheers, gral