Click to See Complete Forum and Search --> : OpenGL


mark0110
05-14-2004, 07:57 AM
Hi,

I know this isn't strictly web-development related but...

I have written some OpenGL .c files and they compile and
run fine with no problems on a linux machine but i want to
compile and run the source on windows.

I need the windows header files / OpenGL files and a decent
compiler, I was using borland but i can't get past an infinite
amount of errors with it,

Can someone please direct me in the way of all the OpenGL /
header files i would need and a windows compiler they get
on with?

Cheers,

Mark.

TheBearMay
05-14-2004, 08:02 AM
Pages and pages at Google (http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=OpenGL+Compiler+windows&btnG=Search)

mark0110
05-14-2004, 08:28 AM
ok,

appreciated and done, got all files and sorted out borland,
so i know i've got the right setup but my compile still gives
the infinate errors, if you take a look at the bmp screenshot!!

basic jist is:

Error 2141 GL/gl.h 1135: Declaration syntax error
...
...
...

The lines in gl.h start at:
WINGDIAPI void APIENTRY glAccum (GLenum op, GLfloat value);

Anyone seen this before and knows what its problem is?

Mark.