-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opengl rendering on osx #226
Comments
OSX is really unpleasant to deal with, GL should be the last of our worries. Not going to bother. |
2013-07-07 14:15:56: antoine commented
|
2013-07-07 15:04:32: antoine commented
|
2013-07-07 15:05:25: antoine uploaded file
|
2013-07-07 15:05:39: antoine uploaded file
|
2013-07-07 15:05:52: antoine uploaded file
|
2013-07-08 07:20:11: antoine uploaded file
|
2013-07-08 15:03:16: antoine changed status from closed to reopened |
2013-07-08 15:03:16: antoine changed resolution from wontfix to ** |
2013-07-08 15:04:23: antoine changed status from reopened to new |
2013-07-08 15:04:23: antoine changed owner from antoine to smo |
2013-07-08 15:04:23: antoine commented
|
2013-07-11 02:33:56: antoine commented
|
2013-07-11 06:53:21: antoine commented
|
2013-07-12 04:01:23: afarr uploaded file
|
2013-07-12 04:02:28: afarr commented
|
2013-07-12 04:09:18: antoine changed owner from smo to afarr |
2013-07-12 04:09:18: antoine commented
|
2013-07-12 23:01:42: afarr commented
|
2013-07-13 03:47:58: antoine commented
|
2013-07-15 22:53:05: afarr commented
|
2013-07-16 03:09:02: antoine commented
|
2013-07-16 15:36:06: antoine changed status from new to closed |
2013-07-16 15:36:06: antoine changed resolution from ** to fixed |
2013-07-16 15:36:06: antoine commented
|
2013-10-23 08:02:41: totaam commented
|
2014-07-24 09:19:20: totaam uploaded file
|
2014-07-24 09:36:32: totaam uploaded file
|
2014-07-24 14:04:38: totaam uploaded file
|
2014-07-25 05:26:30: totaam uploaded file
|
2014-07-25 05:27:05: totaam uploaded file
|
split from #147
I thought that buiding (py)gtkgl on osx would be a good stepping stone for eventually getting it to work/build on win32...
All these instructions are from within a gtk-osx jhbuild shell (tested with xcode 3.2 on osx 10.5):
gtkglext
quartz
gdk backend, but only after defining the magic compiler variables that prevent libtool from barfing at us with:Some good info on libtool issues can be found here.
[[BR]]
So then end up with:
(may sound simple but this was anything but)
[[BR]]
pygtkglext
The real problems start with
pygtkglext
.There are two ways of building it: distutils and autotools based, none of which work.
Again, we use the more up to date version from git (not that the 1.1 makes any difference..):
-pygtkglext distutils*
python ./setup.py install --prefix=$JHBUILD_PREFIX
fails with:we remove the broken pkgconfig check by commenting out the two lines:
(you should really check that you do have pygtk-2.0 correctly installed at this point and that you have the pkgconfig file it would normally check against, ie:
$JHBUILD_PREFIX/lib/pkgconfig/pygtk-2.0.pc
)Which means that it doesn't find
codegen
... (really not obvious). So we tell it where to find it:And those values only get mentioned in the
gdkglversion
section ofgtkglext/docs/reference/gtkglext/gtkglext-sections.txt
, and ingtkglext/gdk/gdkglversion.c
we can find functions that look like they would almost match:gdk_gl_get_major_version
,gdk_gl_get_minor_version
andgdk_gl_get_micro_version
.So we replace the code in
gtk/gdkgl/gdkglmodule.c
like so:Which can be fixed by adding
/usr/X11/include
to the include path insetup.py
:I give up...
-pygtkglext autotools*
It's a mess - don't go there.
Missing macros, out of date docs, etc.
The text was updated successfully, but these errors were encountered: