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 <[email protected]> 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 > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
