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 <dtcac...@gmail.com>
To: cplusplus-sig@python.org
Sent: Thu, November 19, 2009 1:54:51 PM
Subject: [C++-sig] Boost.Python + OpenGL segmentation faults

Hello everyone,

I've recently posted a problem to SO
(http://stackoverflow.com/questions/1751408/boost-python-opengl-segmentation-faults),
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
installed.

I'd greatly appreciate if anyone can give some insight on what's happening.


Dimitri.

_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig

Reply via email to