271
edits
Line 64: | Line 64: | ||
Unzip and move the ALUT.framework folder to /Library/Frameworks | Unzip and move the ALUT.framework folder to /Library/Frameworks | ||
=== Download and install OpenSceneGraph | === Download and install OpenSceneGraph trunk === | ||
'''Remark:''' 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:''' 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". | ||
Line 76: | Line 76: | ||
cd OpenSceneGraph | cd OpenSceneGraph | ||
For compiling with imageio/cocoa, target architecture '''i386 AND x86_64''': | For compiling with imageio/'''cocoa''', target architecture '''i386 AND x86_64''': | ||
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \ | 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;x86_64" \ | -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \ | ||
Line 83: | Line 83: | ||
-DOSG_WINDOWING_SYSTEM=Cocoa | -DOSG_WINDOWING_SYSTEM=Cocoa | ||
Alternate for compiling with imageio/carbon, target architecture '''i386/32-bit only''': | Alternate for compiling with imageio/'''carbon''', target architecture '''i386/32-bit only''': | ||
cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \ | 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;x86_64" \ | -DCMAKE_OSX_SYSROOT=/Developer/SDKs/MacOSX10.5.sdk -DCMAKE_OSX_ARCHITECTURES="i386;x86_64" \ |
edits