On 2013-07-17 05:23, Zafrullah Syed wrote:
Hi all,

I appended OpenCV and Gstreamer plugins to Image and made a build. Build is 
successful without any errors but OpenCV libraries are missing in rootfs.tar.bz2

I searched for libs( libopencv_core.so, libhighgui.so, libOpenCV.so ) in 
/usr/bin, /usr/lib and the whole archive but unable to find any libraries.

In /yocto/build/downloads, I can see OpenCV-2.4.3.tar.bz2, 
OpenCV-2.4.3.tar.bz2.done files.

In /yocto/build/tmp/deploy/licenses, I can see OpenCV folder.

In /yocto/build/tmp/deploy/rpm/armv7a_vfp_neon, I can see .rpm packages.

Log file after build says this:
(Pasted only start and success logs)

NOTE: recipe opencv-2.4.3-r2: task do_compile: Succeeded
NOTE: recipe opencv-2.4.3-r2: task do_install: Started
NOTE: recipe opencv-2.4.3-r2: task do_install: Succeeded
NOTE: recipe opencv-2.4.3-r2: task do_package: Started
NOTE: recipe opencv-2.4.3-r2: task do_populate_sysroot: Started
NOTE: recipe opencv-2.4.3-r2: task do_populate_sysroot: Succeeded
NOTE: recipe opencv-2.4.3-r2: task do_package: Succeeded
NOTE: recipe opencv-2.4.3-r2: task do_package_write_rpm: Started
NOTE: recipe opencv-2.4.3-r2: task do_package_write_rpm: Succeeded
NOTE: recipe opencv-2.4.3-r2: task do_generate_toolchain_file: Started
NOTE: recipe opencv-2.4.3-r2: task do_generate_toolchain_file: Succeeded
NOTE: recipe opencv-2.4.3-r2: task do_populate_lic: Started
NOTE: recipe opencv-2.4.3-r2: task do_populate_lic: Succeeded

Any Idea/hints where these files are and why they are missing?

The top-level package 'opencv' is empty.  All the bits are in other
packages, e.g. on my system I have:
  # opkg list-installed | grep opencv
  libopencv-calib3d2.4 - 2.4.3-r2
  libopencv-contrib2.4 - 2.4.3-r2
  libopencv-core2.4 - 2.4.3-r2
  libopencv-features2d2.4 - 2.4.3-r2
  libopencv-flann2.4 - 2.4.3-r2
  libopencv-highgui2.4 - 2.4.3-r2
  libopencv-imgproc2.4 - 2.4.3-r2
  libopencv-legacy2.4 - 2.4.3-r2
  libopencv-ml2.4 - 2.4.3-r2
  libopencv-nonfree2.4 - 2.4.3-r2
  libopencv-objdetect2.4 - 2.4.3-r2
  libopencv-photo2.4 - 2.4.3-r2
  libopencv-video2.4 - 2.4.3-r2
  opencv-apps - 2.4.3-r2
  opencv-samples - 2.4.3-r0
  python-opencv - 2.4.3-r2

You shouldn't need to mention them all as they will come in by
dependencies.  Try adding 'opensv-samples opencv-apps' to your image.

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to