Linux Demo Startup problems

8 views
Skip to first unread message

Enrico Zschemisch

unread,
Oct 22, 2009, 9:03:31 AM10/22/09
to Python Ogre Developers
Hi,

I tried to install the SVN version and ran into several problems
meanwhile. I fixed most of them by hand (e.g. hardcoded libraries
name, paths, etc.) and I just want to get feedback on some other
problems. When installing I get:

10-22 12:59 PythonOgre.BuildModule DEBUG running install
running build
running build_py
package init file 'packages_2.5/ogre/sound/ogreoggsound/__init__.py'
not found (or not a regular file)

10-22 12:59 PythonOgre.BuildModule DEBUG error: package directory
'packages_2.5/ogre/physics/ogrenewt2' does not exist

Okay, so this directory does not exist. After deleting this entry and
several others from setup.py I can finally install the packages.
Unfortunately, starting any demos exits with:
python Demo_Basic.py
Traceback (most recent call last):
File "Demo_Basic.py", line 19, in <module>
import ogre.renderer.OGRE as ogre
File "/home/enrico/po/root/usr//lib/python2.5/site-packages/ogre/
renderer/OGRE/__init__.py", line 10, in <module>
from _ogre_ import *
ImportError: /home/enrico/po/root/usr/lib/python2.5/site-packages/ogre/
renderer/OGRE/_ogre_.so: undefined symbol:
_ZN4Ogre20ResourceGroupManager39_notifyWorldGeometryPrepareStageStartedERKSs

So what can I do now to start the demos?

Thanks,
Enrico

Andy Miller

unread,
Oct 22, 2009, 10:24:43 PM10/22/09
to python-ogre...@googlegroups.com
Sorry about the missing package directory -- I'm only using Python 2.6 and didn't add this to the 2.5 area

The missing symbol error possibly means you are getting the wrong ogre library -- ie it compiled OK which means this function existed in the library you compiled against however it might be loading (at run time) and older or just different ogre .so

Andy


2009/10/22 Enrico Zschemisch <enr...@vicampus.com>

Enrico Zschemisch

unread,
Oct 23, 2009, 5:47:18 AM10/23/09
to python-ogre...@googlegroups.com

Hi,

are there any plans to support Ogre 1.7 (svn trunk)?
Why are the build scripts still using Ogre 1.6.1 and not 1.6.4?


Am Freitag, den 23.10.2009, 04:24 +0200 schrieb Andy Miller
<nzmi...@gmail.com>:


> The missing symbol error possibly means you are getting the wrong ogre
> library -- ie it compiled OK which means this function existed in the
> library you compiled against however it might be loading (at run time)
and
> older or just different ogre .so

Mhm, okay. I will check later at home.

I got another error on a Red Hat 5 machine when generating Ogre wrapper
code:
10-23 11:43 PythonOgre.BuildModule DEBUG INFO Parsing xml file
"/tmp/po/python-ogre/code_generators/cache/ogre_1.6.1_cache.xml" ...
INFO GCCXML version - 0.9( 1.128 )


Traceback (most recent call last):

File "generate_code.py", line 1639, in <module>
generate_code()
File "generate_code.py", line 1451, in generate_code
common_utils.AutoExclude ( mb, MAIN_NAMESPACE )
File "../common_utils/__init__.py", line 554, in AutoExclude
Remove_Static_Consts ( main_ns )
File "../common_utils/__init__.py", line 615, in Remove_Static_Consts
if checker( var ):
File "../common_utils/var_checker.py", line 29, in __call__
varline = self.source[declaration.location.line-1]
TypeError: 'NoneType' object is unsubscriptable


Thanks,
Enrico

Andy Miller

unread,
Oct 23, 2009, 8:39:52 PM10/23/09
to python-ogre...@googlegroups.com
SVN trunk is already supported so if you want to build against that it should work -- bear in mind it's a moving target and I haven't built against it for a couple of weeks (while I've been tiding up the 1.6.4 for Windows)

And as mentioned previously I do most of my work on a Windows machine so if you want to check that 1.6.4 works OK on Linux (it should) and send through a patch that would be great.. I intentionally don't touch the Linux or Mac configurations until I get a chance to do an entire build -- rather have things using older libraries and 'working' than braking it completely..

Andy

2009/10/23 Enrico Zschemisch <enr...@vicampus.com>

Enrico Zschemisch

unread,
Oct 27, 2009, 5:19:32 AM10/27/09
to python-ogre...@googlegroups.com

Hi,

Am Samstag, den 24.10.2009, 02:39 +0200 schrieb Andy Miller
<nzmi...@gmail.com>:


> I intentionally don't touch the Linux or Mac
> configurations until I get a chance to do an entire build -- rather have
> things using older libraries and 'working' than braking it completely..

ah, okay. Then I dont understand why you require boost 1.40 when it does
not build with the current build script...

I will come back with a patch later when I have made a complete build...

Regards,
Enrico

Reply all
Reply to author
Forward
0 new messages