Steve, Do you require OpenFlight? As stated in some other threads, we didn't know about the new OpenFlight plugin until after 1.2 went final. I snuck in the plugin for the binary package, but the official source release does not have an Xcode project that will build the plugin.
Okay, if you're using the Makefiles, you may need the DYLD_LIBRARY_PATH, especially if you did 'make install'. OS X ships with a very minimal environment and most locations Linux users might take for granted are not in the default path on OS X (like /usr/local). Since you kind of have stuff working, you may not need to touch anything, but I would personally suggest this: purge all the osg stuff from your system and start anew using just the binary package and see if you can make things work. So that means removing files from /Library/Frameworks, /usr/?/include, /usr/?/lib, /Library/Application Support/OpenSceneGraph/PlugIns, etc. Download the binary package and open it: Copy the frameworks to /Library/Frameworks Copy the plugins to /Library/Application Support/OpenSceneGraph/PlugIns So test the installation, go back to the binary package and drag-and-drop (copy) just the Examples folder and Resources folder to the Desktop. Go into the Examples folder on your Desktop (not from the package) and double click osganimate. If you see a hang-glider and plane circling, then things are properly installed. You can delete these folders on the desktop. To test compiling an OSG app, copy the Xcode templates from the binary package to wherever the instructions say. (I don't remember the path offhand.) Then open up Xcode, select New Project. Select OSG Application from the template list and follow the rest of the directions. Then hit Build. You may have to remove #include <osg/UByte4> from the precompiled header list if you get a compile error. (I just noticed this.) I also used to recommend disabling Zerolink, but I think it actually works enough now so you might not have to hunt down for this option.) If everything compiles, hit Run. Hopefully a program with two colored pyramids with a light blue background will appear. (If the compile failed or nothing appeared, you may need to disable Zerolink and rebuild/rerun.) -Eric _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
