From: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
To: Victor Rodriguez <vm.rod25@gmail.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: OpenCV yocto
Date: Mon, 22 Jun 2015 09:14:57 -0500 [thread overview]
Message-ID: <55881861.5090100@linux.intel.com> (raw)
In-Reply-To: <CAK5mtexAAs35+7SPauu3ftDVbpr1A_6fcVjn14ULOb43cXAboA@mail.gmail.com>
On 06/20/2015 09:22 PM, Victor Rodriguez wrote:
> HI team
>
> I am having this same problem:
>
> http://stackoverflow.com/questions/25332969/opencv-pkg-config-cannot-find-lopencv-ts-when-compiling-using-g
>
> I try to build opencv simple source code :
>
> g++ hello.cpp -o video `pkg-config --cflags --libs opencv`
>
Victor, you may take at look at this recipe (opencv_samples)
http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/recipes-support/opencv/opencv-samples_2.4.bb?h=master
What I can see, seems that the `pkg-config --libs openvc` is missing on
your bb.
> But got this error :
>
> /usr/lib/gcc/i586-poky-linux/4.9.2/../../../../i586-poky-linux/bin/ld:
> cannot find -lopencv_ts
> collect2: error: ld returned 1 exit status
>
> My local.conf is like this :
>
> EXTRA_IMAGE_FEATURES = "debug-tweaks tools-sdk"
> IMAGE_INSTALL_append = " mpich mpich-dev gcc gcc-dev openssh php mariadb opencv"
> LICENSE_FLAGS_WHITELIST = "commercial"
> CORE_IMAGE_EXTRA_INSTALL += "libopencv-core-dev libopencv-highgui-dev
> libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev"
>
>
> All the help is more than welcome
>
> Best regards
>
> Victor Rodriguez
>
next prev parent reply other threads:[~2015-06-22 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-21 2:22 OpenCV yocto Victor Rodriguez
2015-06-22 14:14 ` Leonardo Sandoval [this message]
2015-07-06 3:44 ` Victor Rodriguez
2015-07-08 15:21 ` Victor Rodriguez
2015-07-08 15:45 ` Victor Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55881861.5090100@linux.intel.com \
--to=leonardo.sandoval.gonzalez@linux.intel.com \
--cc=vm.rod25@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.