M
Michael Sgier
Hi
I'm trying to display, let's say a demo object of:
http://renegadepixels.in/carmine.html
in my C++/openGL application.
If I include a header in my main.cpp I get errors like:
#error gl.h included before glee.h
#error glext.h included before glee.h
If I omit that of course I get:
.../src/cit_x.cpp:34: error: ‘fScene’ does not name a type
.../src/cit_x.cpp: In function ‘int DrawGLScene(float, float)’:
.../src/cit_x.cpp:374: error: ‘create3DScene’ was not declared in this scope
Actually I integrated this in my main,cpp
extern fScene oScene;
create3DScene();
So how shall I do that?
Many thanks
Michael
I'm trying to display, let's say a demo object of:
http://renegadepixels.in/carmine.html
in my C++/openGL application.
If I include a header in my main.cpp I get errors like:
#error gl.h included before glee.h
#error glext.h included before glee.h
If I omit that of course I get:
.../src/cit_x.cpp:34: error: ‘fScene’ does not name a type
.../src/cit_x.cpp: In function ‘int DrawGLScene(float, float)’:
.../src/cit_x.cpp:374: error: ‘create3DScene’ was not declared in this scope
Actually I integrated this in my main,cpp
extern fScene oScene;
create3DScene();
So how shall I do that?
Many thanks
Michael