Add .lib library to Visual C++ project?
-
Hello everyone, I think I am getting kinda slow but I can't figure out how to add my own *.lib library to the project in Visual C++. I have looked through all linker settings and can't find the one where I can specify which library to use. I don't want to compile and link with a makefile because I have already set up all my files in the project. Would be nice if you could help me. Thanks!
-
Hello everyone, I think I am getting kinda slow but I can't figure out how to add my own *.lib library to the project in Visual C++. I have looked through all linker settings and can't find the one where I can specify which library to use. I don't want to compile and link with a makefile because I have already set up all my files in the project. Would be nice if you could help me. Thanks!
In MSVC6 you do the followingL 1. Select "Project->Settings" from the main menu. 2. Make sure the project (parent node) is selected in the tree and not one of the files. 3. Select the "Link" tab. 4. In the "Category" combo select "Input". 5. In the "Additional library path:" edit control add the directory where the library can be found (just the directory, not including the actual library name) if not already present. 6. In the "Object/library modules:" edit add the library to the end of the list. Steve
-
In MSVC6 you do the followingL 1. Select "Project->Settings" from the main menu. 2. Make sure the project (parent node) is selected in the tree and not one of the files. 3. Select the "Link" tab. 4. In the "Category" combo select "Input". 5. In the "Additional library path:" edit control add the directory where the library can be found (just the directory, not including the actual library name) if not already present. 6. In the "Object/library modules:" edit add the library to the end of the list. Steve
Hi Steve, In Visual Studio 2005 it is a bit different, but close enough to your description so I have found it. Definitely, struggling with VC++ at 5:00am was not very productive work. :) Thanks much, man! Nick