compiling modified source code for a single module

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jack_kanaska

compiling modified source code for a single module

Postby jack_kanaska » 30 Mar 2005 04:25

Hi,

We are trying to modify VLC's interface functionality, and we are looking for a convenient way of quickly compiling changes made to a few specific files (eg modules/control/rc.c) without recompiling the entire system.

Any help or suggestions are greatly appreciated.

Cheers,
Jack.

Sigmund
Big Cone-huna
Big Cone-huna
Posts: 893
Joined: 26 Nov 2003 09:38

Postby Sigmund » 30 Mar 2005 09:18

if the desired module is compiled as a plugin this can be done my something like this:
cd modules/control&&make librc_plugin.so; cd ../..

if the desired module is a builtin you need something like this:
cd modules/control&&make librc_plugin.a; cd ../.. && make vlc

also for plugins, just running make in the correct folder will usually improve speed considerably, while reducing the amount of typing needed

Guest

Postby Guest » 19 May 2005 13:15

Hi,

I'm interested in recompile a modified .c file too (well, a .cpp). I get the .cpp file compiled (unless make makes something), but when I type "make vlc" it says "nothing to be done to vlc". If I recompile all again, it works, but it takes a lot of time.

DO you know what is the problem?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests