new linux binary available
I've finally been able to compile python-ogre on my ubuntu powered
laptop, and have tested it on three different linux machines and it
The build process was rather painless, although it took a really long
you can download the build from my server:
extract it to a folder and adjust your plugins.cfg's accordingly.
unless you extract this to a system folder such as /usr or /usr/local,
you'll have to set up LD_LIBRARY_PATH and PYTHONPATH before you can
ld_library path is $extracted_to/root/usr/lib
python path in $extracted_to/root/usr/lib/python2.5/site-packages
let me know how it goes
Hey, just wanted to comment that I've gotten this to work with minimal hassle. All the issues were my own due to having half installed failed attempts at building Python-Ogre on linux around. Anyway, thanks for taking the time to build and package this up! I'm able to see my app run on Linux for the first time in months.
Seems to be running fine on Debian/Sid w/ an old-ish P4.
great to hear
anyway, i recently noticed I haven't built ogreAL due to some error in the build scripts. I'll upload the modified build later.
I believe he followed the guide in the wiki.......
Did you follow this guide
or did you do something different to build python-ogre?
the guide. to the letter.
I encountered some missing dependencies issues but andy fixed them so, basicly, every ubuntu user should be able to compile his own distribution. other distros shouldn't have problems.
I'm trying to build on Gentoo but with no luck yet.
Up to step 04 things seem to go fine since I can execute the Ogre demos without problem.
The main issue seems to be this error:
nicolas@adella ~/development $ ./06-GenerateCode.sh
=== generating ogre ===
/home/nicolas/development/root/usr/lib/python2.5/site-packages/pygccxml/parser/scanner.py:312: UserWarning: unable to find ou from expression ""
warnings.warn( msg )
Traceback (most recent call last):
File "generate_code.py", line 1021, in <module>
File "generate_code.py", line 937, in generate_code
ManualInclude ( mb )
File "generate_code.py", line 244, in ManualInclude
File "/home/nicolas/development/root/usr/lib/python2.5/site-packages/pygccxml/declarations/scopedef.py", line 395, in class
File "/home/nicolas/development/root/usr/lib/python2.5/site-packages/pygccxml/declarations/scopedef.py", line 343, in _find
found = matcher_module.matcher.get_single( matcher, decls, False )
File "/home/nicolas/development/root/usr/lib/python2.5/site-packages/pygccxml/declarations/matcher.py", line 79, in get_sin
raise matcher.declaration_not_found_t( decl_matcher )
pygccxml.declarations.matcher.declaration_not_found_t: Unable to find declaration. matcher: [(decl type==class_t) and (name=ed, unsigned>)]
=== done building code ===
./python-ogre/generated/ogre_1.4 is empty after this.
OIS seems to have no problem as .python-ogre/generated/ois_1.0/
shows many files
One thing to note is that when I execute ./01-RetrieveSource.sh
cvs -z3 -q -d :pserver:email@example.com:/cvsroot/GCC_XML -D "1 Oct 2007" co gccxml
cvs: invalid option -- D
So I changed that line to
cvs -z3 -q -d :pserver:firstname.lastname@example.org:/cvsroot/GCC_XML co gccxml
in order to fetch gccxml
I'm using cvs 1.12.12
Can you re checkout the Python-Ogre SVN as I fixed the script..
The -D is needed and goes after the 'co'....
The problem you are having is that you are using the latest version of gccxml which isn't currently working -- hence the check out specifies a date to get the older version..
Are there any plans to try and get python-ogre into any of the distributions?
The system is quite full-featured and stable these days, I think the relevant maintainers would love to add it to the distribution. That would shift the onus for creating and updating the linux binaries from you guys to the distro people.
Btw, from what I gather the easiest way to get into Ubuntu is through debian, and the best way to get there is to first have a chat with the person that will most likely end up maintaining it (the OGRE maintainer would be a good guess) and then file a formal request.
I would assume it hasn't been done because there are so many dependencies that would need to make it first. You need boost 1.34, gccxml (CVS), Ogre 1.4, py++ SVN, pygccxml SVN, CEGUI, and OIS at a minimum. All of those would be new packages/upgraded packages.
I'm not sure what the requirements are for dependencies needed to build but not to run. I could look into that.
Anyway, right now on gutsy:
Missing in action:
So we're almost there.
Yeah, but we would have to freeze the version of GCC-XML and Py++/PyGCCXML that Python-Ogre uses if we ever hope to be able to work within Linux distros. Any word on a new release of those that could be wrapped up for inclusion?
You are making this too hard
The only real issue that I see is that the distro would need to build boost with the indexing suite included. We could then supply them the generated source for Python-Ogre and they would only have to build that..
So no gccxml, py++, Python-Ogre build system, etc... Of course they still need Ogre...
And if need be we could include OIS in the third party section so nothing else would be required (I've been thinking about doing this anyway so I can upgrade the version of OIS we are using) . btw - making QuickGUI the default GUI instead of CEGUI..
So, if you are interested in pursuing this I'm happy to help