Compiling ogre

From SfzWiki
Jump to: navigation, search

Ghoulsblade 19:42, 11 July 2008 (CEST) : just a few notes so far...

compiling on linux (ubuntu)

  • configure: error: "libxf86vm headers not found"
    • apt-get install libxxf86vm-dev
  • make error : /usr/bin/ld: cannot find -lXaw
    • apt-get install libxaw-headers libxaw7-dev
# get ogre source from http://ogre3d.org
cd ogrenew
aclocal
./bootstrap
# NDEBUG=1 : prevent particle bbox asserts 
./configure --with-gui=gtk CXXFLAGS="-DNDEBUG=1"       
make
make install
# add a line "/usr/local/lib" to /etc/ld.so.conf
/sbin/ldconfig
cd Samples/Common/bin/
./SkyBox