delire
13-07-2006 12:57:59
hi all,
i've just sucessfully built and installed PyOgre on a Debian Sid, however when trying any of the demos (and yes after a regenerated ld.so.cache) i get the following output:
i've looked through the forums and i see another thread reporting the same error, but it comes from mithro's PyOgre Debian packages (which I'm not using). it also hasn't yet let to anywhere and has a distracting topic name:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1470&sid=479cda68bd3a942ad379aa37b4461930
here's my build context:
i built PyOgre with:
after making the following changes:
i commented out:
in pyogre/ogre/ogre.i
changed:
in setup.py to read:
i'm using GCC version:
at this point it built fine.
hope it's alright to reiterate here.
cheers
i've just sucessfully built and installed PyOgre on a Debian Sid, however when trying any of the demos (and yes after a regenerated ld.so.cache) i get the following output:
import pyogre.ogre as ogre
File "/usr/lib/python2.4/site-packages/pyogre/ogre.py", line 4, in ?
import _ogre
ImportError: /usr/lib/python2.4/site-packages/pyogre/_ogre.so: undefined symbol: _ZN4Ogre9SingletonI11EventSystemE12ms_SingletonE
i've looked through the forums and i see another thread reporting the same error, but it comes from mithro's PyOgre Debian packages (which I'm not using). it also hasn't yet let to anywhere and has a distracting topic name:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1470&sid=479cda68bd3a942ad379aa37b4461930
here's my build context:
dpkg -l | grep ogre:
ii libogre-dev 1.0.6-1.4
ii libogre5c2a 1.0.6-1.4
dpkg -l | grep cegui:
ii libcegui-mk2-0c2a 0.4.1-1.2
ii libcegui-mk2-dev 0.4.1-1.2
i built PyOgre with:
python2.4 setup.py install
after making the following changes:
i commented out:
%include OgreDataStream.i
in pyogre/ogre/ogre.i
changed:
pkg_config_module='CEGUI CEGUI-OPENGL CEGUI-OGRE',
in setup.py to read:
pkg_config_module='CEGUI CEGUI-OGRE'
i'm using GCC version:
gcc -v
[...]
gcc version 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)
at this point it built fine.
hope it's alright to reiterate here.
cheers