Out-of-tree compilation agains VLC GIT

This forum is about all development around libVLC.
kostyan
Blank Cone
Blank Cone
Posts: 34
Joined: 15 Jun 2012 12:07
VLC version: 2.1.0-git
Operating System: Linux
Location: Berlin, Germany

Out-of-tree compilation agains VLC GIT

Postby kostyan » 25 Oct 2012 13:55

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?
Konstantin Miller
Technische Universität Berlin

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Out-of-tree compilation agains VLC GIT

Postby Jean-Baptiste Kempf » 25 Oct 2012 13:56

It can, just adjust your PKG_CONFIG_PATH
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kostyan
Blank Cone
Blank Cone
Posts: 34
Joined: 15 Jun 2012 12:07
VLC version: 2.1.0-git
Operating System: Linux
Location: Berlin, Germany

Re: Out-of-tree compilation agains VLC GIT

Postby kostyan » 31 Oct 2012 08:39

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?
Konstantin Miller
Technische Universität Berlin

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Out-of-tree compilation agains VLC GIT

Postby Jean-Baptiste Kempf » 31 Oct 2012 14:43

It seems correct for me.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 39 guests