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
时间: 2024-10-13 11:21:06