Jump to content
  • Advertisement
Sign in to follow this  
km123

linking problem

This topic is 4454 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I created a project added some source cpp files and include header files. In the project properties I added the libs to be linked. gave the path where the dll and libs are present. I am using 1 header file whose corresponding lib file and dll i have. It is compiling fine but while linking it is giveing the error error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall CFTPget::CFTPget(void)" (__imp_??0CFTPget@@QAE@XZ) referenced in function "public: __thiscall ftpget_resume::ftpget_resume(void)" (??0ftpget_resume@@QAE@XZ) the class's header file i added and the corresponding lib path i gave in project properties and also in the external libraries i had added this lib. i dont know what is the problem plz help

Share this post


Link to post
Share on other sites
Advertisement
I think it is finding the .h file, but it cannot find the library.

IMHO Vs does a really bad job of helping you include these .dlls. If you trying placing the .dll (or lib) right in your debug folder and see if it works.

J

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!