Hello, I'm trying to compile hippocanvas ([1]) for Windows, but so far with no luck.
The way that got me probably nearer to succeeding was using mingw32 (cross-compiling from an Ubuntu Linux), and then using gnuwin32's a2ddl and o2dll scripts ([2],[3]), but I still have problems. There is one thing in particular I really can't understand. From the process of compilation and linking I got my hippo.dll file, that I renamed to hippo.pyd and moved in the site-packages directory of my Windows XP test box. But... If I click on Start->Programs->Python 2.5->Python (command line), and in the window that pops up I give the command "import hippo" I receive the message: "Import Error: dynamic module does not define init function (inithippo)" instead, if I move to C:\Python25 and start "python.exe", I still get a Python console (but without "command line" written on it) and if I give the same identical command I receive an error code 193 and a popup saying that the file is not a correct Windows DLL. Now: both errors puzzle me, but the thing that really makes me wonder is the difference of behaviour between the two. Moreover "os.getcwd()" returns 'C:\\Python25' in both, and even "sys.path" is identical. Is there someone that can explain what's happening? More generally: do you know a pygtk library with a classic "configure; make"... release structure that was succesfully cross-compiled for Windows, and how? thanks in advance Pietro Battiston _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
