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.
Error LNK2019: unresolved external symbol when compile
Error LNK2019: unresolved external symbol when compile
- Attachments
-
- use_natnet1.PNG (41.99 KiB) Viewed 2066 times
-
- addtionInclude.PNG (57.72 KiB) Viewed 2066 times
-
- code, error image
- err.PNG (109.03 KiB) Viewed 2066 times