[Tutorial] - Environment Setup Guide

(Note: This tutorial uses Visual Studio 2015/2017 version and Voxon SDK v2.8)

Tutorial Video: https://drive.google.com/file/d/1RvV0048e-wtGQ5SvW4h4JMXTH63YpAJx/view
  1. Copy the voxiesimp.c, voxiebox.h and voxiebox.dll to your project folder.
    • These files can be found in runtime_v2.8 folder.
    • voxiebox.dll is compiled in 64-bit mode. Make sure the compilation target is also 64-bit or voxie_load() will fail.
  2. Copy the LeapC.h file (from LeapSDK  include folder) and the LeapC.dll file (from LeapSDK  lib  x64 folder) to your project folder.
  3. In order to use x64 native tools command prompt, you have to call it from your Windows start menu.
    • Start menu Type "Developer Command Prompt" Right-click and open the file location Enter the VC folder select x64 native tools command prompt for your Visual Studio version).
    • We have to use this command prompt because the default command prompt no longer supports some commands, such as cl, which we need to compile our program. Additionally, since we need to compile our program to 64-bit program, we have to use the 64-bit compiler.
  4. Go to your project folder through the command prompt.
  5. In voxiesimp.c file, you can see the makefile commands:
         #Visual C makefile:
         voxiesimp.exe: voxiesimp.c voxiebox.h; cl /TP voxiesimp.c /Ox /MT /link user32.lib
         del voxiesimp.obj

         To compile the code, enter the following command in the x64 command prompt:
         cl /TP voxiesimp.c /Ox /MT /link user32.lib
         or
         nmake voxiesimp.c



References:


Comments

Popular Posts