All of lore.kernel.org
 help / color / mirror / Atom feed
* OpenCV libraries missing after build is successful
@ 2013-07-17 11:23 Zafrullah Syed
  2013-07-17 14:06 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Zafrullah Syed @ 2013-07-17 11:23 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]

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?

Regards,
Zafrullah Syed.

[-- Attachment #2: Type: text/html, Size: 2682 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: OpenCV libraries missing after build is successful
  2013-07-17 11:23 OpenCV libraries missing after build is successful Zafrullah Syed
@ 2013-07-17 14:06 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2013-07-17 14:06 UTC (permalink / raw)
  To: yocto

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-07-17 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-17 11:23 OpenCV libraries missing after build is successful Zafrullah Syed
2013-07-17 14:06 ` Gary Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.