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
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto