Am 27.03.2016 um 15:23 schrieb Aaron Boxer:
Dear List,
I am still troubleshooting linking to a local build of openjpeg.

This is a static build of openjpeg, and the library  libopenjp2.a
is placed in the /usr/local/lib folder.

(I am on Ubuntu)

My configure command is:

. $ ./configure --enable-libopenjpeg
--extra_cflags="-DHAVE_OPEN_OPENJPEG_2_1_OPENJPEG_H"
--extra-ldflags="-L/usr/local/lib"

But this fails with a "libopenjpeg not found" error

.a files are for static linking
.so files are for dynamic linking

--enable-static --extra-cflags='-I/usr/local/x264' --extra-ldflags='-I/usr/local/x264 -L/usr/local/x264 -ldl'

[root@buildserver:~]$ ls /usr/local/x264/
insgesamt 6,0M
-rw-r--r-- 1 root root 5,9M 2016-03-19 23:09 libx264.a
-rw-r--r-- 1 root root  172 2016-03-19 23:09 x264_config.h
-rw-r--r-- 1 root root  46K 2016-03-19 23:09 x264.h
[root@buildserver:~]$

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to