I'm trying to use a library in my code. But as I'm new in c++
, I couldn't do that without any errors. First I copied library in my main file and then in my main code I just included .h
files. When I ran it, it gave me some errors like:
error LNK2019: unresolved external symbol "public: __cdecl library"
The library contains .cpp
and .h
files of functions. I'm doing it in Visual Studio 2012. What should I do to use this lib?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.