Closed SClerckx closed 1 year ago
Hi,
We don't make the debug binaries available to public, so you will need to debug in Release mode. This may help you https://learn.microsoft.com/en-us/cpp/build/how-to-debug-a-release-build?view=msvc-170
Okay, thank you
Hi SpectacularAI Team!
I'm currently trying to build vio_jsonl.cpp in Debug mode to integrate it with another project. The building is successful however I encounter a runtime exception:
Unhandled exception at 0x00007FF9DCCEFDEC in vio_jsonl.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0000000F285DE430.
This is printed in the terminal before the exception:
[warning] USB protocol not available - If running in a container, make sure that the following is set: "-v /dev/bus/usb:/dev/bus/usb --device-cgroup-rule='c 189:* rmw'"
This is the stack trace:
This is in Visual Studio 2019, however, the same issue occurs when following the readme step in Powershell. The Release version works fine both in Visual Studio and Powershell. I tried placing the non-debug libusb-1.0.dll with the vio_jsonl.exe. This removed the print USB protocol statement before the exception but doesn't seem to fix anything else.