Page 1 of 1

vlc compile with x264

Posted: 13 Jul 2005 13:41
by haasviktor
Hi

I try to compile vlc under gentoo linux.
I get the svn version of x264 and vlc.
I compiled x264

./configure --enable-pthread --extra-cflags="-march=athlon64 -O4 -pipe -fomit-frame-pointer"

make

make install

x264 works.

After that i try to compile vlc.

./configure --enable-dvdread --enable-v4l --enable-faad --enable-flac --enable-x264 --enable-ncurses --with-v4l=/usr/src/linux --with-x264-tree=/home/haas/x264 CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer" CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"

and i get an error:

checking for png_set_rows in -lpng... yes
checking for x264.h in /home/haas/x264... yes
checking for x264_encoder_open in -lx264... no
configure: error: the specified tree hasn't been compiled

I compiled x264. I can't understand why write this.

I can't solve this problem.
Please help!

Viktor

Posted: 13 Jul 2005 13:55
by dionoea
i don't have a clue about your error. But i don't understand why you make install if you're using --with-x264-tree. Either you install x264 and don't specify a tree Or you don't install it and you specify a tree.

Posted: 13 Jul 2005 14:29
by haasviktor
I can solve it.

When compile x264 don't use --enable-pthread.

Viktor

Posted: 13 Jul 2005 16:51
by Guest
Hi Dionoea

Is it possible to support pthread of x264 in vlc.
Because I'd like to encode realtime by vlc and it will be good to dual core processors.

Viktor

Posted: 14 Jan 2007 00:34
by episkal
Hi!

I have the same error under ubuntu edgy

Code: Select all

checking for png_set_rows in -lpng... yes checking for x264.h in /home/haas/x264... yes checking for x264_encoder_open in -lx264... no configure: error: the specified tree hasn't been compiled
even after compiling x264 without pthread option, ldconfig also didn't help.

can anyone help me ?

thanks