November 27, 2003
Hello together !

I'm trying now for several hours to get openGL working with the mars C-Compiler. The first problem is to find the right libary, the right include-files etc... Is there perhaps any tutorial/description, where to find it ?

tx@all - i'm going mad :-(,
pheidrias


December 02, 2003
In article <bq555h$15ee$1@digitaldaemon.com>, pheidrias says...
>
>Hello together !
>

Hi!

>I'm trying now for several hours to get openGL working with the mars C-Compiler. The first problem is to find the right libary, the right include-files etc... Is there perhaps any tutorial/description, where to find it ?
>

Well, it should be a simple matter of putting in your source code:

#include <GL/gl.h>

and linking with opengl32.lib (assuming you're developing under Win32).  This will get you access to the basic OpenGL API.  There are several useful utility libraries (among them GLU, GLUT) which provide some "higher level" functionality and are built on top of OpenGL.

I would start by looking at http://www.opengl.org and in particular check out the Nate Robbins page at http://www.xmission.com/~nate/opengl.html .

Good luck!

>tx@all - i'm going mad :-(,
>pheidrias
>
>