4 Replies
any1 knows why these are undefined even though im including the lib in my header file?
you trying to link against the OpenGL library won't make the declarations appear in the C source code. If you are coding OpenGL in Windows, you need to also include the header files that have all the declarations of the functions, structs and other things of the OpenGL. You can read more about it here: https://stackoverflow.com/questions/3933027/how-to-get-the-gl-library-headers
Stack Overflow
How to get the GL library/headers?
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
This is an example, but where to get GL headers?
❤️