mithro
18-06-2006 06:50:59
Hi!
I was wondering if anyone was working on making Deb packages for Ubuntu and Debian?
I couldn't find any on the net.
I've got 90% of the way of packaging them, but ran into a few small problems that I could not solve.
If nobody has already made packages I might continue trying to figure it out.
Mithro
mithro
18-06-2006 09:42:29
Nodus
08-07-2006 04:14:18
I used your debs with the following code and got the following error
code:
#!/usr/bin/python2.4
import pygame
from pyogre import ogre
pygame.init()
screen = pygame.display.set_mode((640,480))
root = ogre.Root("plugins.cfg")
root.showConfigDialog()
root.initialise(False)
renderparams = ogre._StringStringMap()
renderparams['externalWindowHandle'] = str(pygame.display.get_wm_info()['window'])
renderw = root.createRenderWindow('PyOgre through PyGame demo', 640, 480, False, renderparams)
renderw.active = True
sceneman = root.getSceneManager(ogre.ST_GENERIC)
camera = sceneman.createCamera("PlayerCam")
camera.position = (0,0,500)
camera.lookAt((0,0,-300))
camera.nearClipDistance = 5
vp = renderw.addViewport(camera)
vp.backgroundColor = (0,0,0)
camera.aspectRatio = vp.actualWidth / vp.actualHeight
pygame.quit()
error:
from pyogre import 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 am running this on debian etch(testing) on a dual p3 750. It is running a custom kernel, 2.6.15 with the ck4 patch set.
I also have the debian version of ogre intalled but installed or not doesnt seem to make a diffrence.
*edit*
I get the same error if i do pydoc2.4 pygame.ogre