visual studio 2008 linker error

Posted by ravi on Stack Overflow See other posts from Stack Overflow or by ravi
Published on 2009-07-28T09:03:20Z Indexed on 2010/04/12 4:03 UTC
Read the original article Hit count: 272

Filed under:

In visual studio 2008, I have created a static dll called test_static.dll. I am trying to call this from one application. I have included this dll in source files folder and the header file related to it in headers folder. When i am running the application I am getting following liking error. Please give me a solution.

error LNK2019: unresolved external symbol "struct morph_output * __cdecl morpho_data(struct morph_input *)" (?morpho_data@@YAPAUmorph_output@@PAUmorph_input@@@Z) referenced in function _wmain 1>D:\test_app\Debug\test_app.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://d:\test_app\test_app\Debug\BuildLog.htm"

Here test_app is application that is using static dll. and morpho_data is the dll function which is taking input as structure and returning another structure.

© Stack Overflow or respective owner

Related posts about visual-studio