visual studio 2008 linker error
- by ravi
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
1D:\test_app\Debug\test_app.exe :
fatal error LNK1120: 1 unresolved
externals 1Build 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.