[C++-sig] Boost.Python + OpenGL segmentation faults
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Fri Nov 20 02:02:37 CET 2009
Just a remark:
We are heavily using Boost.Python extensions together with OpenGL, and have so for years.
It works for us without problems under Windows, Mac OS X, Linux.
We are not using PyOpenGL, though, but have our own Boost.Python-based wrappers for the
entire OpenGL library (http://cci.lbl.gov/gltbx/).
Back in 2005/2006 all that worked even with PyOpenGL imported under Windows.
I'd try running with valgrind to debug.
----- Original Message ----
From: Dimitri Tcaciuc <dtcaciuc at gmail.com>
To: cplusplus-sig at python.org
Sent: Thu, November 19, 2009 1:54:51 PM
Subject: [C++-sig] Boost.Python + OpenGL segmentation faults
I've recently posted a problem to SO
where I haven't had much luck with answer.
My problem is that if I import OpenGL python libraries before
importing my B.P bindings, I get strange segmentation faults for no
apparent reason. I isolated a small test case which I'm attaching
below. The current boost library version I'm using is 1.37; you'll
have to make a change to Makefile if you have any other version
I'd greatly appreciate if anyone can give some insight on what's happening.
More information about the Cplusplus-sig