[Libav-user] undefined reference to `vaGetDisplay'

Leandro Moreira leandro.ribeiro.moreira at gmail.com
Sun Dec 10 02:15:02 EET 2017


Did you try?
https://stackoverflow.com/questions/38850260/errors-when-compiling-c-code-with-ffmpeg-library
https://stackoverflow.com/questions/38995044/errors-of-vagetdisplay-and-vagetdisplaydrm

On Sat, Dec 9, 2017 at 9:10 PM Davood Falahati <falahati.davood at gmail.com>
wrote:

> Dear all,
>
> I has compiled ffmpeg from source as per instructed by :
>
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
>
> When I want to compile my code, I get this error:
>
> /home/dfalahati/*ffmpeg_sources*/ffmpeg/libavutil/hwcontext_vaapi.c:1275:
> error: undefined reference to `*vaGetDisplay*'
>
> I have also added the following static libs:
>
> LIBS += -L/home/dfalahati/*ffmpeg_build*/lib -lavdevice -lavfilter -lavformat -lavcodec -lx264 -lx265 -lpostproc -lvpx  -lmp3lame -lfdk-aac   -lswresample -lswscale -lavutil -lopus -lyasm
>
> LIBS += -L/usr/local/lib -lm -lz -ldl -lvorbis -lass -ltheora  \
>
>         -lX11  -lasound -lpthread  -lz -pthread -lXv \
>
>         -lvdpau -lva-drm  -lva -lxcb-shm -lxcb-xfixes \
>
>          -lxcb -lXau -lXdmcp  \
>
>          -lrt  -lvorbisenc -ltheoraenc -ltheoradec -logg \
>
>         -lfontconfig -lfribidi -lexpat -lfreetype -lpng12 -llzma  -lnuma \
>
>           -lpulse-simple -lpulse -lstdc++ -lrt
>
>          -lharfbuzz  -llzma -lbz2
>
>
> FYI, I am using ubuntu and I use QtCreator as my favorite C/C++ IDE.
>
> Yours,
> Davood
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20171210/c8924dfc/attachment.html>


More information about the Libav-user mailing list