<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[voxl-tflite-server dev branch build failing]]></title><description><![CDATA[<p dir="auto">@Matt-Turi<br />
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.<br />
Compile Error:</p>
<pre><code>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 &lt;opencv2/opencv.hpp&gt;
                              ^
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 &lt;opencv2/opencv.hpp&gt;
                              ^
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
</code></pre>
]]></description><link>https://forum.modalai.com/topic/804/voxl-tflite-server-dev-branch-build-failing</link><generator>RSS for Node</generator><lastBuildDate>Fri, 09 Oct 2026 08:22:44 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/804.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Mar 2022 12:42:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to voxl-tflite-server dev branch build failing on Tue, 15 Mar 2022 16:57:42 GMT]]></title><description><![CDATA[<p dir="auto">@Matt-Turi Thank you</p>
]]></description><link>https://forum.modalai.com/post/3756</link><guid isPermaLink="true">https://forum.modalai.com/post/3756</guid><dc:creator><![CDATA[Philemon Benner]]></dc:creator><pubDate>Tue, 15 Mar 2022 16:57:42 GMT</pubDate></item><item><title><![CDATA[Reply to voxl-tflite-server dev branch build failing on Tue, 15 Mar 2022 16:00:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philemon-benner" aria-label="Profile: Philemon-Benner">@<bdi>Philemon-Benner</bdi></a> thanks for pointing this out, just fixed with commit c75b7b91.</p>
]]></description><link>https://forum.modalai.com/post/3751</link><guid isPermaLink="true">https://forum.modalai.com/post/3751</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Tue, 15 Mar 2022 16:00:20 GMT</pubDate></item><item><title><![CDATA[Reply to voxl-tflite-server dev branch build failing on Tue, 15 Mar 2022 13:48:31 GMT]]></title><description><![CDATA[<p dir="auto">Also a nice thing to add is this to <a href="http://build.sh" rel="nofollow ugc">build.sh</a>:</p>
<pre><code>trap 'err=$?; echo &gt;&amp;2 "Exiting on error $err"; exit $err' ERR
</code></pre>
<p dir="auto">It exits directly after make installation fails.</p>
]]></description><link>https://forum.modalai.com/post/3749</link><guid isPermaLink="true">https://forum.modalai.com/post/3749</guid><dc:creator><![CDATA[Philemon Benner]]></dc:creator><pubDate>Tue, 15 Mar 2022 13:48:31 GMT</pubDate></item></channel></rss>