Re: [PyOpenGL-Users] gluNurbsCurve error 100253
Brought to you by:
mcfletch
From: John A. T. <tu...@la...> - 2003-04-21 23:52:40
|
Mike C. Fletcher wrote: > I'd be very interested in knowing how the build failed for you. VC6 one > of the major build targets, so a failure there is a pretty significant > event. Are you following the 2.0.1 build instructions on the web-site? > These mostly consist of installing the dependencies (esp. the right > version of SWIG) and then running "setup.py install". ok, I spent some more time with this, but seem to be stuck here's what I've done so far... o my Python 2.2.2 is in C:\Programs\Python22 o unzip the PyOpenGL 2.0.1.03a dist in the above dir o download swigwin 1.3.13 from: http://sourceforge.net/project/showfiles.php?group_id=1645&release_id=50594 > unzip into C:\Programs\Python22 > copy swig.exe into C:\Programs\Python22 so it'll be in my PATH o place OpenGL headers appropriately > create C:\Programs\Python22\PyOpenGL-2.0.1.03\include > copy GL.h, GLAUX.h, GLU.h, glut.h from C:\"Program Files"\"Microsoft Visual Studio"\VC98\Include\GL into C:\Programs\Python22\PyOpenGL-2.0.1.03\include > look around for glsmap.h - Google to the rescue - found it here: http://web.mit.edu/afs/athena/course/6/6.837/include/GL/glsmap.h copy it into C:\Programs\Python22\PyOpenGL-2.0.1.03\include as well o in C:\Programs\Python22\PyOpenGL-2.0.1.03 do: python setup.py install after a while, build fails with: building "Togl" C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe /c /nologo /Ox /MD /W3 /GX -I..\include -IC:\Programs\Python22\include\numarray -IC:\Programs\Python22\include\Numeric -IC:\Programs\Python22\include -Isrc\Togl-1.6 -IC:\Programs\Python22\tcl\tk8.3\..\..\include -I..\include -IC:\Programs\Python22\include\numarray -IC:\Programs\Python22\include\Numeric -IC:\Programs\Python22\include /Tcsrc\Togl-1.6\togl.c /Fobuild\temp.win32-2.2\Release\togl.obj -DWIN32=1 togl.c src\Togl-1.6\togl.c(55) : fatal error C1083: Cannot open include file: 'tcl.h': No such file or directory error: command '"C:\Program Files\Microsoft Visual Studio\VC98\BIN\cl.exe"' failed with exit status 2 so, a problem with finding the right Tcl, apparently - but the Installing (and Building) page seems to indicate that for 2.2.x I shouldn't need to do anything special - I looked around a bit and can't find tcl.h anywhere in the Python22 tree, though - do I need to install Tcl/Tk separately? thx, -John Turner |