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.

 

技术分享

 

 

 

  Everything can be taken from a man but one thing: the freedom to choose his attitude in any given set of circumstances.

           —— Viktor E. Frankl

  

 

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。