
We will write here the most frequent problems and the possible solutions found by the developers. The core group of developers of stellarium uses QtCreator as main IDE, its integration with Qt and the possibility of having a consistent tool through different platforms makes it the most suitable option for our goals. $ hdiutil create -format UDZO -srcfolder Stellarium Stellarium.dmg recurse on those copied-in dependencies, stopping at a point where system libraries are called for.Ĭreating DMG (Apple Disk Image) $ mkdir Stellarium.copy those dependencies into the app (.frameworks and.read the link dependencies of Stellarium.app/Contents/MacOS/stellarium,.The mac_app target includes a python script that makes use of otool and install_name_tool to: IMPORTANT: you should delete or move aside the old Stellarium.app before each new build: or, if we want a release build (instead of a debug one). We run cmake ( see other configuration build options here). If you have already done it once, you have just to update your copy using this git command In that directory checkout the sources with the git command Install CMake: $ sudo port install cmakeĭon't forget to restart your terminal session, so that your new PATH setting is taken in account.Ĭreate a build directory with your favorite shell (the following directory is just an example, you can pick any name and path you want).

(optional) Install (and link) Gettext: $ brew install gettext brew link gettext -force.If not already done, install HomeBrew:.Simpler, lighter and safer (doesn't need sudo) than MacPorts. Choose only one of them (HomeBrew or MacPorts). There are (at least) two simple options to install these tools on OS X. You need some tools to build Stellarium on OS X.

bash_profile file the following line: export PATH=/usr/local/opt/qt/bin:$PATH Add Qt to your PATH environment variable, adding to your.

bash_profile file the following line: export PATH=~/Qt/5.10/clang_64/bin:$PATHĪlternatively, you may install Qt with HomeBrew, if you intend to continue the compilation with it (next steps).

