[MacPorts] #43802: Pymol stopped working

MacPorts noreply at macports.org
Sat May 24 14:52:30 PDT 2014


#43802: Pymol stopped working
-------------------------------+-----------------------
  Reporter:  matteo.tiberti@…  |      Owner:  howarth@…
      Type:  defect            |     Status:  new
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.2.1
Resolution:                    |   Keywords:
      Port:  pymol             |
-------------------------------+-----------------------

Comment (by jeremyhu@…):

 Try running this and tell me what it prints:

 {{{
 $ clang testgl.c -framework OpenGL -o testgl && ./testgl
 }}}

 Where testgl.c is:

 {{{
 #include <stdio.h>
 #include <OpenGL/OpenGL.h>

 #ifndef kCGLPFAOpenGLProfile
 #define kCGLPFAOpenGLProfile 99
 #endif

 #ifndef kCGLOGLPVersion_3_2_Core
 #define kCGLOGLPVersion_3_2_Core 0x3200
 #endif

 int main() {
     CGLPixelFormatAttribute attr[3];
     CGLPixelFormatObj pfobj;
     GLint vsref = 0;
     CGLError error = 0;

     /* Request an OpenGL 3.2 profile if one is available and supported */
     attr[0] = kCGLPFAOpenGLProfile;
     attr[1] = kCGLOGLPVersion_3_2_Core;
     attr[2] = 0;

     error = CGLChoosePixelFormat(attr, &pfobj, &vsref);
     CGLDestroyPixelFormat(pfobj);

     printf("%ld: %s\n", (long)error, CGLErrorString(error));

     return 0;
 }
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43802#comment:21>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list