[PyOpenGL-Users] [ pyopengl-Support Requests-484774 ] cygwin build problems
Brought to you by:
mcfletch
From: <no...@so...> - 2001-11-23 08:29:04
|
Support Requests item #484774, was opened at 2001-11-23 00:26 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 Category: build Group: v2.0 Status: Open Priority: 5 Submitted By: John A. Turner (turner) Assigned to: Tarn Weisner Burton (twburton) Summary: cygwin build problems Initial Comment: thought I'd try PyOpenGL2 on win2k/cygwin using cygwin 1.3.5 and the cygwin port of python 2.1.1 and a fresh CVS checkout of PyOpenGL2 first copied config/win32.cfg to config/cygwin.cfg, since OpenGL progs compiled with cygwin's gcc use the normal win32 libs (opengl32, glu32, etc.) here's what the first bit of setup reports: PyOpenGL 2.0.1.45.a1 setup System configuration: Platform = cygwin GL Platform = WGL Numeric = 20.2.2 Build Togl = yes 1. first prob was that I didn't have SWIG, so I got: swig -version unable to execute swig: No such file or directory swig1.3 -version unable to execute swig1.3: No such file or directory warning: build_w: Can't find SWIG, will just have to do with the existing wrapper source. which would likely be ok except that soon after: cc -I/usr/include/python2.1/Numeric -c _configtest.c - o _configtest.o unable to execute cc: No such file or directory I didn't know how to force setup to use gcc rather than cc, so I took the easy way out and copied /usr/bin/gcc.exe to /usr/bin/cc.exe that at least allowed things to progress... 2. next, saw lots of warnings about missing __init.py__ files, most in the Demo subdir 3. finally, failed with: running build_clib building 'interface_util' library creating build/temp.cygwin-1.3.5-i686-2.1 gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/interface_util.c -o build/temp.cygwin-1.3.5-i686-2.1/interface_util.o src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsFloatArray': src/interface_util/interface_util.c:698: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsDoubleArray': src/interface_util/interface_util.c:701: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsCharArray': src/interface_util/interface_util.c:704: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedCharArray': src/interface_util/interface_util.c:707: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsShortArray': src/interface_util/interface_util.c:710: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedShortArray': src/interface_util/interface_util.c:713: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsIntArray': src/interface_util/interface_util.c:716: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedIntArray': src/interface_util/interface_util.c:719: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: At top level: src/interface_util/interface_util.c:780: warning: function declaration isn't a prototype gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/platform.c -o build/temp.cygwin- 1.3.5-i686-2.1/platform.o src/interface_util/platform.c:4: warning: function declaration isn't a prototype src/interface_util/platform.c: In function `GetPlatformExtensionsString': src/interface_util/platform.c:7: warning: function declaration isn't a prototype ar -cr build/temp.cygwin-1.3.5-i686- 2.1/libinterface_util.a build/temp.cygwin-1.3.5-i686- 2.1/interface_util.o build/temp.cygwin-1.3.5-i686- 2.1/platform.o running build_ext building 'GL.ARB.matrix_palette' extension error: file 'src/interface/GL.ARB.matrix_palette.c' does not exist any suggestions? thanks in advance... -JT ---------------------------------------------------------------------- >Comment By: John A. Turner (turner) Date: 2001-11-23 00:29 Message: Logged In: YES user_id=20477 ugh - sorry about the formatting of the report - hope it is understandable - if not let me know and I'll upload files with the requisite info... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 |