Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers.

Easy install fail

0 votes

I tried (twice) the easy install for ubuntu 16.10 and it fails.

I have done :

wget http://jevois.org/data/jevois-easy-1.0b.tbz
tar jxvf jevois-easy-1.0b.tbz

and the file size is 4553208902

 I have the following log :

-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3.4")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found suitable exact version "3.5.2+")
CMake Error at cmake/OpenCVModule.cmake:295 (message):
  No extra modules found in folder:

  Please provide path to 'opencv_contrib/modules' folder.
Call Stack (most recent call first):
  modules/CMakeLists.txt:7 (ocv_glob_modules)
-- Configuring incomplete, errors occurred!
See also "/root/jevois/opencv32/opencv-3.2.0/build/CMakeFiles/CMakeOutput.log".
See also "/root/jevois/opencv32/opencv-3.2.0/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.
Add /usr/local/lib to ldconfig [Y/n]? y
Compile and install jevois and jevoisbase for host computer [Y/n]? y
./jevois-easy-install.sh: line 81: ./rebuild-host.sh: No such file or directory
./jevois-easy-install.sh: line 83: cd: hbuild: No such file or directory
make: *** No rule to make target 'doc'.  Stop.
./jevois-easy-install.sh: line 86: cd: /root/jevoisbase: No such file or directory
./jevois-easy-install.sh: line 87: ./rebuild-host.sh: No such file or directory
Cross-compile jevois and jevoisbase for embedded platform hardware [Y/n]? y
./jevois-easy-install.sh: line 100: ./rebuild-platform.sh: No such file or directory
./jevois-easy-install.sh: line 102: cd: /root/jevoisbase: No such file or directory
./jevois-easy-install.sh: line 103: ./rebuild-platform.sh: No such file or directory
JeVois easy install 1.0 for Ubuntu 16.10 -- DONE.
Plugin a USB camera and type: 'jevois-daemon' to try it out.

It seems to bug with compile open CV at :

CMake Error at cmake/OpenCVModule.cmake:295 (message):
  No extra modules found in folder:

  Please provide path to 'opencv_contrib/modules' folder.

I have seen the video and this error didn't appeared.

The following seems to be not so good (compile of JeVois).

What did i wrong ?
asked May 4 in Programmer Questions by stilgar (360 points)

1 Answer

+1 vote
Everything assumes you've unpacked everything into $HOME, you can't put anything in a subdirectory without it breaking. Until everything is fixed to use a custom JEVOIS_SRC_ROOT properly, you'll need to make manual changes.

In this case it's a bug in jevois-easy-install.sh. I'm looking at fixes, but until then you can open the file in a text editor, search for DOPENCV_EXTRA_MODULES_PATH and fix the path. It currently starts with ~/opencv32/... and needs to start with ~/jevois/opencv32/ instead.

Further down in that file there are also a few "cd ~/jevois" and "cd ~/jevoisbase" lines that also need to be updated.

Also it looks like you're doing all this as root, which is a really bad idea - get in the habit of using a normal user account and sudo for the odd command that needs elevated privileges.
answered May 5 by pelrun (2,310 points)
edited May 5 by pelrun
Thanks I will try this evening. I first tried as non root and then I saw errors I tried as root.
I think it should be made clearer that you need to unpack the content of the archive in the home directory. I was doing the same mistake
It's not intended, it's a bug. I've made some fixes so that you can put JEVOIS_SRC_ROOT wherever you like, and it's available in the main repos now, you just need to pull down the newest set of commits (just do a "git pull" in each.) Oh, and change JEVOIS_SRC_ROOT so it's the path to the directory holding jevois, jevoisbase and jevois-sdk, instead of the path to the jevois repo (so one level higher.)