Skip to contentSkip to conversation

fido LICENSE error opencv

PATCH Edward Vidal 2 participants 3 messages Jul 27, 2015

lore
Share & tools
lore
#0 lore raw

Hello All,
I was able to fix the license error in fido by adding commercial_x264 to LICENSE_FLAGS_WHITELIST variable.

LICENSE_FLAGS_WHITELIST = "commercial_libmad commercial_mpeg2dec commercial_libav commercial_ffmpeg commercial_x264"

Opencv was installed on the Raspberry core-image-sato with the following changes

git diff meta/recipes-sato/images/core-image-sato.bb

meta/recipes-sato/images/core-image-sato.bb +0 -0
index e3246d2..f4b2286 100644
@@ -8,4 +8,9 @@ LICENSE = "MIT"


 inherit core-image

-IMAGE_INSTALL += "packagegroup-core-x11-sato-games" +IMAGE_INSTALL += "packagegroup-core-x11-sato-games kernel-dev xterm git \
+ jasper gsl gsl-dev python-netserver python-pygtk python-pygtk-dev \
+ python-numpy liba52 liba52-dev libmad libmad-dev libmad-staticdev \
+ chkconfig v4l-utils python-imaging parted python-distribute \
+ python-pyrex python-pexpect gperf tree libav libav-dev \
+ x264 x264-dev libav libav-dev opencv opencv-samples cmake"

What is the preferred method of creating an image with additional software installed?

Thanks for all the help. Edward Vidal Jr.
e-mail [email protected]
915-595-1613

#1 lore raw
Quoted 37 lines · Edward Vidal

Hello All,
I was able to fix the license error in fido by adding commercial_x264 to LICENSE_FLAGS_WHITELIST variable.

LICENSE_FLAGS_WHITELIST = "commercial_libmad commercial_mpeg2dec commercial_libav commercial_ffmpeg commercial_x264"

Opencv was installed on the Raspberry core-image-sato with the following changes

git diff meta/recipes-sato/images/core-image-sato.bb

meta/recipes-sato/images/core-image-sato.bb +6 -1
index e3246d2..f4b2286 100644
@@ -8,4 +8,9 @@ LICENSE = "MIT"
 
 inherit core-image
 
-IMAGE_INSTALL += "packagegroup-core-x11-sato-games"
+IMAGE_INSTALL += "packagegroup-core-x11-sato-games kernel-dev xterm git \
+ jasper gsl gsl-dev python-netserver python-pygtk python-pygtk-dev \
+ python-numpy liba52 liba52-dev libmad libmad-dev libmad-staticdev \
+ chkconfig v4l-utils python-imaging parted python-distribute \
+ python-pyrex python-pexpect gperf tree libav libav-dev \
+ x264 x264-dev libav libav-dev opencv opencv-samples cmake"

What is the preferred method of creating an image with additional software installed?

Thanks for all the help.

Edward Vidal Jr.
e-mail [email protected]
915-595-1613

Quoted 6 lines

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Hi

I had the same problem with opencv in yocto . There is a trend about this in mailign list:

https://www.mail-archive.com/[email protected]/msg24746.html

I am pushing to do a change in opencv receipt

Hope it helps

#2 lore raw

Hello All,I got openCV to detect 2 C920 cameras using a python api.I started a repository https://github.com/develone/raspberrypi2_yocto
I am currently using fido branch.The things that I have been able to createbitbake rpi-basic-image
bitbake core-image-sato with addition additional libs and applications see the file wkg_conf_files/core-image-sato.bbbitbake meta-toolchainIf you have any questions  feel free to contract me. Edward Vidal Jr. e-mail [email protected]
915-595-1613

     On Monday, July 27, 2015 9:53 AM, Victor Rodriguez <[email protected]> wrote:
Quoted 37 lines · Edward Vidal

Hello All,
I was able to fix the license error in fido by adding commercial_x264 to LICENSE_FLAGS_WHITELIST variable.

LICENSE_FLAGS_WHITELIST = "commercial_libmad commercial_mpeg2dec commercial_libav commercial_ffmpeg commercial_x264"

Opencv was installed on the Raspberry core-image-sato with the following changes

git diff meta/recipes-sato/images/core-image-sato.bb

meta/recipes-sato/images/core-image-sato.bb +0 -0
index e3246d2..f4b2286 100644
@@ -8,4 +8,9 @@ LICENSE = "MIT"
 

  inherit core-image

meta/recipes-sato/images/core-image-sato.bb +6 -1
-IMAGE_INSTALL += "packagegroup-core-x11-sato-games"
+IMAGE_INSTALL += "packagegroup-core-x11-sato-games kernel-dev xterm git \
+ jasper gsl gsl-dev python-netserver python-pygtk python-pygtk-dev \
+ python-numpy liba52 liba52-dev libmad libmad-dev libmad-staticdev \
+ chkconfig v4l-utils python-imaging parted python-distribute \
+ python-pyrex python-pexpect gperf tree libav libav-dev \
+ x264 x264-dev libav libav-dev opencv opencv-samples cmake"

What is the preferred method of creating an image with additional software installed?

Thanks for all the help.

Edward Vidal Jr.
e-mail [email protected]
915-595-1613

Quoted 6 lines

--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Hi

I had the same problem with opencv in yocto . There is a trend about this in mailign list:

https://www.mail-archive.com/[email protected]/msg24746.html

I am pushing to do a change in opencv receipt

Hope it helps