with CentOS 7.1,i installed the Intel Media SDK 2005R6 and downloaded MediaSamples_Linux_6.0.16043175.175.but when i build the sample,it failed:
[root@localhost samples]# perl build.pl --cmake=intel64.make.release -build Not searching for unused variables given on the command line. -- Intel(R) Media SDK /opt/intel/mediasdk/include, /opt/intel/mediasdk/lib/lin_x64/libmfx.a was found here /opt/intel/mediasdk -- Intel(R) Media SDK /opt/intel/mediasdk/lib/lin_x64 will be used -- checking for module 'x11' -- package 'x11' not found CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal) /vorx/MediaSamples/builder/FindPackages.cmake:308 (pkg_check_modules) CMakeLists.txt:19 (include) -- OpenCL was found here: /opt/intel/opencl and /opt/intel/opencl/include The following targets were NOT configured: sample_common_sw sample_decode_sw sample_decvpp_sw sample_encode_sw sample_multi_transcode_sw sample_vpp_sw The following targets will be SKIPPED: sample_common_x11 sample_decode_x11 sample_decvpp_x11 sample_encode_x11 sample_h265_gaa_sw sample_h265_gaa_drm sample_h265_gaa_x11 sample_multi_transcode_x11 sample_vpp_x11 The following targets will be BUILT: sample_common sample_common_drm sample_decode_drm sample_decvpp_drm sample_encode_drm sample_multi_transcode_drm sample_rotate_plugin sample_plugin_opencl vpp_plugin sample_vpp_drm -- Configuring incomplete, errors occurred! gmake: *** No targets specified and no makefile found. Stop. [ intel64.make.release State: FAIL ]
here is my cpuinfo.
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
model name : Intel(R) Core(TM) i7-4700EQ CPU @ 2.40GHz
do i miss something?what should i do now?
For CentOS, please run below cmd before compiling samples -
$ sudo yum install gcc g++ make cmake perl xserver-xorg-dev
You should be able to successfully compile the samples after this. If you still experience issue, please let us know.
i reinstall CentOS with the "Development and Creative Workstation" and select all the packet in the list.this time it works well.last time i only select the KDE of the packet-list.