Spurred on by some very good progress compiling and testing a lot of the example code with an OAK1 plugged in to a laptop. Reading through some of the examples source has been great for helping to understand the architecture and structure of the hardware.
I'm about to embark on the same exercise cross-compiling code for my OAKD-CM4.
I thought the most logical thing to do would be start with the depthai-core-example again, as it's a good foundation to grow from once the end-to-end build process is successfully mastered.
I'm using VSCode as it seems much better suited to handling CMake than Eclipse (sadly). I've hit a slight obstacle with the armhf build for the CM4, as it needs libusb. Rather than clutter the post with the entire log, here are the last few entries...
[cmake] CMake Error at XLink.cmake:27 (message):
[cmake] libusb is required
[cmake] Call Stack (most recent call first):
[cmake] CMakeLists.txt:8 (include)__
I guess it would make it incompatible with running on windows if your team published the depthai-core-example with the libusb module, so what's the best or recommended way to add the libusb source to the depthai-core-example ?
Let me know if I need to post / attach any further diagnostic info.