hand_tracking_samples icon indicating copy to clipboard operation
hand_tracking_samples copied to clipboard

Compiling

Open CsabaM opened this issue 6 years ago • 3 comments

I just downloaded the solution and when I try to compile with VS2017 it gives an error message: Gl/gl.h no such file or directory What am I doing wrong ?

CsabaM avatar Oct 12 '17 23:10 CsabaM

gl.h is the header file for the opengl library - a very common 3d graphics library that has been a standard for many years. Its a bit surprising that it didn't get installed by default along with the rest of visual studio c++. It could be that with visual studio 17 it wasn't installed by default. according to:

  • https://sites.google.com/site/gsucomputergraphics/educational/set-up-opengl

it says:

"When you install Visual Studio 2017, select "Desktop development with C++" under "Workloads" in Visual Studio Installer"

So try going back to the visual studio installer and making sure it puts the desktop development sdks on your system.

melax avatar Oct 13 '17 01:10 melax

Thanks melax! Compiling is done but now I got another issue. I'm using Intel RealSense D435 and D415 cameras. I already installed the SDK 2.0 and the cameras working with IntelRealSense Viewer but when I try to start the realtime-hand-tracker-vs2017_Win32.exe it says: No device found-FAIL.
Are these cameras supported by the App ?

CsabaM avatar Oct 13 '17 11:10 CsabaM

Not currently. the version of librealsense that supports D435 and D415 is different than the version in the third_party subfolder provided with this repo.

due to some minor api changes, the camera wrapper in dcam.h might need some updates to use the 2.0 version of the sdk.

the included CNN was trained on data collected from a sr300, so results on the D400 series cameras may differ.

melax avatar Oct 15 '17 03:10 melax