[Libav-user] Linker error libswresample
Davide Caresia
caresia.davide at gmail.com
Sat Aug 8 16:42:59 CEST 2015
No luck even with that order.
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS=
.build-conf
make[1]: ingresso nella directory
"/home/davide/Documenti/Tesi/audiosync-fin/audiosync"
"/usr/bin/make" -f nbproject/Makefile-Debug.mk
dist/Debug/GNU-Linux-x86/audiosync
make[2]: ingresso nella directory
"/home/davide/Documenti/Tesi/audiosync-fin/audiosync"
mkdir -p build/Debug/GNU-Linux-x86
rm -f "build/Debug/GNU-Linux-x86/dataReader.o.d"
g++ -c -g -MMD -MP -MF "build/Debug/GNU-Linux-x86/dataReader.o.d" -o
build/Debug/GNU-Linux-x86/dataReader.o dataReader.cpp
mkdir -p dist/Debug/GNU-Linux-x86
g++ -o dist/Debug/GNU-Linux-x86/audiosync
build/Debug/GNU-Linux-x86/dataReader.o build/Debug/GNU-Linux-x86/main.o
build/Debug/GNU-Linux-x86/tansforms.o build/Debug/GNU-Linux-x86/tognuplot.o
-lavformat -lavcodec -lswresample -lavutil -lz -lm -llzma -lfftw3
/usr/local/lib/libswresample.a(rematrix.o): nella funzione
"swri_rematrix_init":
/home/davide/Documenti/Tesi/Libraries/ffmpeg/ffmpeg-2.7.2/libswresample/rematrix.c:365:
riferimento non definito a "av_calloc"
/home/davide/Documenti/Tesi/Libraries/ffmpeg/ffmpeg-2.7.2/libswresample/rematrix.c:377:
riferimento non definito a "av_calloc"
/home/davide/Documenti/Tesi/Libraries/ffmpeg/ffmpeg-2.7.2/libswresample/rematrix.c:389:
riferimento non definito a "av_calloc"
/usr/local/lib/libswresample.a(resample.o): nella funzione "resample_init":
/home/davide/Documenti/Tesi/Libraries/ffmpeg/ffmpeg-2.7.2/libswresample/resample.c:220:
riferimento non definito a "av_calloc"
collect2: error: ld returned 1 exit status
nbproject/Makefile-Debug.mk:65: set di istruzioni per l'obiettivo
"dist/Debug/GNU-Linux-x86/audiosync" non riuscito
make[2]: *** [dist/Debug/GNU-Linux-x86/audiosync] Errore 1
make[2]: uscita dalla directory
"/home/davide/Documenti/Tesi/audiosync-fin/audiosync"
nbproject/Makefile-Debug.mk:62: set di istruzioni per l'obiettivo
".build-conf" non riuscito
make[1]: *** [.build-conf] Errore 2
make[1]: uscita dalla directory
"/home/davide/Documenti/Tesi/audiosync-fin/audiosync"
nbproject/Makefile-impl.mk:39: set di istruzioni per l'obiettivo
".build-impl" non riuscito
make: *** [.build-impl] Errore 2
BUILD FAILED (exit value 2, total time: 381ms)
2015-08-08 16:37 GMT+02:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:
> Davide Caresia <caresia.davide at ...> writes:
>
> > -lavformat -lavcodec -lavutil -lswresample -lz -lm -llzma -lfftw3
>
> Please put -lavutil behind -lswresample, the order
> generally does matter.
>
> Carl Eugen
>
> _______________________________________________
> 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/20150808/3465bad2/attachment.html>
More information about the Libav-user
mailing list