I want to use cmake to create a nuitrack_gl_sample.
But i get some build error, and the error code is ‘LNK1104’.
The sense what i’m using is Intel-D435.
Could somebody tell me how to resolve this problem?
Hi Wen,
To run nuitrack_gl_sample
, you have to download glut.zip
:
And follow the steps below:
- Install header files:
- copy
\Include\gl
folder to"C:\Program Files (x86)\Windows Kits\10\Include\10.0.16299.0\um"
(note that 10.0.16299.0 is Windows 10 SDK version, it can differ for your system)
- Install export libraries:
- copy
\Lib\x86\glut32.lib
to"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x86"
- copy
Lib\x64\glut32.lib
to"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x64"
- Install dynamic libraries:
- copy
\bin\x86\glut32.dll
toC:\Windows\System32
- copy
\bin\x64\glut32.dll
toC:\Windows\SysWOW64
Hello,thank you for your reply, but i get the same problem when i do with your step.
Could you give me the other solution about my problem?
Did you manage to resolve the issue with glut32
? It seems from the last message that there are no build errors anymore.
Please go to Project tree, right-click nuitrack_gl_sample
and select “Set as a startup project”. Then build and run the project.
thanks, olga
I successed set nuitrack_gl_sample on visual studio.