-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Esben Stien wrote:
Robin Gareus <robin(a)gareus.org> writes:
see
https://sourceforge.net/forum/message.php?msg_id=5863567 - this
got fixed a while ago in the SVN repo but there has not been a new
release since.
I had to edit all the makefiles, cause this is not where my headers
are placed.
In the makefile it says:
FFMPEG_CFLAGS = -I/usr/include/ffmpeg//libavcodec
-I/usr/include/ffmpeg//libavformat -I/usr/include/ffmpeg//libavutil
-I/usr/include/ffmpeg//libswscale
, but missing where I have my headers:
-I/usr/include/ffmpeg
thanks; that may help others, who are using the same distribution as you
are.
The *new* ffmpeg style is to have them in subfolders:
$ ls /usr/include/ffmpeg/
libavcodec libavformat libavutil libswscale
The proper way would be to use
#include <libavcodec/avcodec.h>
instead of
#include <avcodec.h>
in the sources. However xjadeo has some history and supports various
"ffmpeg snapshots" made by various distributions from CCRMA, SuSE,
debian-multimedia, marrilat, etc - cleaning this up is no fun.
Given that I work on (and with) xjadeo's successor for about half a year
now the chances that it'll get fixed are rather slim. (besides: your
trick would no longer work)
If you install the latest ffmpeg (r16370) to /usr/ - xjadeo's
./configure script will automatically pick it up via pkginfo.
You can also set the PKG_CONFIG_PATH env variable to where you installed
ffmpeg before compiling (and LD_CONFIG_PATH or /etc/ld.so.conf before
running) xjadeo. - If that does not work it's worth fixing.
cheers,
robin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAklXoioACgkQeVUk8U+VK0JM/wCgogeTN2O5sNuQdtr+X3JUGYm0
3AgAniyd1wY2iwqdYCysjRIGIMXmQKgT
=AN4L
-----END PGP SIGNATURE-----