Thread: [PyOpenGL-Users] python2.3 - win2k - problems compiling
Brought to you by:
mcfletch
From: Marcelo de F. R. <are...@ig...> - 2003-11-08 20:26:01
|
Sorry if you have already answered this to another one, but I couldn't find anything on the list yet. when I'm executing "python setup.py install" in mingw using msvc6, the following error appear: C:\Arquivos de programas\Microsoft Visual Studio\VC98\BIN\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:../lib /LIBPATH:d:\progs\Python\libs /LIBPATH:d:\progs\Python\PCBuild /LIBPATH:build\temp.win32-2.3 opengl32.lib glu32.lib glut32.lib interface_util.lib /EXPORT:initGLUT build\temp.win32-2.3\Release\src/interface/GLUT.obj /OUT:build\lib.win32-2.3\OpenGL\GLUT.pyd /IMPLIB:build\temp.win32-2.3\Release\src/interface\GLUT.lib Creating library build\temp.win32-2.3\Release\src/interface\GLUT.lib and object build\temp.win32-2.3\Release\src/interface\GLUT.exp GLUT.obj : error LNK2001: unresolved external symbol __imp____glutInitWithExit@12 GLUT.obj : error LNK2001: unresolved external symbol __imp____glutCreateMenuWithExit@8 GLUT.obj : error LNK2001: unresolved external symbol __imp____glutCreateWindowWithExit@8 build\lib.win32-2.3\OpenGL\GLUT.pyd : fatal error LNK1120: 3 unresolved externals error: command '"C:\Arquivos de programas\Microsoft Visual Studio\VC98\BIN\link.exe"' failed with exit status 1120 I tried with mingw32, cygwin and none of then works (but the others I couldn't understand the error also). Thanks, Marcelo de Freitas Rigon _________________________________________________________ Voce quer um iGMail protegido contra vírus e spams? Clique aqui: http://www.igmailseguro.ig.com.br Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/ |
From: Mike C. F. <mcf...@ro...> - 2003-11-08 21:14:06
|
Okay, mingw32 and cygwin are both known to fail on building. I haven't got time to track down why. Anyone who wants to build and send in a patch set would be most welcome to try. MSVC 6.0 is my primary development environment, so it's definitely able to build, so let's concentrate on that. First, kill off any "source directory/build" directory so you know you're starting fresh. Then make sure that you have GLUT compiled and the GLUT .h and .lib files in your include and library paths respectively. Then make sure your OpenGL and GLU headers and libs are similarly in the include/library paths. You can find instructions for this here: http://pyopengl.sourceforge.net/documentation/installation.html in the section "Building PyOpenGL". To me, it looks as though you've got the GLUT headers available, but not the GLUT .lib files. Only once you have those dependencies in the right places can PyOpenGL build. Good luck, Mike Marcelo de Freitas Rigon wrote: >Sorry if you have already answered this to another one, but I couldn't find >anything on the list yet. > >when I'm executing "python setup.py install" in mingw using msvc6, the >following error appear: > > ... >GLUT.obj : error LNK2001: unresolved external symbol >__imp____glutInitWithExit@12 > > ... >I tried with mingw32, cygwin and none of then works (but the others I >couldn't understand the error also). > >Thanks, >Marcelo de Freitas Rigon > >_________________________________________________________ >Voce quer um iGMail protegido contra vírus e spams? >Clique aqui: http://www.igmailseguro.ig.com.br >Ofertas imperdíveis! Link: http://www.americanas.com.br/ig/ > > > >------------------------------------------------------- >This SF.Net email sponsored by: ApacheCon 2003, >16-19 November in Las Vegas. Learn firsthand the latest >developments in Apache, PHP, Perl, XML, Java, MySQL, >WebDAV, and more! http://www.apachecon.com/ >_______________________________________________ >PyOpenGL Homepage >http://pyopengl.sourceforge.net >_______________________________________________ >PyOpenGL-Users mailing list >PyO...@li... >https://lists.sourceforge.net/lists/listinfo/pyopengl-users > > > -- _______________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://members.rogers.com/mcfletch/ |