On 1/27/17 7:21 AM, Ricardo Ribalda Delgado wrote:
> Since: http://errors.yoctoproject.org/Errors/Details/117456/ opencv
> freetype module fails to build.
> 

I wonder if we need to export RANLIB in configure
along with CC and CXX

> This patch disables that module by default via PACKAGECONFIG until we
> find out a better way to do it.
> 
> Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
> ---
>  meta-oe/recipes-support/opencv/opencv_3.2.bb | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/meta-oe/recipes-support/opencv/opencv_3.2.bb 
> b/meta-oe/recipes-support/opencv/opencv_3.2.bb
> index f18aa796f9aa..f47347ab4455 100644
> --- a/meta-oe/recipes-support/opencv/opencv_3.2.bb
> +++ b/meta-oe/recipes-support/opencv/opencv_3.2.bb
> @@ -61,6 +61,7 @@ PACKAGECONFIG[amdblas] = 
> "-DWITH_OPENCLAMDBLAS=ON,-DWITH_OPENCLAMDBLAS=OFF,libcl
>  PACKAGECONFIG[amdfft] = 
> "-DWITH_OPENCLAMDFFT=ON,-DWITH_OPENCLAMDFFT=OFF,libclamdfft,"
>  PACKAGECONFIG[dnn] = "-DBUILD_opencv_dnn=ON -DUPDATE_PROTO_FILES=ON 
> -DBUILD_PROTOBUF=OFF,-DBUILD_opencv_dnn=OFF,lapack protobuf protobuf-native,"
>  PACKAGECONFIG[eigen] = "-DWITH_EIGEN=ON,-DWITH_EIGEN=OFF,libeigen gflags 
> glog,"
> +PACKAGECONFIG[freetype] = 
> "-DBUILD_opencv_freetype=ON,-DBUILD_opencv_freetype=OFF,freetype,"
>  PACKAGECONFIG[gphoto2] = "-DWITH_GPHOTO2=ON,-DWITH_GPHOTO2=OFF,libgphoto2,"
>  PACKAGECONFIG[gstreamer] = 
> "-DWITH_GSTREAMER=ON,-DWITH_GSTREAMER=OFF,gstreamer1.0 
> gstreamer1.0-plugins-base,"
>  PACKAGECONFIG[gtk] = "-DWITH_GTK=ON,-DWITH_GTK=OFF,gtk+3,"
> 
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to