https://bugzilla.rpmfusion.org/show_bug.cgi?id=4640

--- Comment #6 from Patrice Ferlet <meta...@gmail.com> ---
One more time, sorry... 

I changed files

- removed the bad char (that was an utf-8 decorative char that I copied from
website)
- use desktop file validation
- taken last source from git

specfile: https://examples.metal3d.org/slowmoVideo/slowmoVideo.spec
srpm:
https://examples.metal3d.org/slowmoVideo/slowmovideo-git32b1902-2.fc26.src.rpm


Dependencies:

BuildRequires: cmake
BuildRequires: ffmpeg-devel
BuildRequires: qt5-devel
BuildRequires: gcc-c++
BuildRequires: glew-devel
BuildRequires: glut-devel
BuildRequires: SDL-devel
BuildRequires: libpng-devel
BuildRequires: libjpeg-devel
BuildRequires: opencv-devel
BuildRequires: desktop-file-utils

Requires: ffmpeg
Requires: qt5
Requires: glew
Requires: glut
Requires: SDL
Requires: libpng
Requires: libjpeg
Requires: opencv


Compilation is ok with "mock" command:

mock rpmbuild/SRPMS/slowmovideo-git32b1902-2.fc26.src.rpm -r
fedora-26-x86_64-rpmfusion_nonfree --no-clean




Note, with nvidia package installed, the compilation will not work... OpenCL
problem it seems, that problem is largely reported on several projects:

cd
/home/patachou/rpmbuild/BUILD/slowmoVideo-33f5c8496d98a972e7c40600332c6f7ebf83dca4/slowmoVideo/slowmoCLI
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/slowmoVideoInfo.dir/link.txt
--verbose=1
/usr/lib64/ccache/c++  -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wall -g
-DNDEBUG  -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic
CMakeFiles/slowmoVideoInfo.dir/videoInfo.cpp.o  -o slowmoVideoInfo
../lib/libsVinfo.a ../lib/libsV.a -lavformat -lavcodec -lavutil -lswscale
/usr/lib64/libQt5Gui.so.5.7.1 /usr/lib64/libQt5Core.so.5.7.1 
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clReleaseMemObject@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clReleaseCommandQueue@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clSetKernelArg@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clGetPlatformInfo@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clEnqueueUnmapMemObject@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clCreateProgramWithSource@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clCreateContextFromType@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clCreateCommandQueue@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clEnqueueMapBuffer@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clGetProgramBuildInfo@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clCreateBuffer@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clBuildProgram@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clGetDeviceIDs@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clGetDeviceInfo@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clReleaseContext@OPENCL_1.0'
/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/libavutil.so: undefined
reference to `clGetPlatformIDs@OPENCL_1.0'
collect2: error: ld returned 1 exit status

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org

Reply via email to