Re: [LAU] Problem to compile xjadeo

From: Robin Gareus <robin@email-addr-hidden>
Date: Sun Dec 28 2008 - 17:58:34 EET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Esben Stien wrote:
> Robin Gareus <robin@email-addr-hidden> 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-----
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Sun Dec 28 20:15:02 2008

This archive was generated by hypermail 2.1.8 : Sun Dec 28 2008 - 20:15:02 EET