Gwynnnn
12-06-2006, 05:01 AM
Ok well thanks to everyone for yesterday. We managed to get open gl to work using Borland C++ Developer.
I have moved on to try to get GLUT to work too as I believe that it will be needed.
I have put the code onto www.good-image.co.uk (http://www.good-image.co.uk) but really all I have done is take the working code from yesterday and added include gl/glut.h
The application still compiles ok (as I am not yet using any glut items) but the make fails as below.
I do not even know what it means (yet). Can anyone shed any light onto this and offer some remedy?
Error message:
[C++ Error] glut.h(146): E2337 Only one of a set of overloaded functions can be "C"
This is the area in glut.h that get highlighted on the make.
#if defined(_WIN32)
# ifndef GLUT_BUILDING_LIB
extern _CRTIMP void __cdecl exit(int); <<<<<<<<<<
# endif
I have moved on to try to get GLUT to work too as I believe that it will be needed.
I have put the code onto www.good-image.co.uk (http://www.good-image.co.uk) but really all I have done is take the working code from yesterday and added include gl/glut.h
The application still compiles ok (as I am not yet using any glut items) but the make fails as below.
I do not even know what it means (yet). Can anyone shed any light onto this and offer some remedy?
Error message:
[C++ Error] glut.h(146): E2337 Only one of a set of overloaded functions can be "C"
This is the area in glut.h that get highlighted on the make.
#if defined(_WIN32)
# ifndef GLUT_BUILDING_LIB
extern _CRTIMP void __cdecl exit(int); <<<<<<<<<<
# endif