Hey Guys - Help installing python-ogre on Linux 14.04


09-06-2014 19:40:25

Hi guys,

I am trying to install python-ogre onto my 64bit ubuntu 14.04 computer. I need it to download and run the source code of a navy simulator, ECSLENT, for my research group. I have been trying for many hours a day trying to follow the given instructions on the wikipedia and the forums for the older Ubuntu platforms with absolutely no luck - not even close. I am completely new to linux and bash commands, so it might just be me.

Has anyone been able to install python-ogre onto a 64bit ubuntu 14.04 that could help me, or is this project pretty much dead?

Thanks so much for any help you can get me!!


02-09-2014 20:55:40

Hello, I do not know the status of the project, but python-orge itself still works. The bad part is that the Linux version is not as good maintained as the Windows version, however it does work after some workarounds/changes here and there. I know of, and have used two approaches to "install" python-ogre on Ubuntu Linux:

One approach is to compile python-ogre yourself (Which will give you the least problems in the long run):
Steps that I used to compile is posted here: http://www.ogre3d.org/addonforums/viewtopic.php?f=3&t=30036&sid=d90171213e7a33af60f5f5eb764d206c#p101922
I do however not know if those steps still work on Ubuntu 14.04, if not then you would probably have to use some time debugging the installation process.

If however you want a simple solution then you could download this: http://greker.org/and/python32.tar.gz
To install it, you need to create a folder named "bin" in your home-folder, and extract the files there. (Aka. so the folder structure is equal to "/home/*yourusername*/bin/py32" and "/home/*yourusername*/bin/python32/").
You will also need 32bit libs if you are using an 64-bit system.
NB: This approach will create a second, isolated 32-bit python installation on your system, meaning only the modules provided with it will work (Unless you manually add more). The modules provided are: Ogre, CEGUI, OIS, CG, twisted, wxPython, zope

Of those two approaches I'd recommend compiling as it would save you troubles you might hit with the isolated installation in the long run. But, if you just need the modules provided with the tar.gz I linked, and having an isolated 32-bit python installation is of no issues for you, then the second solution is much simpler to set up.