Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

MediaSamples_Linux_6.0 generated failed

然_魏_
Beginner
407 Views

Hi, I tried to generated MediaSamples with MediaServerStudioEssentials2015R6. following
\MediaSamples_Linux_6.0.16043175.175\Media_Samples_Guide.pdf

 

 

Error details:

——————————————————————————————————————————————

[ samples]# perl build.pl --cmake=intel64,make,debug --build --clean

...............

cd /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug/sample_plugins/rotate_opencl && /bin/c++   -DLINUX -DLINUX32 -DLINUX64 -DMFX_FILE_VERSION=\"0.15.11.30\" -DMFX_PRODUCT_VERSION=\"0.0.000.0000\" -DUNIX -D_FILE_OFFSET_BITS=64 -D__USE_LARGEFILE64 -Dsample_plugin_opencl_EXPORTS -m64 -msse4.2 -pipe -fPIC -O0 -Wall -Wno-unknown-pragmas -Wno-unused -g -D_DEBUG -fPIC -I/opt/intel/mediasdk/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_common/include -I/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include    -DCL_USE_DEPRECATED_OPENCL_1_1_APIS  -I/usr/include  -DLIBVA_SUPPORT  -o CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o -c /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp
In file included from /home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/src/opencl_filter_va.cpp:13:0:
/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/sample_plugins/rotate_opencl/include/opencl_filter_va.h:25:23: fatal error: CL/va_ext.h: No such file or directory
 #include <CL/va_ext.h>
                       ^

compilation terminated.
gmake[2]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/src/opencl_filter_va.cpp.o] Error 1
gmake[2]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake[1]: *** [sample_plugins/rotate_opencl/CMakeFiles/sample_plugin_opencl.dir/all] Error 2
gmake[1]: Leaving directory `/home/MediaSDK_R6/MediaSamples_Linux_6.0.16043175.175/samples/__cmake/intel64.make.debug'
gmake: *** [all] Error 2

[ intel64.make.debug                                 State: FAIL ]

————————————————————————————————————————————————————

However, I had installed OpenCL successfully:

[samples]# find / -name libOpenCL.so*
/opt/intel/opencl/libOpenCL.so.1
/opt/intel/opencl/libOpenCL.so
/opt/intel/opencl/libOpenCL.so.1.2
[samples]#

 

[ samples]# find / -name va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/common/CL/va_ext.h
/opt/intel/mediasdk/MediaSamples_Linux_5.0.1604371.71/samples/opencl_motionestimation/MotionEstimation/CL/va_ext.h
/opt/intel/opencl/include/CL/va_ext.h
[ samples]#

————————————————————————————————————————————————————————

Have I done something wrong? Can anyone help me? Thanks~

 

 

Platform:
——————————————————————————————————————————
      8  Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller

[8086:0412] (rev 06)
——————————————————————————————————————————
 

 

0 Kudos
0 Replies
Reply