Page 1 of 1

Error LNK2019: unresolved external symbol when compile

Posted: Thu Oct 26, 2017 11:02 pm
by thepbac
Hi everyone.
I want to intergared the NatNetSDK Library into a another software (in plugins type of this software). I decied that the SimpleClient in example SDK's folder is very usefull with me.

When I did as the follow guide to create my plugins, I have check very carefull about how to use the NatNet SDK :
https://wiki.optitrack.com/index.php?ti ... pplication

But when I using VS2010, C++ to compiled the coed, I alway get this error:

Error 13 error LNK2019: unresolved external symbol "public: enum ErrorCode __cdecl NatNetClient::Disconnect(void)" (?Disconnect@NatNetClient@@QEAA?AW4ErrorCode@@XZ) referenced in function "public: enum ErrorCode __cdecl NatNetClient::Uninitialize(void)" (?Uninitialize@NatNetClient@@QEAA?AW4ErrorCode@@XZ) C:\Program Files\vizrt\Viz3\plugin\src\examples\optitrack_plugin\Rectangle.obj

I have searching in google, event read many threads in this forum but cannot solve my problem.
I have attach the images and source code in this thread to help you understand what I meeting.



Pls help me to solve this question.
Thank you so much.