joshuajnoble / ofxKinectCommonBridge

A wrapper for the simple Kinect for Windows library developed at Microsoft in partnership with myself & James George
Other
89 stars 36 forks source link

missing FaceTrackLib.dll #37

Open nosarious opened 9 years ago

nosarious commented 9 years ago

After installing everything as per your documentation, and finagling a LOT with visceral studio, I found the program refused to start because FaceTrackLib.dll is missing.

On this page: https://github.com/MSOpenTech/KinectCommonBridge I found an answer, and thought you might want to include it in your documentation.

I "think" am building from the microsoft kinectCommonBridge files, but they 'should' be identical to yours, shouldn't they? Or do they have added 'fluff'?

(from that linked page)

To enable face tracking and voice recognition in your own project, you will need to add the following preprocessor defines to your project's C++ preprocessor properties:

KCB_ENABLE_FT KCB_ENABLE_SPEECH If you enable face tracking with the KCB_ENABLE_FT preprocessor define, you will need to include the following dll's with your application:

FaceTrackData.dll FaceTrackLib.dll These DLLs are part of the Kinect for Windows Developer Toolkit and are located in C:\Program Files\Microsoft SDKs\Kinect\Developer Toolkit v1.8.0\Redist. You will need to copy the correct versions of the DLLs depending on if you are doing a Win32 or x64 build. The Win32 DLLs are in the Redist\x86 folder and the x64 DLLs are in the Redist\amd64 folder. You can use the following post build event commands to copy the DLLs to your project's output directory:

Win32 Post Build Event

xcopy "$(FTSDK_DIR)Redist\x86\FaceTrackLib.dll" "$(OutDir)" /eiycq xcopy "$(FTSDK_DIR)Redist\x86\FaceTrackData.dll" "$(OutDir)" /eiycq

joshuajnoble commented 9 years ago

I was really hesitant to include the Face Tracking library files because (at that time at least) they would only run on paid versions of Visual Studio. I will add this documentation though, thanks for the tip.