Linked libraries

I have Win XP and using Visual C++ 6.0. How can I set either OS environment or VC6 settings so that I don’t have to include opengl32.lib… in Project=>Settings=>Link tab?

Add this line in your code:
#pragma comment(lib, “opengl32”)

#pragma comment(lib, "glew32.lib")
#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")
#pragma comment(lib, "glaux.lib")
...etc

Add these to your code.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.