Nuitrack activation exe fails on Windows

Hi,
I’ve just tried activating Nuitrack according to the instructions, but NuiTrack.exe doesn’t run - simply exits without displaying anything.

nuitrack_sample shows

freeglut (nuitrack_sample.exe): fgPlatformInitialize: CreateDC failed, Screen size info may be incorrect
This is quite likely caused by a bad ‘-display’ parameter
No such node (CnnDetectionModule.ToUse)
terminate called after throwing an instance of ‘boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::property_tree::ptree_bad_path >’
what(): No such node (CnnDetectionModule.ToUse)

Windows 10 Pro 20H2.
I’m running dual monitor, 1920x1200 … changed the resolution to 1920x1080, but no change.

Any thoughts?

Mike.

Hi Mike!
Sorry for the issues you’ve encountered!
Did you change nuitrack.config params?
Please, try to run nuitrack_sample with this nuitrack config file.

Thanks Mariya,
I haven’t edited the config file and the one you provided is identical to the one that was installed.

I ran nuitrack_sample under Visual Studio and got:

‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\nuitrack_sample.exe’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\ntdll.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\KernelBase.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\advapi32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcrt.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\sechost.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\rpcrt4.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\win32u.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\gdi32full.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcp_win.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\ucrtbase.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\user32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\ole32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\combase.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\oleaut32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\libnuitrack.dll’. Module was built without symbols.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\crypt32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\Wldap32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\ws2_32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\libmiddleware.dll’. Module was built without symbols.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\libopencv_core.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\libopencv_imgproc.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\opengl32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\winmm.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\wsock32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\tbb.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\libzip.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\glu32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\msvcp140.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\vcruntime140.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\vcruntime140_1.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\mswsock.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\imm32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\Jaksta\AC\x64\jaudcap.dll’.
37D0) CheckProcessInRegistry: Got include list but no match was found.
37D0) IsProcessAllowed(C:\Program Files\Nuitrack\nuitrack\nuitrack\bin\nuitrack_sample.exe) (80004005)
37D0) DllMain(ProcDetach) [OK]
37D0) DSound_Unhook
37D0) MCIWave_Unhook
37D0) AudioClient_Unhook
37D0) CAudioStreamMgr::Shutdown
‘nuitrack_sample.exe’ (Win32): Unloaded ‘C:\Windows\Jaksta\AC\x64\jaudcap.dll’
The thread 0x17ac has exited with code 0 (0x0).
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\uxtheme.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\msctf.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\kernel.appcore.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\bcryptprimitives.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\clbcatq.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\AppXDeploymentClient.dll’.
‘nuitrack_sample.exe’ (Win32): Unloaded ‘C:\Windows\System32\AppXDeploymentClient.dll’
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_19c79fb6254e3b11\nvoglv64.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\shell32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\setupapi.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\cfgmgr32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\bcrypt.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\wtsapi32.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\version.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\msasn1.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\cryptnet.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\drvstore.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\devobj.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\wldp.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\cryptbase.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\wintrust.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\ntmarta.dll’.
The thread 0x51fc has exited with code 0 (0x0).
The thread 0x2620 has exited with code 0 (0x0).
The thread 0x44c8 has exited with code 0 (0x0).
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\windows.storage.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\SHCore.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\shlwapi.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\DXCore.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\nvspcap64.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\profapi.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\dwmapi.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\TextInputFramework.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\CoreUIComponents.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\CoreMessaging.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\WinTypes.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\WinTypes.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\WinTypes.dll’.
‘nuitrack_sample.exe’ (Win32): Unloaded ‘C:\Windows\System32\WinTypes.dll’
‘nuitrack_sample.exe’ (Win32): Unloaded ‘C:\Windows\System32\WinTypes.dll’
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\powrprof.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\umpdc.dll’.
‘nuitrack_sample.exe’ (Win32): Loaded ‘C:\Windows\System32\winsta.dll’.
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x20474343 (parameters: 0x0000000002DF3040).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x21474343 (parameters: 0x0000000002DF3040, 0x0000000009F6E640, 0x00000000642916D2, 0x0000000000000000).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x21474343 (parameters: 0x0000000002DF3040, 0x0000000009F6E6D0, 0x000000006427B947, 0x0000000000000000).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x20474343 (parameters: 0x0000000002DF3040).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x21474343 (parameters: 0x0000000002DF3040, 0x0000000009F6E7E0, 0x00000000642916D2, 0x0000000000000000).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x21474343 (parameters: 0x0000000002DF3040, 0x0000000009F6E870, 0x000000006427B947, 0x0000000000000000).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x21474343 (parameters: 0x0000000002DF3040, 0x0000000009F6E920, 0x00000000641C911B, 0x0000000000000000).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x21474343 (parameters: 0x0000000002DF3040, 0x0000000009F6EA20, 0x000000006CB4502E, 0x0000000000000000).
The thread 0x20 has exited with code 0 (0x0).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x20474343 (parameters: 0x0000000002E0ACA0).
Exception thrown at 0x00007FFB60EB4F99 (KernelBase.dll) in nuitrack_sample.exe: 0x20474343 (parameters: 0x0000000002E0ACA0).
The thread 0x5438 has exited with code 3 (0x3).
The thread 0x55e8 has exited with code 3 (0x3).
The thread 0x3a1c has exited with code 3 (0x3).
The thread 0x3440 has exited with code 3 (0x3).
The thread 0x3660 has exited with code 3 (0x3).
The thread 0x21c4 has exited with code 3 (0x3).
The thread 0xeb0 has exited with code 3 (0x3).
The thread 0x3678 has exited with code 3 (0x3).
The program ‘[0x37D0] nuitrack_sample.exe’ has exited with code 3 (0x3).

Aha !
I was only vaguely aware of the NUITRACK_HOME environment variable …
I checked what was set and found that had an old value (USER, no SYSTEM) set from a previous attempt a couple of years ago. I killed that and re-installed. And a SYSTEM environment variable was created.
And it works.
Can I point out that there are somewhat confusing instructions for setting NUITRACK_HOME?
One says to set it to \nuitrack … whereas for Windows it get set to C:\Program Files\Nuitrack\nuitrack\nuitrack.
Mike.

Glad that you managed to solve the problem. And thank you for bringing the issues with instructions to our attention. We will try to make it clearer.