Difference between revisions of "Compiling ogre"

From SfzWiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 5: Line 5:
 
* http://zwischenwelt.org/trac/iris/browser/trunk/installdeps.ubuntu.sh
 
* http://zwischenwelt.org/trac/iris/browser/trunk/installdeps.ubuntu.sh
 
* ubuntu hardy : apt-get install libfreetype6-dev libois-dev libfreeimage-dev libzzip-dev nvidia-cg-toolkit libpng12-dev  
 
* ubuntu hardy : apt-get install libfreetype6-dev libois-dev libfreeimage-dev libzzip-dev nvidia-cg-toolkit libpng12-dev  
* ubuntu hardy : apt-get install autoconf automake libtool libxxf86vm-dev
+
* ubuntu hardy : apt-get install autoconf automake libtool libxxf86vm-dev libxaw-headers
  
 
* 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