diff --git a/public_html/page/cross-compile.html b/public_html/page/cross-compile.html index bc8f56f..34d0423 100644 --- a/public_html/page/cross-compile.html +++ b/public_html/page/cross-compile.html @@ -224,7 +224,7 @@ LD_LIBRARY_PATH=/path/to/libs:$LD_LIBRARY_PATH ./binary -
Rust code → rust-opencv → OpenCV → Protobuf.
+Rust code → opencv-rust → OpenCV → Protobuf
My first theory was that the protoc compiler
had generated code for the wrong architecture or endianess.
@@ -247,8 +247,7 @@ LD_LIBRARY_PATH=/path/to/libs:$LD_LIBRARY_PATH ./binary
- The conclusion was clear: the import code itself worked. It - just didn’t work inside my main binary. + The conclusion was clear: the import code itself worked. Just not for me, for some reason.
use tflite::Tflite was enough to break OpenCV.
+ Two unrelated libraries were somehow breaking each other.
After months of debugging, rebuilding, and manually patching
- binaries, everything finally works again. Until the next
- nixpkgs update, of course.
+ binaries, everything finally works again, with the added benefit of cross-compiling, instead of either building on the Raspberry Pi or under emulation.