vlc compile with x264

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
haasviktor
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2005 17:26

vlc compile with x264

Postby haasviktor » 13 Jul 2005 13:41

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 Jul 2005 13:55

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.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

haasviktor
Blank Cone
Blank Cone
Posts: 16
Joined: 12 Apr 2005 17:26

Postby haasviktor » 13 Jul 2005 14:29

I can solve it.

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

Viktor

Guest

Postby Guest » 13 Jul 2005 16:51

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

episkal
New Cone
New Cone
Posts: 1
Joined: 14 Jan 2007 00:22

Postby episkal » 14 Jan 2007 00:34

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 53 guests