|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
||||
|
||||
|
Trouble with wxPython
Hi, I have a problem installing wxPython. When I try with: python setup.py build install the following error shows up error: command 'gcc' failed with exit status 1 .....
contrib/glcanvas/gtk/glcanvas.cpp:937: `WX_GL_MIN_ACCUM_RED' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:938: `WX_GL_MIN_ACCUM_GREEN' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:939: `WX_GL_MIN_ACCUM_BLUE' undeclared (first use this function) contrib/glcanvas/gtk/glcanvas.cpp:940: `WX_GL_MIN_ACCUM_ALPHA' undeclared (first use this function) What could be the problem. Thanks a lot. |
|
#2
|
||||
|
||||
|
Just a guess but i'd say that your C/C++ compiler can't compile the wxWindows source because this and that is not defined.. no idea how to fix this though sorry
Mark. |
|
#3
|
||||
|
||||
|
Problem:
http://lists.wxwindows.org/archive/...s/msg03299.html Solution: http://lists.wxwindows.org/archive/...s/msg03304.html Hope this helps ![]()
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#4
|
||||
|
||||
|
Hey. Thanks both. I fixed it with the below line:
python setup.py BUILD_GLCANVAS=0 build install Thanks a lot. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Trouble with wxPython |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|