Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
We have moved to a new forum at http://jevois.usc.edu, please check it out. The forum at jevois.org/qa will not allow new user registrations but is maintained alive for its useful past questions and answers.

JeVois 1.10.0 Bug reports, full story, part 5 (last for today)

0 votes

JeVois 1.10.0 Bug reports, full story, part 5 (last for today)

Trying to build jevoisbase-1.10.0 host, using version jevoisbase-1.10.0 in jevoisbase-1.10.0 folder on Ubuntu 16.04 LTS with latest updates.

[  8%] Building CXX object CMakeFiles/jevoisbase.dir/src/Components/EyeTracker/EyeTracker.C.o
In file included from /home/user/jevoisbase-1.10.0/src/Components/EyeTracker/EyeTracker.C:18:0:
/home/user/jevoisbase-1.10.0/include/jevoisbase/Components/EyeTracker/EyeTracker.H:22:66: fatal error: jevoisbase/Contrib/cvEyeTracker-1.2.5/ransac_ellipse.h: No such file or directory
compilation terminated.
CMakeFiles/jevoisbase.dir/build.make:182: recipe for target 'CMakeFiles/jevoisbase.dir/src/Components/EyeTracker/EyeTracker.C.o' failed
make[2]: *** [CMakeFiles/jevoisbase.dir/src/Components/EyeTracker/EyeTracker.C.o] Error 1
make[2]: *** Waiting for unfinished jobs....

===

It seems that EyeTracker components are sensive to project path :-\
Somewhere here - /home/user/jevoisbase-1.10.0/include/jevoisbase/Components/EyeTracker/EyeTracker.H

#pragma once

#include <jevois/Component/Component.H>
#include <opencv2/core/core.hpp>
#include <jevoisbase/Contrib/cvEyeTracker-1.2.5/ransac_ellipse.h>


OK, let's rename jevoisbase-1.10.0 folder into jevoisbase.

[ 27%] Building C object CMakeFiles/jevoisbase.dir/Contrib/darknet-nnpack/src/image.c.o
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/xmmintrin.h:34:0,
                 from /usr/lib/gcc/x86_64-linux-gnu/5/include/emmintrin.h:31,
                 from /home/user/jevoisbase/Contrib/darknet-nnpack/src/stb_image.h:625,
                 from /home/user/jevoisbase/Contrib/darknet-nnpack/src/image.c:9:
/usr/lib/gcc/x86_64-linux-gnu/5/include/mm_malloc.h:32:12: error: conflicting types for ‘posix_memalign’
 extern int posix_memalign (void **, size_t, size_t);
            ^
In file included from /home/user/jevoisbase/Contrib/darknet-nnpack/src/image.h:4:0,
                 from /home/user/jevoisbase/Contrib/darknet-nnpack/src/image.c:1:
/usr/include/stdlib.h:503:12: note: previous declaration of ‘posix_memalign’ was here
 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
            ^
CMakeFiles/jevoisbase.dir/build.make:2486: recipe for target 'CMakeFiles/jevoisbase.dir/Contrib/darknet-nnpack/src/image.c.o' failed
make[2]: *** [CMakeFiles/jevoisbase.dir/Contrib/darknet-nnpack/src/image.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....


...

asked Nov 27, 2018 in Programmer Questions by NikPok (390 points)

1 Answer

0 votes
so, for this one, you are using opencv4, which has eliminated support for the old opencv1 interface, and the eye tracker code was written for opencv1. So we have disabled that eye tracker module a while back. It looks like your problems are coming from maybe being out of date on some components of the software. Did you do a git pull in jevois, jevoisbase, etc to make sure you have the latest?

Incidentally, we are about to publish 1.11 which should resolve these issues.
answered Dec 7, 2018 by JeVois (46,580 points)
...