How to Link OpenGL and GLUT libraries


I am new to OpenGL and GLUT. However, I have received an application which uses OpenGL and GLUT routines which I need to compile and link with anther application which is written in Fortran. I am using the latest ABSoft IDE which is compatible with OS X (10.2) How do I link these libraries? Where are they located? Should I use the Project Editor or stay with the ABSoft IDE. Any help would be greatly appreciated.

Thank you,

Anthony V McCormick

You need to link in the OpenGL, GLUT and Cocoa frameworks. They’re located in /System/Library/Frameworks if you need to find them.

If you were using Project Builder, you could choose “Add Frameworks…” from the “Project” menu to achieve this.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.