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.

http://s16.postimg.org/564oangl0/error.jpg

Did you add glut32.lib to the list of libraries?

If it is not installed, follow these instructions.

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.