3dtof/voxelsdk

Access violation when start the camera

Opened this issue · 1 comments

I follow this issue for the register callback:
#152

I use Visual Studio 2017 C++ and OPT8241 Sensor.

I get this error immediately after calling:
if (depthCameras->start())

Unhandled exception at 0x00007FFAA4B5963D (voxel.dll) in testvideo.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFE.

The ToF camera is definitely located and is initialized properly.

Thank you.

I've had the same mistake,And the problem is that my program is release,but voxelsdk lib is debug.When I changed my program to the debug,and it work.