Am using OpenGL with Win 7, getting several link errors when trying to re-link my program in the work space. I think it is because I do not have the correct parameters set for the linker in the “settings” field under “project” in Visual Studio. I have the statements opengl32.lib and glu32.lib. However, I believe that there are other libraries that have to be specified and that’s why I am getting unresolved references for ShowCursor, SetFocus and others, getting a total of 26 unresolved calls. Can anybody help here? Sid Kraft
Those are in user32.dll, which should be added automatically to any project for a GUI application. If they aren’t in your project settings, I suspect that you selected a console application.
You can usually determine the required library by entering the function name into a search engine. For libraries which are part of Windows, the MSDN documentation will state the library.