Saving time during recompilation

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
ramprasad85
Blank Cone
Blank Cone
Posts: 22
Joined: 30 Sep 2008 12:34

Saving time during recompilation

Postby ramprasad85 » 24 Oct 2008 15:47

Hi
i am trying to modify x264 and build VLC using that
my configure-vlc.sh file is as follows

./configure -C \
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ramprasad/x264 \
CC="ccache gcc" CXX="ccache g++" \
--disable-gtk \
--disable-avcodec --disable-avformat --disable-swscale \
--disable-faad --disable-flac --disable-theora \
--disable-cddax --disable-vcdx --disable-goom \
--disable-twolame --disable-dvdread \
--enable-debug --disable-dca \
--disable-mkv --disable-taglib \
--disable-mad --disable-live555 \
--disable-postproc \
--enable-x264 --with-x264-tree=/home/ramprasad/x264


I have no problems in configuring and building,
but whenever i make a change in x264, i am doing the following in vlc directory
make clean
./configure-vlc.sh
make
the whole process takes atleast 15 mins

if i just run make, it doesnot reflect the modifications

i believe only linking is required rather than compiling the whole VLC source
please tell what i need to do, so that i can use the modified x264 with little effort.

Thank you

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: Saving time during recompilation

Postby Jean-Baptiste Kempf » 25 Oct 2008 05:00

Sorry, but if you do "make", it will recompile only what you modified in vlc trunk. If you modify x264 object, then just run "make clean; make" in modules/codec/
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.

ramprasad85
Blank Cone
Blank Cone
Posts: 22
Joined: 30 Sep 2008 12:34

Re: Saving time during recompilation

Postby ramprasad85 » 28 Oct 2008 06:52

yeh it worked
Thanks a lot


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 142 guests