Getting Started on Windows (MSVC)

Install CUDA (Optional)

If you have Nvidia's graphic card, you could enable GPU compute capability as follows:

  • Ensure your graphic card drivers are up to date.
  • Download and install correct version of CUDA Toolkit according to here.

Install SDK

Using Executable

Run the executable named *.exe to install.

Using Archive

Extract the archive named *.tar.gz.

Run "Command Prompt (cmd)" as administrator, then:

> cd <sdk directory>
> install.bat

Note: Must open a new "Command Prompt (cmd)" as administrator, then execute install.bat to setup SDK. Otherwise, the environment variables won't be correct. Besides, you'd better reopen a "Command Prompt (cmd)" to "Check Installation" and "Build SDK Samples".

Check Installation

After installation, you could check the following environment variables in system:

  • MYNTEYE_SDK_ROOT=<Should be the sdk path>
  • MYNTEYE_SDK_PATH=<sdk>\bin;<sdk>\bin\3rdparty;<sdk>\apps;<sdk>\apps\3rdparty;<sdk>\deps\opencv\x64\vc14\bin
    • Ensure %MYNTEYE_SDK_PATH% in PATH for searching the libraries.
    • Ensure %MYNTEYE_SDK_PATH% is the first entry to avoid searching the libraries from other paths.
  • MYNTEYE_SDK_DATA=<Where data will be stored, Optional>
    • Must be the path that the user has write privilege.

If dll not found, you could reboot your computer to ensure PATH takes effect. As we know, it must be reboot on Windows 7.

How to solve issues when run Previewer

  • Error: opencv*.dll, mynteye*.dll, Qt5*.dll not found
    • Check installation, ensure %MYNTEYE_SDK_PATH% in PATH and reboot.
  • Error: api-ms-win-crt-runtime-l1-1-0.dll not found
  • Error: nppi64_*.dll not found
    • Please install CUDA Toolkit.
    • E.g. nppi64_80.dll needs "CUDA Toolkit 8.0".

Build SDK Samples


Windows Development Kits:

Add the following environment variables to PATH:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
C:\Program Files (x86)\MSBuild\14.0\Bin

Build Essential Tools:

Note: You'd better reopen a "Command Prompt (cmd)" after you change the PATH.


> cd samples
> mkdir build
> cd build
> cmake -DCMAKE_BUILD_TYPE=Release ^
-G "Visual Studio 14 2015 Win64" ^
> msbuild.exe ALL_BUILD.vcxproj /property:Configuration=Release
# Or, open "<sdk>\samples\build\mynteye_sdk_samples.sln" with Visual Studio to build.
# Please select "Configuration: Release" "Platform: x64" in solution configuration properties.
# If run with "Debug x64" in Visual Studio, you should open project properties and setup:
# C/C++ > Code Generation, Runtime Library = Multi-threaded DLL (/MD)

Then you could run the sample like this:

> .\samples\bin\camera.exe

Please see "samples/" to learn more about the samples.

About SDK Tools

Please see "tools/".

Open SDK Documentation

> start doc\api\html\index.html

How about using different version of Visual Studio

The version must be greater than or equal to 2010, which support C++11 features.

You should add the corresponding environment variables to PATH:

C:\Program Files (x86)\Microsoft Visual Studio <?>\VC\bin
C:\Program Files (x86)\MSBuild\<?>\Bin

And change the following command like this:

> cmake -DCMAKE_BUILD_TYPE=Release ^
-G "Visual Studio <?> <?> Win64" ^

You can also run cmake -h to learn more.

However, it is recommended that use Visual Studio 2015, see FAQ 6.


If have issues when installing, you could make an attempt to find it in FAQ.