From: brett h. <bha...@ya...> - 2004-07-29 23:03:31
|
Cool, installed and tested it. tutorial2.py and test_xode.py both work; haven't installed pygame or PyOpenGL to test the others yet. Cheers, -brett --- Matthias Baas <ba...@ir...> wrote: > brett hartshorn wrote: > > Traceback (most recent call last): > > File "<stdin>", line 1, in ? > > ImportError: /usr/lib/python2.2/site-packages/ode.so: undefined symbol: > dGeomTriMeshGetTriangle > > > > I guess that i should disable the OPCODE and Trimesh stuff? > > Exactly. I've just checked in a modification that allows you to disable > trimesh support in the setup script. If you set the variable > TRIMESH_SUPPORT to False you only get dummy trimesh classes and no > trimesh C function should be called within the module. > > > Here's what I did: I've moved the trimesh geom class out of geoms.pyx > into its own file trimesh.pyx. The setup script creates an intermediate > file _trimesh_switch.pyx that either includes the files trimesh.pyx and > trimeshdata.pyx or the file trimesh_dummy.pyx. This intermediate file is > included in ode.pyx. > The file trimesh_dummy.pyx also defines the TriMeshData and GeomTriMesh > classes but they will raise NotImplementedError exceptions in their > constructors. > > - Matthias - > > > ------------------------------------------------------- > This SF.Net email is sponsored by OSTG. Have you noticed the changes on > Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, > one more big change to announce. We are now OSTG- Open Source Technology > Group. Come see the changes on the new OSTG site. www.ostg.com > _______________________________________________ > Pyode-user mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyode-user > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |