Loading libs in VS.NET
In the early NeHe OpenGL tutorials, we learn how to set up the libraries for use in projects, which, in Visual Studio 6 is handy enough. Anyone know how to do this in Visual Studio.NET? I''ve yet to find anything much like the way in VS6 in the .NET IDE.
Much Appreciated.
September 25, 2002 10:05 AM
The probably best way to do it is to write this line:
#pragma comment(lib, "lib_you_want_added.lib"
right above your #include''s (although it can be places almost anywhere I believe)
but, if you rather want to do it the other way here is how to:
in your solution tree, right click your project name -> Properties -> Linker -> Input -> Additional Dependencies and just write ''em in.
#pragma comment(lib, "lib_you_want_added.lib"

right above your #include''s (although it can be places almost anywhere I believe)
but, if you rather want to do it the other way here is how to:
in your solution tree, right click your project name -> Properties -> Linker -> Input -> Additional Dependencies and just write ''em in.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement