Tuesday, 7 July 2009

LNK2019: unresolved external symbol

Visual studio does not know against which library it should link.

you need to include the library under

Project >> Properties >> Configuration Properties >> Linker >> Input >> Additional Dependencies

You need to include the library path under

Project >> Properties >> Configuration Properties >> Linker >> General >> Additional Library Directories

- Mihir Patel

5 comments:

  1. Thanks, this helped resolve my issue. I didn't really know how to add "references" in VC++.

    ReplyDelete
  2. Thanks, this was very helpful.

    ReplyDelete
  3. Thanks!!! This really helped. I couldn't find one useful link until I read your post.

    ReplyDelete
  4. This is incredibly helpful. You are the man.

    ReplyDelete
  5. Very helpful indeed. I knew that the settings were buried in there somewhere, but having your blog post saved me a lot of time. Thanks, Mike.

    ReplyDelete