[FFmpeg-trac] #6893(avutil:new): Compile hwcontext_opencl.c: undefined reference to several OpenCL functions

FFmpeg trac at avcodec.org
Mon Dec 4 17:27:55 EET 2017


#6893: Compile hwcontext_opencl.c: undefined reference to several OpenCL functions
--------------------------------+--------------------------------------
             Reporter:  LigH    |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  avutil  |                  Version:  git-master
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+--------------------------------------
 Trying to compile ffmpeg for Win32 with OpenCL support in media-
 autobuild_suite.

 {{{
 Likely error:
 LD      libavutil/avutil-56.dll
 libavutil/hwcontext_opencl.o:hwcontext_opencl.c:(.text+0xe33): undefined
 reference to `clCreateImage at 28'
 libavutil/hwcontext_opencl.o:hwcontext_opencl.c:(.text+0x137f): undefined
 reference to `clGetExtensionFunctionAddressForPlatform at 8'
 libavutil/hwcontext_opencl.o:hwcontext_opencl.c:(.text+0x153b): undefined
 reference to `clGetExtensionFunctionAddressForPlatform at 8'
 libavutil/hwcontext_opencl.o:hwcontext_opencl.c:(.text+0x3431): undefined
 reference to `clGetExtensionFunctionAddressForPlatform at 8'
 libavutil/hwcontext_opencl.o:hwcontext_opencl.c:(.text+0x3472): undefined
 reference to `clGetExtensionFunctionAddressForPlatform at 8'
 libavutil/hwcontext_opencl.o:hwcontext_opencl.c:(.text+0x34b3): undefined
 reference to `clGetExtensionFunctionAddressForPlatform at 8'
 libavutil/hwcontext_opencl.o:hwcontext_opencl.c:(.text+0x35be): more
 undefined references to `clGetExtensionFunctionAddressForPlatform at 8'
 follow
 collect2.exe: error: ld returned 1 exit status
 make: *** [/build/ffmpeg-git/ffbuild/library.mak:103:
 libavutil/avutil-56.dll] Error 1
 }}}

 Log file collection attached.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6893>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list