Difference between revisions of "More notes"
m (→comments from others:: lua version on gentoo) |
(→comments from others:) |
||
(2 intermediate revisions by one user not shown) | |||
Line 126: | Line 126: | ||
==comments from others:== | ==comments from others:== | ||
− | lualib50 is required, it seems to be missing with lua-5.0.2 | + | Gentoo caveats:<br /> |
+ | lualib50 is required, it seems to be missing with lua-5.0.2 <br /> | ||
+ | Solution: | ||
+ | sed -i -e "s:liblua50:lua:" configure | ||
+ | sed -i -e "s:lua50:lua:" configure | ||
+ | (Ok, it was late, this is for lazy ones, there are configure options...) | ||
+ | ogre has to be build with USE="devil cegui" --[[User:The mgt|The mgt]] 06:03, 14 March 2006 (CET) |
Latest revision as of 05:03, 14 March 2006
======= ogre install
here is what worked for me, (knoppix 4.0.2 debian installation, with 2.6.13 kernel)
# get Cg from http://developer.nvidia.com/cg, unpack to root "/" to install cd / tar xfz Cg-1.4.0-3_x86.tar.gz
# get zziplib source from http://zziplib.sourceforge.net cd /usr/src tar xfj zziplib-0.12.83.tar.bz2 cd zziplib-0.12.83 ./configure make && make check && make install
# get DevIL source from http://openil.sourceforge.net/ cd /usr/src tar xfz DevIL-1.6.7.tar.gz cd DevIL-1.6.7 ./configure make && make install
# sdl installieren (so ähnlich) apt-get install libsdl1.2-dev
# get cegui (mk2) source from http://www.cegui.org.uk/ cd /usr/src tar xfj cegui_mk2-source-0.4.1.tar.bz2 cd cegui_mk2 ./configure make && make install
# get ogre source from http://ogre3d.org cd ogrenew ./bootstrap aclocal # as su ./bootstrap ./configure make make install # add a line "/usr/local/lib" to /etc/ld.so.conf /sbin/ldconfig cd Samples/Common/bin/ ./SkyBox
rm -rf /usr/local/share/OGRE rm -rf /usr/local/lib/OGRE/ rm -rf /usr/local/lib/libOgre* rm -rf /usr/local/include/OGRE
======= ogre install notes (did not work...)
needs zziplib , SDL , DevIL
from ogrenew/Docs/README.linux
DevIL 1.5.x or greater - If you don't have this on your system then you can get it from http://openil.sourceforge.net/. UPDATE: DevIL 1.6.6 seems to introduce some problems, stick to 1.6.5 for the moment.
*Important* Do not install the binary version of DevIL as this has caused problems for some users, install the source distribution instead.
zziplib 0.12.x or above, available from http://zziplib.sourceforge.net.
Cg, preferably version 1.1 since later versions have known bug which have been reported to nVidia. http://developer.nvidia.com/cg
Also if you have libpng3 installed on your system look at the following link: http://ogre.sourceforge.net/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1&categories=Building+OGRE&parent_id=0#20
Confirm that you have SDL 1.2.4, Freetype2, DevIL, zziplib, CEGUI 0.2.0 and pkg-config available on your system (if not, install them!)
Make sure there are no OGRE libraries in /usr/lib or /usr/local/lib before doing a make install.
/sbin/ldconfig -p | grep libILU.so.1
To get around the problem of not being able to find libOgreMain.so the best thing to do is to add /usr/local/lib to your /etc/ld.so.conf and re-run /sbin/ldconfig
./configure --disable-cg ./configure --disable-cg --with-gl-support=GLX --with-platform=GLX ./configure --with-platform=glx
upgrade :
autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.9
ltmain.sh (GNU libtool) 1.5.18 (1.1220.2.245 2005/05/16 08:55:27)
pkg-config 0.18.1
installing the latest version of libtool (1.5.18 I believe) and doing the following:
make distclean libtoolize --force ./bootstrap ./configure make
1. libtool was upgraded from 1.5.16 to 1.5.18-r1 2. I started with ./bootstrap rather than with just ./configure.
valgrind --tool=memcheck ./SkeletalAnimation
devil 1.5.6 works and should compile straight off. libpng3 ist problematisch ??
======= todo
One thing you can do in the meantime is remove all the vertex/program programs from the media directory, and also remove the materials in the .material files that reference vertex/fragment programs.
http://www.ogre3d.org/phpBB2/viewtopic.php?t=4675&highlight=configure+devil+libpng libpng , libmng search for "Black screen" http://ogre.sourceforge.net/modules.php?op=modload&name=FAQ&file=index&myfaq=yes&id_cat=1&categories=Building+OGRE&parent_id=0#20 http://ogre.sourceforge.net/phpBB2/viewtopic.php?t=2249&highlight=vsnprintf
reinstall sdl and sdl-libs from source ?
comments from others:
Gentoo caveats:
lualib50 is required, it seems to be missing with lua-5.0.2
Solution:
sed -i -e "s:liblua50:lua:" configure sed -i -e "s:lua50:lua:" configure
(Ok, it was late, this is for lazy ones, there are configure options...) ogre has to be build with USE="devil cegui" --The mgt 06:03, 14 March 2006 (CET)