Compiling error
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
#define CDS_FULLSCREEN 4
that should fix the problem
October 27, 2001 09:26 AM
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement