From: Bruce S. <ba...@an...> - 2002-01-06 03:35:43
|
Can someone knowledgeable with Debian Linux respond to this question? Please cc the person, since I don't know whether this user has subscribed to the VPython user list. Thanks. Bruce Sherwood ---------- Forwarded Message ---------- Date: Saturday, January 05, 2002 21:09 -0500 From: dman <ds...@ri...> To: bru...@cm... Subject: VPython -- compiling latest version > > I downloaded the VPython cvs sources and am trying to compile > cvisualmodule.so but am having some problems. I managed to correct > one problem (missing prototype for xglContext::getMousePixelDelta). > The next problem I had was when I tried to import the module (using > python2.2 at this point). I was told there was no init function in > the module. I renamed "initcvisual" (at the bottom of cvisual.cpp) to > "initcvisualmodule" and that error message went away. (is this the > right fix?) Now I'm getting > > Traceback (most recent call last): > File "<string>", line 1, in ? > SystemError: _PyImport_FixupExtension: module cvisualmodule not loaded > > The documentation on the C API only says that that function is for > internal use. > > I tried recompiling it with the python 2.1 headers instead, but I get > an API version mismatch warning, then the same stack trace above. > > What might I be doing wrong? > > (btw, I'm using Debian on an x86 system) > > -D > > -- > > Trust in the Lord with all your heart and lean not on your own > understanding; in all your ways acknowledge Him, and He will make your > paths straight. > Proverbs 3:5-6 > ---------- End Forwarded Message ---------- |