This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OPT8241-CDK-EVM: Voxel SDK build from source (with Windows 10 and VS2015) unsuccessful

Part Number: OPT8241-CDK-EVM

I wish to install Voxel SDK on a new HP Notebook running Windows 10 and Visual Studio 2015.  However, the binary file installer installs the Visual Studio 2013 runtime environment, which conflicted with the existing Visual Studio 2015.  So I tried to build the source instead.  I downloaded the source as instructed in git bash, and a 'voxelsdk' folder with the 5 subfolders was created as expected. However, after the next few steps in git bash I encountered this problem:

Any suggestions would be very much appreciated! 

One thing - git bash would not allow download of voxelsdk into the Program Files directory (even though I am the Admin) so I downloaded into the Users/hpI7 directory - but I don't think that matters.

Thank you

rs_rwc

  • Hi,

    Please build the code from the regular Windows cmd.exe command prompt, and not from git bash. Our build instructions are for the regular command prompt.

    (If building from git bash, you have to use different commands to set the environment variables).

    There is no need to download the code into the Program Files directory; you can use any directory to build.

    Normally, there should be no issue installing VoxelSDK on a computer with Visual Studio 2015 already installed. The VS2013 runtime installation should still go through. If it doesn't work, you can temporarily uninstall VS2015 and reinstall later.

    Best Regards,
    Anand
  • Hi Anand

    I decided to try again installing VoxelSDK binary file (Voxel.SDK-0.6.9-msvc2015-win64.exe) and it looks like it worked:

    Then I tried to run Voxel Viewer-0.9.6 and I got this message, which I don't understand because the path specified looks correct -

     

    I am stuck, any suggestions?

    Thank you

    rs_rwc

  • Hi,

    The prebuilt SDK built with VS2015 is experimental and is not extensively tested. There may be some dependencies that prevent it from working with VoxelViewer. You should either use the SDK included with VoxelViewer, or use the version built with VS2013.

    You can run other applications included in the prebuilt VoxelSDK. For example, VoxelCLI is a command-line equivalent of VoxelViewer and allows you to fully control the camera.

    Best regards,
    Anand
  • Hi Anand

    Thank you for your quick reply, I very much appreciate it. I have continued as follows:

    I uninstalled "Voxel.SDK-0.6.9-msvc2015-win64.exe" and then installed "Voxel.SDK-0.6.9-win64.exe".  I re-started to ensure that the Visual C++ 64-bit Redistributable Runtime 2013 is ready.  VoxelCLI runs, but when I try Voxel Viewer-0.9.6 I still get the "Failed to import Voxel SDK" window as previously.  Have you any further suggestions I can try?

    One thing - my Evaluation Module will not arrive until Wednesday, I am doing this work to be ready for when it does arrive.  When the Evaluation Module is connected will the Voxel Viewer problem be resolved?  It seems very unlikely but I thought I would ask.


    Thank you very much for your help and clear answers!


    rs_rwc

  • Hi,

    VoxelViewer should work by itself, without needing the SDK to be separately installed.

    Can you delete the "C:\Users\<username>\.Voxel" directory and clear the VOXEL_SDK_PATH environment variable and check?

    VoxelViewer should be able to start up then.

    Best Regards,
    Anand
  • Hi Anand


    Per your suggestion, I deleted the "C:\Users\<username>\.Voxel" directory and the VOXEL_SDK_PATH environment variable.  Success - VoxelViewer did indeed start up!  Thank you.

    So now it seems to me that, thanks to your help, Voxel SDK 0.6.9 is shown to be working because VoxelCLI runs, and that VoxelViewer works also.  But VoxelViewer still cannot detect Voxel SDK 0.6.9.

    What is your next suggestion as to enabling the ability of VoxelViewer to detect Voxel SDK 0.6.9?

    Thank you

    rs_rwc

  • Hi,

    If you use VS2013 to build VoxelSDK, then it should just work with VoxelViewer. This is our supported configuration.

    We will check about the VS2015 version.

    Best Regards,
    Anand