FlightGear Git on Mac OS X: Difference between revisions

Jump to navigation Jump to search
Line 66: Line 66:
=== Download and install OpenSceneGraph trunk ===
=== Download and install OpenSceneGraph trunk ===


'''Remark 1:''' This is the most complicated part. Be sure you have all deps for OpenSceneGraph installed when you change some cmake settings like cocoa/ioimage instead of quicktime/carbon etc., then you will probably need ''tiff'', ''jpeg'' and ''libpng'' to get some OSG Plug-ins installed correctly. All this libs are available trough macports i.e. with "sudo port install tiff jpeg libpng" etc. Dont forget to add "+universal" when you want to compile for target "i386;x86_64".
'''Remark 1:''' This is the most complicated part. Be sure you have all deps for OpenSceneGraph installed when you change some cmake settings like cocoa/ioimage (32/64-bit) instead of quicktime/carbon (32-bit only). Maybe you will need ''tiff'', ''jpeg'' and ''libpng'' installed to get some OSG Plug-ins compiled correctly. All this libs are available trough macports i.e. with "sudo port install tiff jpeg libpng" etc. Dont forget to add "+universal" port variant when you want to compile for more than one target ("i386;x86_64").


'''Remark 2:''' Be careful what frameworks you have installed in /Lybrary/Frameworks. I edited some scenery for flightgear and that was the reason I had some geo frameworks installed. I had to move this frameworks to a safe place during OSG compilation, out of path (i.e. GDAL, GEOS, GSL, PROJ and especially UnixImageIO.framework).
'''Remark 2:''' Be careful what frameworks you have installed in /Lybrary/Frameworks. I edited some scenery for flightgear and that was the reason I had some geo frameworks installed. I had to move this frameworks to a safe place during OSG compilation, out of path (i.e. GDAL, GEOS, GSL, PROJ and especially UnixImageIO.framework).
271

edits

Navigation menu