Setting up Development Environment - lms-org/lms GitHub Wiki
System Requirements
You need the following packages to be installed on your computer:
- make
- git
- cmake
- g++
On Ubuntu/Debian you can install those packages with:
sudo apt-get install build-essential make git cmake
Recommended packages:
- doxygen - generate HTML source code documentation
- qtcreator - your IDE
sudo apt-get install qtcreator
sudo apt-get install doxygen
Requirements for OGRE
# try to ínstall libogre-1.9-dev before you add the PPA
# sudo add-apt-repository ppa:ogre-team/ogre
sudo apt-get update
sudo apt-get install libogre-1.9-dev libois-1.3.0 libois-dev
Create a symlink to your OGRE plugin directory:
# for x86_64
sudo ln -s /usr/lib/x86_64-linux-gnu/OGRE-1.9.0/ /usr/local/lib/OGRE
# for ARM
# TODO
IDE
The core developers are currently using QtCreator. It qualifies as a good C++ IDE due to syntax highlighting, CMake integration and Autocompletion.
If you like CodeBlocks more then you can use it as well.
For the hardcore guys: Use vim or emacs ;)
Setup for QtCreator
- Open QtCreator
- Open Project
- Select root CMakeLists.txt
- Select build folder
- Start hacking :)
Setup for VisualStudio
- Create build folder inside your source folder
- Execute
cmake .. -G "Visual Studio 14 2015"
or something similar there - Open the created
*.sln
file inside the build folder with Visual Studio