[C++-sig] Boost.Python + OpenGL segmentation faults
Dimitri Tcaciuc
dtcaciuc at gmail.com
Thu Nov 19 22:54:51 CET 2009
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.cpp
Type: application/octet-stream
Size: 1796 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20091119/cab806bc/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glcrash.py
Type: application/octet-stream
Size: 184 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20091119/cab806bc/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 140 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20091119/cab806bc/attachment-0002.obj>
More information about the Cplusplus-sig
mailing list