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

FFmpeg trac at avcodec.org
Tue Dec 12 12:11:53 EET 2017


#6893: Compile hwcontext_opencl.c: undefined reference to several OpenCL functions
------------------------------------+-----------------------------------
             Reporter:  LigH        |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avutil
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by LigH):

 Following this suggestion, I got a new library installed, but the issue
 persists for me.

 This libOpenCL.a contains symbols clCreateImage3D(@44) and
 clCreateImage2D(@36), but not clCreateImage(@28) alone (one of the symbols
 reported as missing while trying to link avutil-56.dll).

 The OpenCL.def used does not contain this export either. Snippet from the
 header (whole file will be attached):

 {{{
 ;
 ; Definition file of OpenCL.dll
 ; Automatic generated by gendef
 ; written by Kai Tietz 2008
 ;
 }}}

 Is this content specific to my hardware? If so, maybe that's the reason
 why my build is not as hardware independent as expected?

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


More information about the FFmpeg-trac mailing list