error LNK2001

Jan Jurinok 0 Reputation points
2023-04-03T21:23:08.9933333+00:00

I'am trying to connect library to my project. It consists of .dll/.lib/.h files, also there were some other dll files but with different names such as SDL2. Firstly Ive made an example like here https://learn.microsoft.com/en-us/cpp/build/walkthrough-creating-and-using-a-dynamic-link-library-cpp?view=msvc-170, and it works, than i do the same thing but with my own files and it gives me errors(attached below). Maybe you know solutions to my problem or have any pieces of advice.User's image

Developer technologies | C++
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 49,641 Reputation points
    2023-04-04T00:13:16.6133333+00:00

    The first thing you should do is read the documentation for the linker tools errors that you have received. You can start by reading Linker Tools Error LNK2001 and determining if any of the possible causes listed in the documentation fit your situation.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.