Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


LNK2001 errors linking a lib inside a DLL

This topic is 5559 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

In a DLL, I am linking my maths library but I get errors during link time. I get an LNK2001 error on all the functions I call that are writen in the cpp files of the library. Here is one function: pro.buildPerspectiveFovRH This function takes 4 floats yet in the LNK error it is shown as buildPerspectiveFovRH(double,double,double,double). I have no problems with functions written inside the header files though.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!