Linux
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
######################## #### Prerequisites ##### cmake >= 2.8.11 (tested: 3.0.2, 3.2.1) Ogre == 1.9 (tested: 1.9.0) ois == 1.3 (tested: 1.3.0) Qt >= 5 (tested: 5.4.1) Tested on: Ubuntu 15.04 (x86_64) Fedora 21 (x86_64) Gentoo ~amd64 (x86_64) #### Ubuntu ############ # Useful commands $ apt-cache search <word> $ sudo apt-get install <package> ## Packages to install cmake libogre-1.9-dev libois-dev qtbase5-dev ######################## #### Fedora ############ # Useful commands $ yum search/info/install <package> ## Packages to install gcc-c++ cmake ogre-devel ois-devel qt5-qtbase-devel ######################## #### Gentoo ############ # Useful commands $ nano $ equery uses <package> $ emerge <package> (-s = search, -pv = pretend and show use-flags) ## Packages to install # USE-flags can be set per package in /etc/portage/package.use cmake (USE +qt5) ogre (USE +ois) # These should be already installed by cmake +qt5 qtcore qtgui qtwidgets ######################## ################################# #### Compilation #### (debug-build with -DCMAKE_BUILD_TYPE=Debug) $ cmake -G "Unix Makefiles" $ make (can be sped up somewhat with -j <num of jobs> switch) # To select, for example, clang as a compiler (Works only then configuring first time) $ cmake -G "Unix Makefiles" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ################################# #### Running the application #### $ cd bin $ ./PlanetGenerator