Advertisement

Compiling error

Started by October 27, 2001 09:09 AM
2 comments, last by Psycho1 23 years, 4 months ago
I use Dev-C++ for compiling, and i got an error from compiling the lesson 1 source code. it says: c:\opengl\lesson1.cpp:154: `CDS_FULLSCREEN'' undeclared (first use this function) c:\opengl\lesson1.cpp:154: (Each undeclared identifier is reported only once c:\opengl\lesson1.cpp:154: for each function it appears in.) Thats the exact code from the tutorial. i downloaded it first to test x_X; I have the compiler options and the libs loaded in the project as well...
Just put this up the top by your header files

#define CDS_FULLSCREEN 4

that should fix the problem
Advertisement
fixed it...
but, as always, something has to go wrong for me:

g++: -lopengl32: linker input file unused since linking not done
g++: -lglaux: linker input file unused since linking not done
g++: -lglu32: linker input file unused since linking not done
g++: -lopengl32: linker input file unused since linking not done
g++: -lglaux: linker input file unused since linking not done
g++: -lglu32: linker input file unused since linking not done

:confused: X_X
oops, sorry, that last post was by me... i forgot the stupid password *enables cookies*

This topic is closed to new replies.

Advertisement