Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to build OGRE in Ubuntu

📅 2017-Apr-17 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ ogre ⬩ 📚 Archive

Ubuntu ships with a particular version of OGRE that can be installed easily. For example, on Ubuntu 16.04:

$ sudo apt install libogre-1.9-dev

However, if you need to use an older or newer version of OGRE then you might need to build it yourself. This is not so hard on Linux, as it is on Windows.

$ sudo apt install build-essential automake libtool libfreetype6-dev libfreeimage-dev libzzip-dev libxrandr-dev libxaw7-dev freeglut3-dev libgl1-mesa-dev libglu1-mesa-dev libpoco-dev libtbb-dev doxygen libcppunit-dev
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

Tried with: OGRE 1.8 and Ubuntu 16.04


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon📧 Email