Configure OGRE on Ubuntu

 

  1. Obtain OGRE souce code on  sourceforge.net.

 

  2. Install cmake for later compilation:

  $ sudo apt-get install cmake-gui

 

  3. Install some requisite softwares:

  $ sudo apt-get install libfreetype6-dev libboost-date-time-dev libboost-thread-dev nvidia-cg-toolkit libfreeimage-dev zlib1g-dev libzzip-dev libois-dev libcppunit-dev doxygen libxt-dev libxaw7-dev libxxf86vm-dev libxrandr-dev libglu-dev libboost-dev

 

  4. Install a requisite software font engine called freetype:

  $ cd ./Download
  $ wget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.10.tar.gz
  $ tar zxvf freetype-2.4.10.tar.gz
  $ cd ./freetype-2.4.10/
  $ ./configure
  $ make
  $ sudo make install

 

  5. Enter the directory of OGRE souce and compile it:

  $ cmake .
  $ make
  $ make doc
  $
sudo make install

 

  6. Configuration Done! Run ./bin/SampleBrowser to see some samples.

 

 

posted on 2015-06-01 18:55  DevinZ  阅读(240)  评论(0编辑  收藏  举报

导航