Installing OpenCV on a linux (Yocto) operating system, supported by the Intel Galileo Gen 2 Development Board

      Following the steps (Chapter 7, pages 324 to 325) presented in the book "Intel® Galileo and Intel® Galileo Gen 2 API Features and Arduino Projects for Linux Programmers" by Manoel Carlos Ramon, an error similar with the following will appear:

| #define HAVE_JPEG 1
|
| configure: exit 1
| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (see /home/mdobrea/Galileo-Runtime-1.0.6/meta-clanton_v1.0.6/yocto_build/tmp/work/i586-poky-linux-uclibc/v4l-utils/0.8.8-r2/temp/log.do_configure.1075 for further information)
ERROR: Task 1555 (/home/mdobrea/Galileo-Runtime-1.0.6/meta-clanton_v1.0.6/meta-oe/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3062 tasks of which 3048 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/mdobrea/Galileo-Runtime-1.0.6/meta-clanton_v1.0.6/meta-oe/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

      This error was generated by replacing the uClibc library with eGlibc. When the book was written, in 2014, this step was necessary. But, this time (having Galileo-Runtime-1.0.6 installed) uClibc library is optimal for your projects.
      In conclusion, in order to generate a correct image for the SD card , follow all the steps outlined in the book mentioned above, excepting those specific steps described in section "Using eGlibc for Video4Linux Image" (commenting the 3 lines of code from the file ".../meta-clanton-distro/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bbappend").

Keywords: OpenCV, install, Linux operating system, Yocto, Intel Galileo Generation 2

Back
Main Frame (acces to all the site)
Course of Intelligent Embedded Systems
"Gheorghe Asachi" Technical University of Iasi
Faculty of Electronics, Telecommunications and Information Technology
Associate Professor Dan Marius Dobrea