Page 1 of 1

Compiling problem with x264 version

Posted: 17 Feb 2009 10:23
by jgg
Hi,

In order to get a "full compatible" VLC version with the Java bindings I need to install VLC 0.9.0-test3. When I try to compile it, having VLC 0.9.8a installed it, so dependencies are installed as well, I get this error:

Code: Select all

gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__LIBVLC__ -D__PLUGIN__ -DMODULE_NAME=x264 -DMODULE_NAME_IS_x264 -DMODULE_STRING=\"x264\" -O2 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var -MT libx264_plugin_la-x264.lo -MD -MP -MF .deps/libx264_plugin_la-x264.Tpo -c x264.c -fPIC -DPIC -o .libs/libx264_plugin_la-x264.o x264.c: In function ‘Open’: x264.c:1041: error: ‘x264_param_t’ has no member named ‘b_bframe_adaptive’ x264.c:1083: error: ‘struct <anonymous>’ has no member named ‘b_bframe_rdo’ x264.c:1093: error: ‘struct <anonymous>’ has no member named ‘b_bidir_me’ make[5]: *** [libx264_plugin_la-x264.lo] Error 1 make[5]: Leaving directory `/home/dulceangustia/vlc-0.9.0-test3/modules/codec' make[4]: *** [install-recursive] Error 1 make[4]: Leaving directory `/home/dulceangustia/vlc-0.9.0-test3/modules/codec' make[3]: *** [install] Error 2 make[3]: Leaving directory `/home/dulceangustia/vlc-0.9.0-test3/modules/codec' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/dulceangustia/vlc-0.9.0-test3/modules' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/dulceangustia/vlc-0.9.0-test3' make: *** [install] Error 2
I guess is something related to x264 libraries version used in 0.9.8a and 0.9.0-test3, so they are not the same, but I don't know which version I need to install in order to get 0.9.0-test3 working.

Can anyone help me, please? Is quite important...

Re: Compiling problem with x264 version

Posted: 17 Feb 2009 12:36
by Jean-Baptiste Kempf
Take an older version of x264

Re: Compiling problem with x264 version

Posted: 17 Feb 2009 12:55
by jgg
I guess is something related to x264 libraries version used in 0.9.8a and 0.9.0-test3, so they are not the same, but I don't know which version I need to install in order to get 0.9.0-test3 working.
I hoped someone could tell me which older version I should use...