Closed AprilArcus closed 10 years ago
No clue why this problem arises, since this doesn't happen when building VPython for Python 2.7 from python.org.
What version of OS X are you building under? Apparently the typedef of GLhandleARB was changed from (unsigned int) to (void*) in 10.7. c.f. http://meandmark.com/blog/2011/11/sdl-opengl-typedef-redefinition-error-on-mac-os-x-10-7/
Who is the author of shader_program.cpp? Can we cc them?
Thanks much for the detailed information. I'm not sure what OSX version Steve Spicklemire used to build the VPython installers available at vpython.org, but those installers work with Python from python.org for all versions of OSX starting with 10.6.
shader_program.cpp was written by David Scherer, the originator of VPython. He is no longer involved.
Hi Bruce,
The version that on sourceforge was built on OSX 10.8. I've not tried building from source on 10.9, but I'll try soon.
-steve
On Apr 8, 2014, at 10:03 PM, BruceSherwood notifications@github.com wrote:
Thanks much for the detailed information. I'm not sure what OSX version Steve Spicklemire used to build the VPython installers available at vpython.org, but those installers work with Python from python.org for all versions of OSX starting with 10.6.
shader_program.cpp was written by David Scherer, the originator of VPython. He is no longer involved.
— Reply to this email directly or view it on GitHub.
I've added an #ifdef for Mac OS >= 10.7 to glext.h, changed a couple (int)s to (GLhandleARB)s in shader_program.hpp and spammed shader_program.cpp with typecasts until it compiled. Try my pull request and let me know if anything's on fire!
With Mac OS X 10.9.2, boost 1.55.0, brew install'ed python 2.7.6, gfortran, wxpython, pip install'ed numpy, scipy, ttfquery, fonttools, and https://bitbucket.org/jraedler/polygon2/downloads/Polygon2-2.0.6.zip
Followed build instructions according to vpython-wx/MAC-OSX.txt using
to build boost against homebrew's python. Upon
I received this compiler error:
if I comment out the offending typedef in glext.h, I receive these errors instead: