If during execution you get an error such as: If it all ran fine you now have a dirty (but quick) source-compiled installation of Ogre3D, congratulations! The demos are located at /Samples/Common/bin/ If during linking your program code, you get an error: OGRE/GLX/OgreTimerImp.h:33:31: error: OgrePrerequisites.h: No such file or directory Then add a './' in the OgreTimerImp.h file so that it reads #include ". Setup OIS (Object Oriented Input System) - note that this is potentially obsoleted if libois-dev and libois1 are present for your distro version:ĬEGUI-0.6.2 is available and can be used instead, but depending on system configuration you may need to add '#include ' to RenderModules/directfbRenderer/directfb-renderer.cpp.Many of these packages may already be installed, but this list makes sure we've covered all the bases. A sufficiently recent version of OIS (at least for Ogre 1.6.x) is available in the libois1 and libois-dev packages, and at least for 9.04 and beyond (older Ubuntu versions not tested).
Libxaw-headers is obsolete on Ubuntu 9.04 and can be dropped from the list. Libxrandr-dev libfreeimage-dev nvidia-cg-toolkit checkinstall libfreetype6-dev libpcre3-dev libopenexr-dev \įreeglut-dev mesa-common-dev libtiff4-dev libglademm-2.4-dev libcppunit-dev libxaw7-dev libxaw-headers libois-dev Sudo apt-get install pkg-config build-essential autoconf automake libtool libzzip-dev libxt-dev libxxf86vm-dev \
I will not do a lot of explaining here and will assume that you know what each command does or at least know how to look it up. The following guide is for Ubuntu 8.04 and newer.