quote: May I copy those gl.h file to my include directory instead of gl directory?
You put the gl.h file into the GL directory which is in your include directory. the ''< ... >'' tells the compiler to look in the include directory (as opposed to the directory the source file is in).
My code compiled with C++ Builder. I use exactly same code compiled by C++ Builder. Anybody could give some clue or suggestions. May I use C++ Builder to develop OpenGL? Thanks for any info.
I moved my code from OpenGL2.cpp to stdafx.cpp then I can compile but I got link error as following. It looks VC++ can not find entry point. Here is the link error:
OpenGL2 error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)