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

install_fw.sh

# 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

  1. Open QtCreator
  2. Open Project
  3. Select root CMakeLists.txt
  4. Select build folder
  5. 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