On 08/22/2016 01:13 PM, Ben wrote:
Yes all the libs are required to make webp work and animation on works
properly from 0.5.1+ and i used this to test builds for the plugin:
./configure --enable-libwebpmux --enable-libwebpdemux
Only the first three should be really required.
Ben, thanks! I finally got GIMP to compile with webp support.
Originally I had installed libwebp in /usr/local, without the
above-listed options. But even after enabling the above-listed options
and reinstalling, GIMP wouldn't compile - the build would fail when it
got to the webp-save code, with the following terminal output:
file-webp-save.o: In function `WebPAnimEncoderOptionsInit':
/usr/local/include/webp/mux.h:454: undefined reference to
file-webp-save.o: In function `save_animation':
build/gimp/plug-ins/file-webp/file-webp-save.c:494: undefined reference
build/gimp/plug-ins/file-webp/file-webp-save.c:512: undefined reference
build/gimp/plug-ins/file-webp/file-webp-save.c:514: undefined reference
build/gimp/plug-ins/file-webp/file-webp-save.c:551: undefined reference
build/gimp/plug-ins/file-webp/file-webp-save.c:516: undefined reference
file-webp-save.o: In function `WebPAnimEncoderNew':
/usr/local/include/webp/mux.h:471: undefined reference to
Uninstalling libwebp from /usr/local and installing it directly in the
prefix in which GIMP is built allowed the build to finish, and now GIMP
indeed can open and save webp files.
Does anyone know why GIMP couldn't find WebPAnimEncoder when libwebp was
installed in /usr/local? Maybe I needed to tell GIMP to include
/usr/local/lib or some such? Maybe something like this?
gimp-developer-list mailing list
List address: firstname.lastname@example.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives: https://mail.gnome.org/archives/gimp-developer-list