• Advertisement

Archived

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

LNK2001 errors linking a lib inside a DLL

This topic is 5435 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
And is it a better idea to use the math library as a DLL?
Thanks.

Share this post


Link to post
Share on other sites

  • Advertisement