Hi, i am new in opengl programming. i give all reference libraries and link the libraries with my program correctly, but when i run the program it gives me this error (error LNK1104: cannot open file ‘freeglutd.lib’ D:\Afsar Khan\beaker1\beaker1\LINK beaker1)
that means it hasn’t found that lib, you may add this in frond of your program,
#pragma comment（lib，":*\freeglut.lib"） where:\is your lib place disc.
Hey man I don’t know if you’re still having this error but I was running into it as well and it pretty much ate up a couple hours. Pretty much the “freeglutd.lib” has to do with debugging, hence the “d” on the end, so what I did was go into the: Properties > C/C++ > Preprocessor > Preprocessor Definitions and type NDEBUG. What this does is in the “freeglut_std.h” there is a ifdef for NDEBUG that if it is defined then use “freeglut.lib” otherwise it’s going to use the “freeglutd.lib”. So by defining it in the Preprocessor Definitions, you are now using the “freeglut.lib”. Hopefully this helps you out!
Thanks alot dear it helps and many thanks. i have paper on june 2nd so i am late but thanks alot it simple alots of thanks for me…