Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Add .lib library to Visual C++ project?

Add .lib library to Visual C++ project?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nick_Kisialiou
    wrote on last edited by
    #1

    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!

    S 1 Reply Last reply
    0
    • N Nick_Kisialiou

      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!

      S Offline
      S Offline
      Stephen Hewitt
      wrote on last edited by
      #2

      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

      N 1 Reply Last reply
      0
      • S Stephen Hewitt

        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

        N Offline
        N Offline
        Nick_Kisialiou
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups