3dtof / voxelsdk

VoxelSDK - an SDK supporting TI's 3D Time of Flight cameras
BSD 3-Clause "New" or "Revised" License
107 stars 71 forks source link

No Depth camera library found or loaded #2

Closed bharathpatil closed 9 years ago

bharathpatil commented 9 years ago

On behalf of a user : Error : No depth camera library found or loaded.

I helped him setup the PATH, VOXEL_CONF_PATH, VOXEL_FW_PATH and VOXEL_LIB_PATH to the folder where the “ti3dtof.dll” is generated by the source code.

But the error is still showing up, doesn’t solve like I did.

Is there other settings I missed?

bharathpatil commented 9 years ago

How are you getting this error? Are you running the viewer and seeing this issue? What is the platform? Window/Linux, version? Which is the board connected?

hlprasu commented 9 years ago

Could you please provide the following?

  1. The sequence of steps to reproduce the problem.
  2. Please provide the exact commands used to set those environment variables.
xul4m06qj6 commented 9 years ago

To Bharath:

My colleagues can get this error by running VoxelCLI.exe and SimpleVoxelViewer.exe.

One uses Windows 8.1 64bit, the other uses Windows 7 64bit.

They all sharing my board, which is a Haddock CDK, and has been refreshed firmware by you.

xul4m06qj6 commented 9 years ago

To hlprasu:

After following the steps from "Pre-requisites" to "Running SDK programs" in "Build from source on Windows", and every steps has no errors.

Running VoxelCLI.exe or SimpleVoxelViewer.exe will show the error 123 321

VOXEL_CONF_PATH, VOXEL_FW_PATH and VOXEL_LIB_PATH all setup the same path as "D:\voxelsdk-master\Build\TI3DToF\Release", where my "ti3dtof.dll" is generated by source code.

My colleagues had left right now, I cannot provide their environment variables of PATH for you, I will contact them and tell them to see this issue.

xul4m06qj6 commented 9 years ago

By the way, my two colleagues can run Voxel Viewer 0.3.9 and see the correct result on their computers successfully.

hlprasu commented 9 years ago

Could you please set those environment variables without double quotes and try?

~ Prasad Bhat On 03-Jun-2015 4:19 pm, "xul4m06qj6" notifications@github.com wrote:

To hlprasu:

After following the steps from "Pre-requisites" to "Running SDK programs" in "Build from source on Windows", and every steps has no errors.

Running VoxelCLI.exe or SimpleVoxelViewer.exe will show the error [image: 123] https://cloud.githubusercontent.com/assets/12540897/7958214/c038fdb2-0a1f-11e5-8b2d-529673324f18.png [image: 321] https://cloud.githubusercontent.com/assets/12540897/7958215/c5343a20-0a1f-11e5-9f9f-1e0aae9e61a3.png

VOXEL_CONF_PATH, VOXEL_FW_PATH and VOXEL_LIB_PATH all setup the same path as "D:\voxelsdk-master\Build\TI3DToF\Release", where my "ti3dtof.dll" is generated by source code.

Also, I have these routes in the PATH environment variable, cause it's too many so I snapshot it.

[image: var] https://cloud.githubusercontent.com/assets/12540897/7958366/3b1bd77e-0a21-11e5-9900-fb78037c4959.png

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108296164.

xul4m06qj6 commented 9 years ago

Oh sorry, the double quotes are just for expression,

there are no double quotes in my colleagues' environment variables.

2015-06-03 19:16 GMT+08:00 Prasad H L Bhat notifications@github.com:

Could you please set those environment variables without double quotes and try?

~ Prasad Bhat On 03-Jun-2015 4:19 pm, "xul4m06qj6" notifications@github.com wrote:

To hlprasu:

After following the steps from "Pre-requisites" to "Running SDK programs" in "Build from source on Windows", and every steps has no errors.

Running VoxelCLI.exe or SimpleVoxelViewer.exe will show the error [image: 123] < https://cloud.githubusercontent.com/assets/12540897/7958214/c038fdb2-0a1f-11e5-8b2d-529673324f18.png

[image: 321] < https://cloud.githubusercontent.com/assets/12540897/7958215/c5343a20-0a1f-11e5-9f9f-1e0aae9e61a3.png

VOXEL_CONF_PATH, VOXEL_FW_PATH and VOXEL_LIB_PATH all setup the same path as "D:\voxelsdk-master\Build\TI3DToF\Release", where my "ti3dtof.dll" is generated by source code.

Also, I have these routes in the PATH environment variable, cause it's too many so I snapshot it.

[image: var] < https://cloud.githubusercontent.com/assets/12540897/7958366/3b1bd77e-0a21-11e5-9900-fb78037c4959.png

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108296164.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108304372.

hlprasu commented 9 years ago

Could you please run the following in a command prompt, and send the generated env.txt file?

set > env.txt

NOTE: env.txt will get generated in the current directory of command prompt.

~ Prasad Bhat On 03-Jun-2015 5:00 pm, "xul4m06qj6" notifications@github.com wrote:

Oh sorry, the double quotes are just for expression,

there are no double quotes in my colleagues' environment variables.

2015-06-03 19:16 GMT+08:00 Prasad H L Bhat notifications@github.com:

Could you please set those environment variables without double quotes and try?

~ Prasad Bhat On 03-Jun-2015 4:19 pm, "xul4m06qj6" notifications@github.com wrote:

To hlprasu:

After following the steps from "Pre-requisites" to "Running SDK programs" in "Build from source on Windows", and every steps has no errors.

Running VoxelCLI.exe or SimpleVoxelViewer.exe will show the error [image: 123] <

https://cloud.githubusercontent.com/assets/12540897/7958214/c038fdb2-0a1f-11e5-8b2d-529673324f18.png

[image: 321] <

https://cloud.githubusercontent.com/assets/12540897/7958215/c5343a20-0a1f-11e5-9f9f-1e0aae9e61a3.png

VOXEL_CONF_PATH, VOXEL_FW_PATH and VOXEL_LIB_PATH all setup the same path as "D:\voxelsdk-master\Build\TI3DToF\Release", where my "ti3dtof.dll" is generated by source code.

Also, I have these routes in the PATH environment variable, cause it's too many so I snapshot it.

[image: var] <

https://cloud.githubusercontent.com/assets/12540897/7958366/3b1bd77e-0a21-11e5-9900-fb78037c4959.png

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108296164.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108304372.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108317098.

xul4m06qj6 commented 9 years ago

I am off the office,

I'll try tomorrow

2015-06-03 20:35 GMT+08:00 Prasad H L Bhat notifications@github.com:

Could you please run the following in a command prompt, and send the generated env.txt file?

set > env.txt

NOTE: env.txt will get generated in the current directory of command prompt.

~ Prasad Bhat

On 03-Jun-2015 5:00 pm, "xul4m06qj6" notifications@github.com wrote:

Oh sorry, the double quotes are just for expression,

there are no double quotes in my colleagues' environment variables.

2015-06-03 19:16 GMT+08:00 Prasad H L Bhat notifications@github.com:

Could you please set those environment variables without double quotes and try?

~ Prasad Bhat On 03-Jun-2015 4:19 pm, "xul4m06qj6" notifications@github.com wrote:

To hlprasu:

After following the steps from "Pre-requisites" to "Running SDK programs" in "Build from source on Windows", and every steps has no errors.

Running VoxelCLI.exe or SimpleVoxelViewer.exe will show the error [image: 123] <

https://cloud.githubusercontent.com/assets/12540897/7958214/c038fdb2-0a1f-11e5-8b2d-529673324f18.png

[image: 321] <

https://cloud.githubusercontent.com/assets/12540897/7958215/c5343a20-0a1f-11e5-9f9f-1e0aae9e61a3.png

VOXEL_CONF_PATH, VOXEL_FW_PATH and VOXEL_LIB_PATH all setup the same path as "D:\voxelsdk-master\Build\TI3DToF\Release", where my "ti3dtof.dll" is generated by source code.

Also, I have these routes in the PATH environment variable, cause it's too many so I snapshot it.

[image: var] <

https://cloud.githubusercontent.com/assets/12540897/7958366/3b1bd77e-0a21-11e5-9900-fb78037c4959.png

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108296164.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108304372.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108317098.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108373112.

xul4m06qj6 commented 9 years ago

Hi,

here are three files,

one is mine, and the other two belong to my two colleagues.

2015-06-03 22:01 GMT+08:00 A PU wer0605@gmail.com:

I am off the office,

I'll try tomorrow

2015-06-03 20:35 GMT+08:00 Prasad H L Bhat notifications@github.com:

Could you please run the following in a command prompt, and send the generated env.txt file?

set > env.txt

NOTE: env.txt will get generated in the current directory of command prompt.

~ Prasad Bhat

On 03-Jun-2015 5:00 pm, "xul4m06qj6" notifications@github.com wrote:

Oh sorry, the double quotes are just for expression,

there are no double quotes in my colleagues' environment variables.

2015-06-03 19:16 GMT+08:00 Prasad H L Bhat notifications@github.com:

Could you please set those environment variables without double quotes and try?

~ Prasad Bhat On 03-Jun-2015 4:19 pm, "xul4m06qj6" notifications@github.com wrote:

To hlprasu:

After following the steps from "Pre-requisites" to "Running SDK programs" in "Build from source on Windows", and every steps has no errors.

Running VoxelCLI.exe or SimpleVoxelViewer.exe will show the error [image: 123] <

https://cloud.githubusercontent.com/assets/12540897/7958214/c038fdb2-0a1f-11e5-8b2d-529673324f18.png

[image: 321] <

https://cloud.githubusercontent.com/assets/12540897/7958215/c5343a20-0a1f-11e5-9f9f-1e0aae9e61a3.png

VOXEL_CONF_PATH, VOXEL_FW_PATH and VOXEL_LIB_PATH all setup the same path as "D:\voxelsdk-master\Build\TI3DToF\Release", where my "ti3dtof.dll" is generated by source code.

Also, I have these routes in the PATH environment variable, cause it's too many so I snapshot it.

[image: var] <

https://cloud.githubusercontent.com/assets/12540897/7958366/3b1bd77e-0a21-11e5-9900-fb78037c4959.png

— Reply to this email directly or view it on GitHub <https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108296164 .

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108304372.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108317098.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108373112.

ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\jasperliao\AppData\Roaming CLASSPATH=;C:\Program Files (x86)\OpenNI\Bin\org.OpenNI.jar;C:\Program Files\OpenNI\Bin64\org.OpenNI.jar CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=CTWA1036 ComSpec=C:\Windows\system32\cmd.exe configsetroot=C:\Windows\ConfigSetRoot DDKXPROOT=C:\WinDDK\7600.16385.1 DEPTHSENSESDK-CDK32=C:\Program Files (x86)\Texas Instruments\3D-Explorer 1.22\DepthSenseSDK-CDK FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\jasperliao LOCALAPPDATA=C:\Users\jasperliao\AppData\Local LOGONSERVER=\DCS002 NUMBER_OF_PROCESSORS=4 OPEN_NI_BIN=C:\Program Files (x86)\OpenNI\Bin OPEN_NI_BIN64=C:\Program Files\OpenNI\Bin64 OPEN_NI_INCLUDE=C:\Program Files\OpenNI\Include OPEN_NI_INSTALL_PATH=C:\Program Files (x86)\OpenNI\ OPEN_NI_INSTALL_PATH64=C:\Program Files\OpenNI\ OPEN_NI_LIB=C:\Program Files (x86)\OpenNI\Lib OPEN_NI_LIB64=C:\Program Files\OpenNI\Lib64 OS=Windows_NT Path=C:\Python34\Lib\site-packages\PyQt5;C:\Python34\;C:\Python34\Scripts;C:\Python27\;C:\Python27\Scripts;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\3.0\bin\x64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\OpenNI\Bin64;C:\Program Files (x86)\OpenNI\Bin;C:\Program Files (x86)\Texas Instruments\3D-Explorer 1.22\DepthSenseSDK-CDK\bin;C:\Program Files (x86)\CMake\bin;C:\Program Files (x86)\Texas Instruments\3D-Explorer 1.22\DepthSenseSDK-CDK\bin;C:\opencv2.4.11\opencv\build\x64\vc10\bin;C:\opencv2.4.11\opencv\build\x86\vc10\bin;C:\Users\jasperliao\Desktop\TI ToF\ti3dtof-viewer-cpp-src-1.5.2-Linux\toRelease;C:\Program Files (x86)\CMake\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\doxygen\bin;C:\Program Files\PCL 1.7.2\bin;C:\Program Files\PCL 1.7.2\3rdParty\VTK\bin;C:\Qt\Qt5.4.1_2013\5.4\msvc2013_64\bin;C:\Program Files\Voxel SDK 0.4.9\bin;C:\Program Files\Voxel SDK 0.4.9\lib;C:\Program Files\swigwin-3.0.5;D:\voxelsdk-master\Build\Voxel\Release;C:\Program Files (x86)\IDMCOM~1\ULTRAE~1;C:\Qt\Qt5.4.1_2013bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY PCL_ROOT=C:\Program Files\PCL 1.7.2 PLMVIS_61_LIBPATH=C:\Program Files (x86)\SAP\FrontEnd\SapGui PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 69 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=4501 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public QTDIR=C:\Qt\Qt5.4.1_2013 SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\JASPER~1\AppData\Local\Temp TMP=C:\Users\JASPER~1\AppData\Local\Temp Tulip=D:\Tulip Package\tulip UATDATA=C:\Windows\CCM\UATData\D9F8C395-CAB8-491d-B8AC-179A1FE1BE77 USERDNSDOMAIN=LITEON.COM USERDOMAIN=LITEON USERNAME=JasperLiao USERPROFILE=C:\Users\jasperliao VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ VOXEL_CONF_PATH=D:\voxelsdk-master\Build\TI3DToF\Release VOXEL_FW_PATH=D:\voxelsdk-master\Build\TI3DToF\Release VOXEL_LIB_PATH=D:\voxelsdk-master\Build\TI3DToF\Release VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ VS110COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\ VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\ windir=C:\Windows windows_tracing_flags=3 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\jimlee\AppData\Roaming asl.log=Destination=file CLASSPATH=C:\Program Files\OpenNI\Bin64\org.OpenNI.jar CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=ETWM3860 ComSpec=C:\Windows\system32\cmd.exe easyplussdk="C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin" FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\jimlee KINECTSDK20_DIR=C:\Program Files\Microsoft SDKs\Kinect\v2.0_1409\ LOCALAPPDATA=C:\Users\jimlee\AppData\Local LOGONSERVER=\DCS003 NUMBER_OF_PROCESSORS=4 OPENNI2_INCLUDE=C:\Program Files (x86)\OpenNI2\Include\ OPENNI2_LIB=C:\Program Files (x86)\OpenNI2\Lib\ OPENNI2_REDIST=C:\Program Files (x86)\OpenNI2\Redist\ OPEN_NI_BIN64=C:\Program Files\OpenNI\Bin64 OPEN_NI_INCLUDE=C:\Program Files\OpenNI\Include OPEN_NI_INSTALL_PATH64=C:\Program Files\OpenNI\ OPEN_NI_LIB64=C:\Program Files\OpenNI\Lib64 OS=Windows_NT Path=C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Lenovo\Fingerprint Manager Pro\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Common Files\lenovo\easyplussdk\bin;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\OpenNI\Bin64;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Qt\4.8.5\bin;C:\Qt\qtcreator-2.8.1\bin;C:\Python27;C:\Python27\libs;C:\Python27\Lib;C:\Python27\Scripts;C:\Program Files\doxygen\bin;C:\Program Files\swigwin-3.0.5;C:/Program Files/PCL 1.7.2/cmake;C:/Program Files/PCL 1.7.2/3rdParty/VTK/lib/cmake/vtk-6.1;C:\Qt\Qt5.4.1\5.4\msvc2012_opengl\lib\cmake\Qt5Widgets;C:\Program Files\PCL 1.7.2\bin;C:\Program Files\PCL 1.7.2\3rdParty\VTK\bin;C:\Qt\Qt5.4.0\5.4\msvc2013_win64\bin;C:\Users\jimlee\Desktop\voxelsdk-master\build1\Voxel\Release;C:\Users\jimlee\Desktop\voxelsdk-master\build1\VoxelPCL\Release;C:\OpenCV30\build; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PCL_ROOT=C:\Program Files\PCL 1.7.2 PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 69 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=4501 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\jimlee\AppData\Local\Temp TMP=C:\Users\jimlee\AppData\Local\Temp TVT=C:\Program Files (x86)\Lenovo USERDNSDOMAIN=LITEON.COM USERDOMAIN=LITEON USERDOMAIN_ROAMINGPROFILE=LITEON USERNAME=JimLee USERPROFILE=C:\Users\jimlee VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ VOXEL_CONF_PATH=C:\Users\jimlee\Desktop\voxelsdk-master\build1\TI3DToF\Release; VOXEL_FW_PATH=C:\Users\jimlee\Desktop\voxelsdk-master\build1\TI3DToF\Release; VOXEL_LIB_PATH=C:\Users\jimlee\Desktop\voxelsdk-master\build1\TI3DToF\Release; VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ windir=C:\Windows

ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Liteon\AppData\Roaming asl.log=Destination=file CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=LITEON-PC ComSpec=C:\Windows\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\Liteon LOCALAPPDATA=C:\Users\Liteon\AppData\Local LOGONSERVER=\LITEON-PC MI_HOME=C:\Aptina Imaging 4.5.18\ NUMBER_OF_PROCESSORS=4 OS=Windows_NT Path=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Dell\Dell Data Protection\Access\Advanced\Wave\Gemalto\Access Client\v5\;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x86;C:\Program Files (x86)\Intel\OpenCL SDK\2.0\bin\x64;C:\Aptina Imaging 4.5.18\;C:\Program Files\MATLAB\MATLAB Compiler Runtime\v717\runtime\win64;C:\Program Files (x86)\MATLAB\MATLAB Compiler Runtime\v717\runtime\win32;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files\PCL 1.7.2\3rdParty\VTK\bin;C:\Program Files\PCL 1.7.2\bin;C:\Program Files\doxygen\bin;C:\Program Files\swigwin-3.0.5;C:\Qt\Qt5.4.1\5.4\msvc2013_64\bin;C:\Program Files\Voxel SDK 0.4.9\bin;C:\Program Files\Voxel SDK 0.4.9\lib;C:\Program Files\Voxel SDK 0.4.9\lib\voxel;C:\hc\voxel-sdk\Build\Voxel\Release;C:\hc\voxel-sdk\Build\Voxel\Debug;C:\hc\voxel-sdk\Build\TI3DToF\Release; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PCL_ROOT=C:\Program Files\PCL 1.7.2 PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=3a09 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PROMPT=$P$G PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ PUBLIC=C:\Users\Public SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\Liteon\AppData\Local\Temp TMP=C:\Users\Liteon\AppData\Local\Temp USERDOMAIN=Liteon-PC USERNAME=Liteon USERPROFILE=C:\Users\Liteon VOXEL_CONF_PAHT=C:\hc\voxel-sdk\Build\TI3DToF\Release VOXEL_FW_PATH=C:\hc\voxel-sdk\Build\TI3DToF\Release VOXEL_LIB_PATH=C:\hc\voxel-sdk\Build\TI3DToF\Release VS100COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Tools\ VS120COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\ windir=C:\Windows windows_tracing_flags=3 windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log

xul4m06qj6 commented 9 years ago

Hi all,

I discovered something.

I uninstalled my Voxel SDK 0.4.9 in my computer(the binary package one, not the source code), and deleted all the related folder, including the "Voxel Common" folder.

Then I faced the same problem with my colleagues --- No depth camera library found or loaded.

After that I installed Voxel SDK 0.4.9 back again, VoxelCLI.exe and SimpleVoxelViewer.exe can run successfully.

I guess the reason my program can run is because I installed Voxel SDK.

hlprasu commented 9 years ago

Yes, as documented in Wiki ( https://github.com/3dtof/voxelsdk/wiki/Build-from-source-on-Windows). It is not recommended to keep binary installation and do source installation.

However, you issue seems to not primarily because of that. Could you please send me the list of files in

  1. D:\voxelsdk-master\Build\Voxel\Release, and
  2. D:\voxelsdk-master\Build\TI3DToF\Release?

Regards Prasad

On 4 June 2015 at 08:57, xul4m06qj6 notifications@github.com wrote:

Hi all,

I discovered something.

I uninstalled my Voxel SDK 0.4.9 in my computer(the binary package one, not the source code), and deleted all the related folder, including the "Voxel Common" folder.

Then I faced the same problem with my colleagues --- No depth camera library found or loaded.

After that I installed Voxel SDK 0.4.9 back again, VoxelCLI.exe and SimpleVoxelViewer.exe can run successfully.

Does Voxel SDK build from binary package and source code exist in same computer influence each other?

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108703712.

~ Prasad Bhat

xul4m06qj6 commented 9 years ago

1.voxel.dll -> 895KB, voxel.exp -> 244KB, voxel.lib -> 398KB 2. default

xul4m06qj6 commented 9 years ago

Hi,

I set a line of code at this position

and I got this result

default

Seems like the program cannot find any path to load library.

By the way,

I noticed the ti3dtof.dll generated by source code has a different size than the one generated by the binary package. Is this important?

hlprasu commented 9 years ago

This is useful information! Could you please let me know your version of Visual Studio? Please ensure that you have Visual Studio 2013 with latest updates.

Older versions of Visual Studio were incorrectly compiling this variable -

const Map<String, Configuration::_Path> Configuration::_pathTypes;

located in Voxel/Configuration.cpp

On 4 June 2015 at 12:58, xul4m06qj6 notifications@github.com wrote:

Hi,

I set a line of code at this position

and I got this result

[image: default] https://cloud.githubusercontent.com/assets/12540897/7979020/359b8d82-0ace-11e5-9fd6-e286e86f409f.png

Seems like the program cannot find any path to load library.

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108765064.

~ Prasad Bhat

xul4m06qj6 commented 9 years ago

I am using Visual Studio 2013,

I'll check the updates right now.

I don't get the idea you want to say

"Older versions of Visual Studio where incorrectly compiling this variable - const Map<String, Configuration::_Path> Configuration::_pathTypes; located in Voxel/Configuration.cpp"

Would you explain more?

hlprasu commented 9 years ago

Pardon the typo.

Older versions of Visual Studio were incorrectly compiling this variable

const Map Configuration::_pathTypes;

located in Voxel/Configuration.cpp at line 30.

This particular variable uses initializer list syntax of C++11. Somehow older versions of Visual studio were silently compiling it without any errors but making it a blank map.

Could you please try "Update 4" of Visual studio 2013? Link - https://support.microsoft.com/en-us/kb/2994375

On 4 June 2015 at 13:10, xul4m06qj6 notifications@github.com wrote:

I am using Visual Studio 2013,

I'll check the updates right now.

I don't get the idea you want to say

"Older versions of Visual Studio where incorrectly compiling this variable

  • const Map Configuration::_pathTypes; located in Voxel/Configuration.cpp"

Would you explain more?

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108767287.

~ Prasad Bhat

xul4m06qj6 commented 9 years ago

instaling update 4 right now.....

xul4m06qj6 commented 9 years ago

Done.

After installed the Visual Studio 2013 Update 4

I can see viewers generated by VoxelCLI.exe and SimpleVoxelViewer.exe

default

There are three paths been found.

But why is there two warnings showing at the beginning?

hlprasu commented 9 years ago

Good!

Please ignore those warnings. They will be removed in later versions.

On 4 June 2015 at 14:24, xul4m06qj6 notifications@github.com wrote:

Done.

After installed the Visual Studio 2013 Update 4

I can see viewers generated by VoxelCLI.exe and SimpleVoxelViewer.exe

[image: default] https://cloud.githubusercontent.com/assets/12540897/7980388/aa3bbce2-0ad9-11e5-8326-c69f9e7291e4.png

There are three paths been found.

But why is there two warnings showing at the beginning?

— Reply to this email directly or view it on GitHub https://github.com/3dtof/voxelsdk/issues/2#issuecomment-108792414.

~ Prasad Bhat