newb question:
-
how do you add libs to a project in msvc? do you add the file itself to the project or include the name of said lib in the list of included libs in the project settings.
-
how do you add libs to a project in msvc? do you add the file itself to the project or include the name of said lib in the list of included libs in the project settings.
You can do it either way, but I prefer to do it in the project settings.
Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life! -
how do you add libs to a project in msvc? do you add the file itself to the project or include the name of said lib in the list of included libs in the project settings.
Sometimes (always) I'm lazy... so I add libs via include file, here an snip from my OpenGL project:
#pragma comment(lib, "OpenGL32.lib") //link with OpenGL32 Library (VC6 Sytnax) #pragma comment(lib, "Glu32.lib") //link with Glu32 Library
Hoep it helps, Moak