2009/8/3 Alessandro Ferrari <[email protected]>
> I try to compiling that i've done that use ffmpeg and i have this compiler > error: > > /usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf > make[1]: Entering directory > `/home/alessandro/NetBeansProjects/prototipo_decoder_v1' > /usr/bin/make -f nbproject/Makefile-Debug.mk > dist/Debug/GNU-Linux-x86/prototipo_decoder_v1 > make[2]: Entering directory > `/home/alessandro/NetBeansProjects/prototipo_decoder_v1' > mkdir -p build/Debug/GNU-Linux-x86 > rm -f build/Debug/GNU-Linux-x86/decoder.o.d > gcc -c -g -I/root/ffmpeg -I/root/ffmpeg/libavcodec > -I/root/ffmpeg/libavformat -I/root/ffmpeg/libavutil > -I/root/ffmpeg/libavutil/x86 -I/root/ffmpeg/libavcodec/x86 -I/root/x264 -MMD > -MP -MF build/Debug/GNU-Linux-x86/decoder.o.d -o > build/Debug/GNU-Linux-x86/decoder.o decoder.c > mkdir -p dist/Debug/GNU-Linux-x86 > gcc -o dist/Debug/GNU-Linux-x86/prototipo_decoder_v1 > build/Debug/GNU-Linux-x86/decoder.o -lavformat -lavcodec -lavdevice -lavutil > -lswscale -lpthread -lxvidcore -lx264 -ltheora -logg -laudio -lmp4ff > -lmp3lame -lfaac -lfaad > */usr/bin/ld: cannot find -lx264 > collect2: ld returned 1 exit status > make[2]: *** [dist/Debug/GNU-Linux-x86/prototipo_decoder_v1] Error 1 > make[2]: Leaving directory > `/home/alessandro/NetBeansProjects/prototipo_decoder_v1' > make[1]: *** [.build-conf] Error 2 > make[1]: Leaving directory > `/home/alessandro/NetBeansProjects/prototipo_decoder_v1' > make: *** [.build-impl] Error 2 > BUILD FAILED (exit value 2, total time: 269ms) > * > > libx264 is installed in /root/x264/ and the library is included with > -libx264 > I've not any idea on the possible solution. Anyone have a similar problem > or a possible solution? > Thanks in advance > > I resolve the problem simply run in the terminal sudo cp /root/x264/libx264.a /usr/local/lib/. I try it because i was desperate and i don't know why it works, but it works. If somebody knows the nature of this miracle please explain me. Thanks. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
