Thread: [PyOpenGL-Users] build problem re: StdCmap.h
Brought to you by:
mcfletch
From: William T. <wdt...@ya...> - 2003-02-18 22:32:13
|
I've just downloaded PyOpenGL and have run into a build problem. I thought I had all the prerequisites but it appears I'm missing a component. Here's the error message: ~/PyOpenGL-2.0.1.03# python setup.py install <snip> building "Togl" gcc -DNDEBUG -Os -mcpu=i386 -fno-strength-reduce -fPIC -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.2 -Isrc/Togl-1.6 -I/usr/lib/tk8.3/../../include -I/usr/include/tk8.3 -I/usr/include -I/usr/include/tcl8.3 -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.2 -c src/Togl-1.6/togl.c -o build/temp.linux-i686-2.2/togl.o -Os -mcpu=i386 -fno-strength-reduce src/Togl-1.6/togl.c:34: X11/Xmu/StdCmap.h: No such file or directory error: command 'gcc' failed with exit status 1 ~/PyOpenGL-2.0.1.03# locate StdCmap /usr/X11R6/include/X11/XFT/StdCmap.h As you can see, I have a StdCmap.h on my system but not in the location expected by PyOpenGL. What have I got wrong? Any pointers are greatly appreciated. Thanks, Bill |
From: Mike C. F. <mcf...@ro...> - 2003-02-18 23:45:42
|
Urgh, so much for my dreams of switching to TOGL 1.6 having 0 impact :) . I'm not sure why it would be asking for it from a different directory, though I suppose it might be something to do with an older or more exotic OS than the TOGL developers are using (the entire TOGL tree is just a copy of the TOGL project's CVS). It's really only been tested by Thomas (on whatever OS he uses) and myself (on Win32). If you can get back to us with your OS version it would be helpful. We'll likely both file bugs/patches with TOGL and fix the problem in our copy w/out waiting for them when we find a solution. You might try editing setup/togl_setup.py to use the older TOGL 1.5, which is what was used for all previous versions of PyOpenGL. Just a matter of commenting out one line and uncommenting the other. Good luck, Mike William Trenker wrote: >I've just downloaded PyOpenGL and have run into a build problem. I thought I had all the prerequisites but it appears I'm missing a component. Here's the error message: > >~/PyOpenGL-2.0.1.03# python setup.py install ><snip> >building "Togl" >gcc -DNDEBUG -Os -mcpu=i386 -fno-strength-reduce -fPIC -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.2 -Isrc/Togl-1.6 -I/usr/lib/tk8.3/../../include -I/usr/include/tk8.3 -I/usr/include -I/usr/include/tcl8.3 -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/X11R6/include -I/usr/include/python2.2 -c src/Togl-1.6/togl.c -o build/temp.linux-i686-2.2/togl.o -Os -mcpu=i386 -fno-strength-reduce >src/Togl-1.6/togl.c:34: X11/Xmu/StdCmap.h: No such file or directory >error: command 'gcc' failed with exit status 1 > >~/PyOpenGL-2.0.1.03# locate StdCmap >/usr/X11R6/include/X11/XFT/StdCmap.h > >As you can see, I have a StdCmap.h on my system but not in the location expected by PyOpenGL. What have I got wrong? > >Any pointers are greatly appreciated. > >Thanks, >Bill > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >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/ |
From: Thomas W. <th...@xs...> - 2003-02-19 00:11:25
|
On Tue, Feb 18, 2003 at 06:45:18PM -0500, Mike C. Fletcher wrote: > Urgh, so much for my dreams of switching to TOGL 1.6 having 0 impact :) > . I'm not sure why it would be asking for it from a different > directory, though I suppose it might be something to do with an older or > more exotic OS than the TOGL developers are using (the entire TOGL tree > is just a copy of the TOGL project's CVS). It's really only been tested > by Thomas (on whatever OS he uses) and myself (on Win32). Linux, Debian to be exact, with Tk versions 8.2, 8.3 and 8.4. I only have StdCmap.h in X11/Xmu/, and I don't have a X11/XFT/ directory at all. Before we start thinking Togl 1.6 is the problem, did Togl 1.5 build properly for you, William ? My StdCmap.h came with the 'xlibs-dev' debian-package, by the way, which is really just XFree86 4.2.1. An older PC of mine with XFree86 4.1.0 also has it there. > >src/Togl-1.6/togl.c:34: X11/Xmu/StdCmap.h: No such file or directory > >error: command 'gcc' failed with exit status 1 > >~/PyOpenGL-2.0.1.03# locate StdCmap > >/usr/X11R6/include/X11/XFT/StdCmap.h -- Thomas Wouters <th...@xs...> Hi! I'm a .signature virus! copy me into your .signature file to help me spread! |