glut.h header package doesnt work
-
hi guys recently i started to work with open gl in dev c++ 4.9.9.2. I downloaded the glut package and all the dlls and object files. After installing it i tried a sample program. But i got lot of linker errors and it didnt run eventhough my syntax was correct. Anybody please help
-
hi guys recently i started to work with open gl in dev c++ 4.9.9.2. I downloaded the glut package and all the dlls and object files. After installing it i tried a sample program. But i got lot of linker errors and it didnt run eventhough my syntax was correct. Anybody please help
adding only header (*.h) is not enough. You have to also add proper lib or cpp to your program in order to linker could see definitions of functions you are using in your program. To add lib, see the linker options, there has to be some place to include additional libraries.