Re: [PyOpenGL-Users] python2.3 - win2k - problems compiling
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@ro...> - 2003-11-08 23:48:39
|
Marcelo de Freitas Rigon wrote: >Thanks for your help Mike... > >I really had forgot to include de lib directory in the MSVC. After making >what you told me to do, i had not to face this error anymore. However, now, >there is a new error and if it's a file that is missing I couldn't figure >out which. > >GL.GL__init___.obj : error LNK2001: unresolved external symbol >initGL__init___ > > This is part of PyOpenGL itself, it's the primary (only) entry point in the OpenGL.GL implementation pyd (GL__init___.pyd). Not sure how it could be left out of the library, as it definitely shows up in the 2.0.1.04 build on my system. Might be that you've possibly got an old version compiled with something wonky that renamed the initGL__init__ method with different decoration. Other possibility is that *I've* got something wonky providing it, but I don't think so, as I regularly blow away my build directory to force a clean rebuild. You might try a setup.py build_ext --clean before doing another setup.py build_ext (or just kill the build directory and re-try). BTW, you are using at least SP3 of Visual Studio? Not sure if it matters, but I'd recommend SP5 unless you have some reason not to update your Visual Studio. Can't think of anything else at the moment (I'm working on day-job stuff today, so no time to play), so if anyone else on PyOpenGL users has a suggestion, pipe up :) . Good luck again, Mike _______________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ |