<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.8.5">
</HEAD>
<BODY>
Hello all<BR>
<BR>
I am trying to compile some code using cmake<BR>
the cmake list contains some instructions to look into libavutils (so <I>a priori</I> I need to have the devel packages for ffmpeg and the lot; which I have)<BR>
<BR>
<BR>
include(FindPkgConfig)<BR>
pkg_search_module(ARAVIS REQUIRED aravis-0.4 aravis-0.2)<BR>
pkg_check_modules(GIO REQUIRED gio-2.0)<BR>
pkg_check_modules(SWSCALE REQUIRED libswscale)<BR>
pkg_check_modules(AVCODEC REQUIRED libavcodec)<BR>
pkg_check_modules(AVUTIL REQUIRED libavutil)<BR>
find_package( OpenCV REQUIRED )<BR>
<BR>
-- checking for module 'gio-2.0'<BR>
--   found gio-2.0, version 2.42.2<BR>
-- checking for module 'libswscale'<BR>
--   found libswscale, version 3.1.101<BR>
-- checking for module 'libavcodec'<BR>
--   found libavcodec, version 56.60.100<BR>
-- checking for module 'libavutil'<BR>
--   found libavutil, version 54.31.100<BR>
<BR>
<BR>
<B>THEN I am ending up with </B><BR>
-- Looking for av_pix_fmt_desc_get<BR>
-- Looking for av_pix_fmt_desc_get - not found<BR>
<BR>
av_pix_fmt_desc_get is actually from pixdesc.h which is part of libavutil-devel (/usr/include/ffmpeg/libavutil)<BR>
and shows as<BR>
<I>const AVPixFmtDescriptor *av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt);</I><BR>
<BR>
So all seems to be here and cmake keeps failing<BR>
<BR>
Can anyone put me on the right direction there. I am completely lost<BR>
<BR>
Thanks heaps<BR>
E<BR>
<BR>
</BODY>
</HTML>