Page 1 of 1

Out-of-tree compilation agains VLC GIT

Posted: 25 Oct 2012 13:55
by kostyan
I would like to compile an access module out-of-tree but agains the latest VLC code from the GIT. Is it possible?

One problem that I see in http://wiki.videolan.org/OutOfTreeCompile is that is depends on pkg-config to learn about the cflags and libs to be used but this approach does not work when I want to use VLC from GIT, does it?

Re: Out-of-tree compilation agains VLC GIT

Posted: 25 Oct 2012 13:56
by Jean-Baptiste Kempf
It can, just adjust your PKG_CONFIG_PATH

Re: Out-of-tree compilation agains VLC GIT

Posted: 31 Oct 2012 08:39
by kostyan
Thanks for your answer.

Now I have a follow-up question.

When I do pkg-config --libs vlc/src/vlc-plugin.pc (where vlc is the root of VLC GIT tree), I get -L/usr/local/lib -lvlccore. Is it expected behavior that I get this path with -L? Shouldn't I get a path to the libvlccore.so in vlc/src/.libs within the GIT tree?

Re: Out-of-tree compilation agains VLC GIT

Posted: 31 Oct 2012 14:43
by Jean-Baptiste Kempf
It seems correct for me.