[x264-devel] function DECLARE ALIGNED
SILVIA BARISON
barison.silvia at student.unife.it
Wed Sep 21 13:46:17 CEST 2005
Hi,
I'm a newbie.
I tried to compile tehe x264 code, with Microsoft Visual c++,
but it generate this error
Compiling...
x264.c
c:\msys\1.0\home\infostore\x264\core\common.h(250) : error C2061: syntax
error : identifier 'DECLARE_ALIGNED'
c:\msys\1.0\home\infostore\x264\core\common.h(251) : error C2143: syntax
error : missing ')' before '['
c:\msys\1.0\home\infostore\x264\core\common.h(251) : error C2081:
'chroma_dc' : name in formal parameter list illegal
c:\msys\1.0\home\infostore\x264\core\common.h(251) : error C2090: function
returns array
c:\msys\1.0\home\infostore\x264\core\common.h(251) : error C2059: syntax
error : 'constant'
c:\msys\1.0\home\infostore\x264\core\common.h(251) : error C2059: syntax
error : ')'
c:\msys\1.0\home\infostore\x264\core\common.h(256) : error C2061: syntax
error : identifier 'DECLARE_ALIGNED'
c:\msys\1.0\home\infostore\x264\core\common.h(257) : error C2143: syntax
error : missing ')' before '['
c:\msys\1.0\home\infostore\x264\core\common.h(257) : error C2081:
'luma4x4' : name in formal parameter list illegal
c:\msys\1.0\home\infostore\x264\core\common.h(257) : error C2090: function
returns array
c:\msys\1.0\home\infostore\x264\core\common.h(257) : error C2059: syntax
error : 'constant'
c:\msys\1.0\home\infostore\x264\core\common.h(257) : error C2059: syntax
error : ')'
c:\msys\1.0\home\infostore\x264\core\common.h(258) : error C2059: syntax
error : '}'
c:\msys\1.0\home\infostore\x264\core\common.h(259) : error C2059: syntax
error : '}'
about this fraction of code:
/* Current MB DCT coeffs */
struct
{
uint8_t luma16x16_dc[16];
DECLARE_ALIGNED(uint8_t, luma16x16_dc[16], 16 );
DECLARE_ALIGNED(uint8_t, chroma_dc[2][4], 16 );
struct
{
DECLARE_ALIGNED( uint8_t, residual_ac[15], 16);
DECLARE_ALIGNED( uint8_t, luma4x4[16], 16);
} block[16+8];
} dct;
I have include in this progect also the file
Common.h e inttypes.h
Can you help me?
How can I resolve this problem in compilation?
Thanks
Silvia
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list