Derek,

    Hello and welcome to the "freeglut" community.

    Your error message is found in "fg_window_x11.c" on line 194.  It happens if a structure named "visualInfo" is null after a call to "glXGetVisualFromFBConfig" or, if the preprocessor symbol "EGL_VERSION_1_0" is defined, after a call to "XGetVisualInfo".  There has been a good bit of work on the code of late and so things are somewhat unstable.

    My first suggestion--and I am not a MacOSX guy--is to try defining "EGL_VERSION_1_0" when compiling the code.  I must admit that this may cause problems of its own, as I see variables being defined in the middle of a function.

    Please let me know what happens.  I'm not sure that we have an active OSX developer on the team, so we're in somewhat uncharted waters here.

        - John Fay

On 5/29/2012 2:16 AM, Derek Ashley Thomas wrote:
Dear all,

My name is Derek. I am intending to use the program program Pymol. I was easily able to get this to work on a
OSX 10.7.3 laptop (core i7). However, when after doing the same series of steps to install everything on
an iMac (core i3), I get the following error when starting up Pymol:

freeglut (pymol):  ERROR:  Internal error <visualInfo could not be retrieved from FBConfig> in function fgOpenWindow

I am unsure if there is a way to build freeglut in such a manner as to avoid this error, but I am new
to freeglut and not sure where to start. Of course, there is also the possibility that the error is the result of something beyond
freeglut, but I do not yet know of a way to determining this. Since the error appears to have been thrown by freeglut, I have come
here. I suspect there may have been some communication problems with X11, but I would like to ask your thoughts since I 
found nothing about this error in a web search. Any ideas or thoughts would be appreciated. 

For further information, I performed a complete installation from source AND installed from MacPorts, but both methods resulted
in the above error when running Pymol. This error only occurs on the core i3 computer iMac. The laptop runs without any problems.

Best Regards,
Derek Thomas
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Freeglut-bugs mailing list Freeglut-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freeglut-bugs