Hi,

I'm new to Soya. I was interested in playing with Python and 3D, and so I found out about Soya. It looks really promising.

Anyway, I'm a Mac OS X (10.4, aka Tiger) user. It took me some time to get Soya up and running on my platform, but it seems to work fine now. Two points though:

(1) I needed to modify one header file so that it pointed to the right OpenGL headers. I've attached a patch that takes care of this. Feel free to use it. It's only a small contribution, but it should make the life of Mac users a bit more easy.

(2) When running Soya on the Mac I found that I also needed to install PyObjc. Without it I got bus errors. I didn't find this dependency in the README. I'm not sure if other Mac users have reported this (I found no mention of it), so I thought I'd just let you know.

Kind regards,

Kris
--- Soya-0.10.1/advanced_opengl.h       2005-08-19 23:05:26.000000000 +0200
+++ Soya-0.10.1-macosx/advanced_opengl.h        2005-09-12 20:12:07.000000000 
+0200
@@ -16,8 +16,13 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#include "GL/gl.h"
-#include "GL/glext.h"
+#if defined(__MACOSX__) || defined(__APPLE__)
+  #include "OpenGL/gl.h"
+  #include "OpenGL/glext.h"
+#else
+  #include "GL/gl.h"
+  #include "GL/glext.h"
+#endif
 
 #ifdef __WIN32__
 

Reply via email to