Difference between revisions of "Compiling ogre"

From SfzWiki
Jump to: navigation, search
 
Line 8: Line 8:
  
 
* configure: error: "libxf86vm headers not found"
 
* configure: error: "libxf86vm headers not found"
* apt-get install libxxf86vm-dev
+
** apt-get install libxxf86vm-dev
 
+
* make error : /usr/bin/ld: cannot find -lXaw
 +
** apt-get install libxaw-headers libxaw7-dev
  
 
<pre>
 
<pre>

Latest revision as of 19:08, 18 July 2008

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