[Bug] PyCEGUIOpenGLRenderer doesn't import on OSX
Posted: Tue May 24, 2011 21:19
Ok, let's start with the symptom:
Like the title says, PyCEGUIOpenGLRenderer doesn't import on OS X. (I'm using OS X 10.6.7, XCode 4.)
I've tried this on XCode 3 (several versions), and also on OS X 10.5. 10.5 had numerous problems, but I ended up with a PyCEGUIOpenGLRenderer module that had no methods in it, only the module wide variables. (I reported this to Kulik, and he was stumped). I've also tried varying the boost version; I've used boost 1.44.0 and the latest 1.46.1. Same issue regardless.
I've tried debugging this issue through XCode, and it was a giant pain, but I got to the point where I found out an exception is being thrown, and caught by boost::python. The problem is, I can't get the original exception, no matter what tricks I've tried. boost::python throws all of that away if the exception doesn't have a registered handler, and just throws a generic exception.
I've been fighting with this problem for weeks now, and have just hit one brick wall after another. I finally reinstalled my mac last night (new HD, opted not to copy everything over just in case this was related to some of the hacks I'd tried to get it working), and the same issue. Really not sure what to do about it.
Any help would be appreciated; this is the last bug blocking OS X support for my project.
--Morgul
Code: Select all
[morgul:blackbox] ~/Development > python
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyCEGUI
>>> import PyCEGUIOpenGLRenderer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: unidentifiable C++ exception
Like the title says, PyCEGUIOpenGLRenderer doesn't import on OS X. (I'm using OS X 10.6.7, XCode 4.)
I've tried this on XCode 3 (several versions), and also on OS X 10.5. 10.5 had numerous problems, but I ended up with a PyCEGUIOpenGLRenderer module that had no methods in it, only the module wide variables. (I reported this to Kulik, and he was stumped). I've also tried varying the boost version; I've used boost 1.44.0 and the latest 1.46.1. Same issue regardless.
I've tried debugging this issue through XCode, and it was a giant pain, but I got to the point where I found out an exception is being thrown, and caught by boost::python. The problem is, I can't get the original exception, no matter what tricks I've tried. boost::python throws all of that away if the exception doesn't have a registered handler, and just throws a generic exception.
I've been fighting with this problem for weeks now, and have just hit one brick wall after another. I finally reinstalled my mac last night (new HD, opted not to copy everything over just in case this was related to some of the hacks I'd tried to get it working), and the same issue. Really not sure what to do about it.
Any help would be appreciated; this is the last bug blocking OS X support for my project.
--Morgul