[FFmpeg-devel] libopenjpeg only looks for openjpeg.h in includedir
sean darcy
seandarcy2
Sun Mar 1 19:32:19 CET 2009
building svn 17690:
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I.
-I"/home/video/rpmbuild/BUILD/ffmpeg" -O2 -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=native -mtune=native
-fasynchronous-unwind-tables -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112
-std=c99 -fomit-frame-pointer -march=k8 -pthread -I/usr/include/dirac
-I/usr/include/schroedinger-1.0 -I/usr/include/liboil-0.3
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual
-Wwrite-strings -Wtype-limits -Wundef -O3 -fno-math-errno
-fno-signed-zeros -c -o libavcodec/libopenjpeg.o
libavcodec/libopenjpeg.c
libavcodec/libopenjpeg.c:30:22: error: openjpeg.h: No such file or directory
On Fedora 10, openjpeg.h is packaged in <includedir>/openjpeg:
locate openjpeg.h
/usr/include/openjpeg/openjpeg.h
Interestingly --extra-ldflags="-I/usr/include/openjpeg" does not make a
difference. It doesn't seem to be picked up by the libavcodec Makefile.
Actually patching libavcodec/libopenjpeg.c does.
A small nit before the grand release.
sean
More information about the ffmpeg-devel
mailing list