I have had a hard time setting up OpenGL to work with Visual Studio 2010,but no luck so far.I included glut.h,gl.h.I have linked the requisite .lib files in the Project Properties,but still I get this error

error LNK2019: unresolved external symbol _glutMainLoop referenced in function _main

ind six more like it.Can anyone please explain the library linking part of the procedure.I searched over the Internet but came up with nothing.Still get those LNK2019 errors.


Actually,I followed those instructions. But I had committed 1 error. I started off as an empty project. It should have been a console application.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.