VS2012 - LNK2019 Unresolved Error

1>------ Build started: Project: VisualFatigueDetectionSystem, Configuration: Debug Win32 ------

1>FaceTracking.obj : error LNK2019: unresolved external symbol __imp__FTCreateFaceTracker@4 referenced in function "public: int __thiscall CFaceTracking::KinectFTInitialize(void)" (?KinectFTInitialize@CFaceTracking@@QAEHXZ)

1>FaceTracking.obj : error LNK2019: unresolved external symbol __imp__FTCreateImage@0 referenced in function "public: int __thiscall CFaceTracking::KinectFTInitialize(void)" (?KinectFTInitialize@CFaceTracking@@QAEHXZ)

1>C:\Users\LenovoF78Y\Documents\Visual Studio 2012\Projects\VisualFatigueDetectionSystem-master\Debug\VisualFatigueDetectionSystem.lib : fatal error LNK1120: 2 unresolved externals

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Anyone familiar with this error? What solution can be done to resolve? Please guide. Im very new to c++.
Last edited on
999 times out of 1000, "unresolve external symbol" means you are trying to call a function that has no body.

In your case, it looks like you are trying to call FTCreateImage and FTCreateFaceTracker.

If those are functions you wrote, then you forgot to give them a body (ie: you only gave them prototypes, but you never defined them)

If those are functions from a library you're using, then you forgot to link to the necessary lib file.
Topic archived. No new replies allowed.