voxl-tflite-server dev branch build failing
-
@Matt-Turi
Hey i've been working on a custom tflite-server version with the tflite-server dev branch. Since yesterday i am suddenly getting a build error when trying to compile in voxl-cross. I think it's an issue with latest voxl-opencv commit(6cf30d47), because it complains about opencv2 not being present. Installation of packages was succesfull via ./install_build_deps.sh.
Compile Error:voxl-cross:~(dev)$ ./build.sh 820 -- The C compiler identification is GNU 4.9.3 -- The CXX compiler identification is GNU 4.9.3 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9 - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9 - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /home/root/build64 [ 75%] Building C object src/CMakeFiles/voxl-tflite-server.dir/resize.c.o [ 75%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/inference_helper.cpp.o [ 75%] Building CXX object src/CMakeFiles/voxl-tflite-server.dir/main.cpp.o In file included from /usr/aarch64-linux-gnu-2.23/include/features.h:367:0, from /usr/aarch64-linux-gnu-2.23/include/stdio.h:27, from /home/root/src/resize.c:1: /usr/aarch64-linux-gnu-2.23/include/bits/stdlib.h:64:8: warning: no previous declaration for 'ptsname_r' [-Wmissing-declarations] __NTH (ptsname_r (int __fd, char *__buf, size_t __buflen)) ^ /usr/aarch64-linux-gnu-2.23/include/sys/cdefs.h:57:59: note: in definition of macro '__NTH' # define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct ^ In file included from /home/root/src/inference_helper.cpp:34:0: /home/root/src/../include/inference_helper.h:7:30: fatal error: opencv2/opencv.hpp: No such file or directory #include <opencv2/opencv.hpp> ^ compilation terminated. In file included from /home/root/src/main.cpp:47:0: /home/root/src/../include/inference_helper.h:7:30: fatal error: opencv2/opencv.hpp: No such file or directory #include <opencv2/opencv.hpp> ^ compilation terminated. src/CMakeFiles/voxl-tflite-server.dir/build.make:75: recipe for target 'src/CMakeFiles/voxl-tflite-server.dir/inference_helper.cpp.o' failed make[2]: *** [src/CMakeFiles/voxl-tflite-server.dir/inference_helper.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... src/CMakeFiles/voxl-tflite-server.dir/build.make:89: recipe for target 'src/CMakeFiles/voxl-tflite-server.dir/main.cpp.o' failed make[2]: *** [src/CMakeFiles/voxl-tflite-server.dir/main.cpp.o] Error 1 CMakeFiles/Makefile2:97: recipe for target 'src/CMakeFiles/voxl-tflite-server.dir/all' failed make[1]: *** [src/CMakeFiles/voxl-tflite-server.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make: *** [all] Error 2 -
@Philemon-Benner thanks for pointing this out, just fixed with commit c75b7b91.
-
@Matt-Turi Thank you
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login