![]() ![]() Git clone git://.net/p/flightgear/flightgear/ Remarks: Compiling OpenSceneGraph often takes more than 30 minutes.Ĭreate a directory where you want to place your new FlightGear code. Sudo xcodebuild -target install -configuration Release Xcodebuild -target ALL_BUILD -configuration Release DOSG_WINDOWING_SYSTEM=Cocoa -DJASPER_LIBRARY= -DOSG_USE_QT=0 -Wno-dev DCMAKE_RELWITHDEBINFO_POSTFIX= -DOSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX=imageio \ DCMAKE_OSX_DEPLOYMENT_TARGET= 10.9 -DCMAKE_MINSIZEREL_POSTFIX= -DBUILD_OSG_APPLICATIONS=OFF \ DCMAKE_OSX_SYSROOT= /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.9.sdk/ -DCMAKE_OSX_ARCHITECTURES="i386 x86_64" \ G Xcode -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release \ Make a copy of the "OpenSceneGraph" folder you get, maybe you need a fresh clone again when it fails.įor compiling with imageio/ cocoa, target architecture i386 AND x86_64:Ĭmake. mmacosx-version-min=10.9" CFLAGS="-arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.9.sdk/ \ĭownload and install OpenSceneGraph trunk ![]() prefix=/usr/local CXXFLAGS="-arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/SDKs/MacOSX10.9.sdk/ \ configure -disable-pw -disable-sl -disable-psl -disable-ssg -disable-ssgaux \ Then run (for target OSX 10.9/i386 i.e.): "Mac OSX 32-bit Universal (for Intel or PPC, Tiger/10.4 or later)" version. When you want to compile against SDK 10.5 and target 10.5 you will need the Note: this step can take more than 1 hour! Boost is made for drinking more tea. bjam architecture=combined address-model=32_64 install bootstrap.sh -with-python=/usr/bin/python Grab the latest version fromĬhmod +x runConfigureICU configure install-sh When you want to install flightgear with SDK 10.5 and target 10.5 you need Dev Tools/Xcode <= 3.2.6ĭownload and install GIT for OSX. Newer Xcode 4.0 is free but is installed with Apple's appstore now. Update December 2014 with newer Macs this now compiles usualy under 1 hour.ĭownload and install Xcode Dev Tools for OSXįor OSX 10.5.8 (i386) you can use Tools 3.1.4 How to get older dev tools versionsįor OSX 10.6 (i386, x86_64) you can use Dev Tools 3.2.6 Xcode Dev Tools, boost, cmake, plib, OpenSceneGraph, git, SimGear and finally FlightGear Other requirements: Basic knowledge of using Terminal on OSX, Xcode Dev Tools System Requirements: OSX 10.5.8 (Leopard) or higher, and an Intel Mac. Do not post linking errors in the forum or the lists when you decide to use your own search paths. Use your own configuration options to get your preferred locations!. This guide installs the software with default paths on your system, in /usr and /usr/local. ![]() It is probably better NOT TO DELETE this stuff, keep the content in a safe place, but out of system root. ![]() (depends where you installed before, but default is /usr/local/.). in /usr/include, /usr/lib, /usr/local/lib, /usr/local/include etc. Depending on location where you installed FlightGear GIT version (NOT MacFlightGear!), you have to remove a lot of stuff i.e. When you want to follow this wiki and get a new clean install you should remove all former installs of plib, PLIB.Framework, OpenSceneGraph, simgear and flightgear. The build system for FlightGear changed 2011 to cmake. Keep in mind that installing developer versions of software can crash your computer -) Please do not start to mail to the FlightGear- or SimGear Devel-Mailinglist with FlightGear OSX installing problems related to this Wiki, ask your questions or report errors in the forum in postings/threads related to this page! -> Before you start, move other installs out of system root This page is experimental and this building should not be used unless you know what you do with your computer. This page is under heavy developement! It shows how you can probably succeed with installing your own FlightGear Developement Version on OSX 10.5 or 10.6, on a Intel-based Mac. 5.6 Download and install OpenSceneGraph trunk.2 Before you start, move other installs out of system root. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |