[x264-devel] Compiling on Centos 7

Sérgio Basto sergio at serjux.com
Mon Jan 25 17:35:25 CET 2016



On Qua, 2015-10-07 at 18:21 +0000, brian461 at comcast.net wrote:
> I have no issues on centos 6 but my provider only installs Centos 7
> and I get the following error when running make to build it.

Please try use [1] our last build on RPMFusion for Fedora 23 , should
be compatible with epel 7 and 6 , any feedback is welcome .

Thanks 

[1] 
http://download1.rpmfusion.org/free/fedora/updates/testing/23/SRPMS/x26
4-0.148-5.20160118git5c65704.fc23.src.rpm


> 
> gcc -Wno-maybe-uninitialized -Wshadow -O1 -g -m64  -Wall -I. -I.
> -std=gnu99 -mpreferred-stack-boundary=5   -fno-tree-vectorize   -c -o
> x264.o x264.c
> x264.c: In function ‘print_csp_names’:
> x264.c:445:15: error: variable ‘i’ has initializer but incomplete
> type
>      for( enum PixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB;
> i++ )
>                ^
> x264.c:445:27: error: storage size of ‘i’ isn’t known
>      for( enum PixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB;
> i++ )
>                            ^
> x264.c:445:5: error: ‘enum PixelFormat’ declared in ‘for’
> loop initial declaration
>      for( enum PixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB;
> i++ )
>      ^
> x264.c:445:27: warning: unused variable ‘i’ [-Wunused-variable]
>      for( enum PixelFormat i = AV_PIX_FMT_NONE+1; i < AV_PIX_FMT_NB;
> i++ )
>                            ^
> make: *** [x264.o] Error 1
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel
-- 
Sérgio M. B.




More information about the x264-devel mailing list