기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.
안녕하세요 고수님들
ffmpeg 라이브러리는 포팅 하였는데 doc/examples/decoding_encoding.c 파일을 컴파일이 안됩니다.
아래와 같이 ffmpeg 라이브러리를 포팅 하였습니다.
./configure --target-os=linux --arch=armv7 --enable-cross-compile --cc=/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc --cross-prefix=/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi- --enable-shared --enable-avresample --enable-libvorbis --prefix=/mnt/mtd6/ffmpeg
make
make install
doc/examples들을 컴파일 하고 싶은데 되지 않습니다. 알려주세요.....
make시 에러
Package libavdevice was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavdevice.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libavdevice' found
Package libswresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libswresample.pc'
to the PKG_CONFIG_PATH environment variable
export PKG_CONFIG_PATH=/mnt/mtd6/ffmpeg/lib/pkgconfig 한 후에 다시 make 해보시면 어떨까요?
.pc 파일은 보통 (make install한 디렉토리)/lib/pkgconfig에 있는 걸로 알고 있습니다.