@shara Interesting problem. I have not done this, but I want to say something along the lines of using the applicable GCC toolchain, copying your libraries and headers to a sysroot directory, point compiler to it for includes and linking, create a toolchain file (toolchain.cmake) to define the cross-compilation parameters, clone OpenCV and OpenCV Contrib repositories, run CMake with reduced modules (as required or not), and for Python bindings, ensure DBUILD_opencv_python3=ON. make and install, transfer to the Zero and test. Or something like that...
You should also be able to install deps, and cross-compile tools and do it directly on Arch in a similar way, I would think.
Just throwing it out there, and good luck.
You should also be able to install deps, and cross-compile tools and do it directly on Arch in a similar way, I would think.
Just throwing it out there, and good luck.
Statistics: Posted by breaker — Tue Nov 19, 2024 7:53 pm