Opened 13 years ago

Closed 13 years ago

#836 closed defect (worksforme)

I can't compile with x264 codec

Reported by: tiel@… Owned by: reimar
Priority: important Component: core
Version: 1.0rc1 Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I got this error when I try "make":

x264.c:23:18: error: x264.h: No such file or directory
x264.c:30: error: expected specifier-qualifier-list before 'x264_param_t'
x264.c: In function 'X264_log':
x264.c:40: error: 'X264_LOG_ERROR' undeclared (first use in this function)
x264.c:40: error: (Each undeclared identifier is reported only once
x264.c:40: error: for each function it appears in.)
x264.c:40: error: array index in initializer not of integer type
x264.c:40: error: (near initialization for 'level_map')
x264.c:41: error: 'X264_LOG_WARNING' undeclared (first use in this function)
x264.c:41: error: array index in initializer not of integer type
x264.c:41: error: (near initialization for 'level_map')
x264.c:42: error: 'X264_LOG_INFO' undeclared (first use in this function)
x264.c:42: error: array index in initializer not of integer type
x264.c:42: error: (near initialization for 'level_map')
x264.c:43: error: 'X264_LOG_DEBUG' undeclared (first use in this function)
x264.c:43: error: array index in initializer not of integer type
x264.c:43: error: (near initialization for 'level_map')
x264.c: At top level:
x264.c:54: error: expected declaration specifiers or '...' before 'x264_nal_t'
x264.c: In function 'encode_nals':
x264.c:60: error: 'nals' undeclared (first use in this function)
x264.c: In function 'X264_frame':
x264.c:74: error: 'x264_nal_t' undeclared (first use in this function)
x264.c:74: error: 'nal' undeclared (first use in this function)
x264.c:75: warning: ISO C90 forbids mixed declarations and code
x264.c:76: error: 'x264_picture_t' undeclared (first use in this function)
x264.c:76: error: expected ';' before 'pic_out'
x264.c:78: error: 'X264Context' has no member named 'pic'
x264.c:78: error: 'X264_CSP_I420' undeclared (first use in this function)
x264.c:79: error: 'X264Context' has no member named 'pic'
x264.c:82: error: 'X264Context' has no member named 'pic'
x264.c:83: error: 'X264Context' has no member named 'pic'
x264.c:86: error: 'X264Context' has no member named 'pic'
x264.c:87: error: 'X264Context' has no member named 'pic'
x264.c:87: error: 'X264_TYPE_AUTO' undeclared (first use in this function)
x264.c:89: error: 'X264Context' has no member named 'enc'
x264.c:89: error: 'X264Context' has no member named 'pic'
x264.c:89: error: 'pic_out' undeclared (first use in this function)
x264.c:92: error: too many arguments to function 'encode_nals'
x264.c:97: error: 'X264Context' has no member named 'out_pic'
x264.c:100: error: 'X264_TYPE_IDR' undeclared (first use in this function)
x264.c:101: error: 'X264_TYPE_I' undeclared (first use in this function)
x264.c:102: error: 'X264Context' has no member named 'out_pic'
x264.c:104: error: 'X264_TYPE_P' undeclared (first use in this function)
x264.c:105: error: 'X264Context' has no member named 'out_pic'
x264.c:107: error: 'X264_TYPE_B' undeclared (first use in this function)
x264.c:108: error: 'X264_TYPE_BREF' undeclared (first use in this function)
x264.c:109: error: 'X264Context' has no member named 'out_pic'
x264.c:113: error: 'X264Context' has no member named 'out_pic'
x264.c:114: error: 'X264Context' has no member named 'out_pic'
x264.c: In function 'X264_close':
x264.c:124: error: 'X264Context' has no member named 'enc'
x264.c:125: error: 'X264Context' has no member named 'enc'
x264.c: In function 'X264_init':
x264.c:135: error: 'X264Context' has no member named 'params'
x264.c:137: error: 'X264Context' has no member named 'params'
x264.c:138: error: 'X264Context' has no member named 'params'
x264.c:140: error: 'X264Context' has no member named 'params'
x264.c:141: error: 'X264Context' has no member named 'params'
x264.c:142: error: 'X264Context' has no member named 'params'
x264.c:143: error: 'X264Context' has no member named 'params'
x264.c:144: error: 'X264Context' has no member named 'params'
x264.c:145: error: 'X264Context' has no member named 'params'
x264.c:148: error: 'X264Context' has no member named 'params'
x264.c:148: error: 'X264_RC_CRF' undeclared (first use in this function)
x264.c:149: error: 'X264Context' has no member named 'params'
x264.c:151: error: 'X264Context' has no member named 'params'
x264.c:151: error: 'X264_RC_CQP' undeclared (first use in this function)
x264.c:152: error: 'X264Context' has no member named 'params'
x264.c:158: error: 'X264Context' has no member named 'params'
x264.c:158: error: 'X264_RC_ABR' undeclared (first use in this function)
x264.c:160: error: 'X264Context' has no member named 'params'
x264.c:161: error: 'X264Context' has no member named 'params'
x264.c:162: error: 'X264Context' has no member named 'params'
x264.c:163: error: 'X264Context' has no member named 'params'
x264.c:164: error: 'X264Context' has no member named 'params'
x264.c:167: error: 'X264Context' has no member named 'params'
x264.c:168: error: 'X264Context' has no member named 'params'
x264.c:168: error: 'X264Context' has no member named 'params'
x264.c:169: error: 'X264Context' has no member named 'params'
x264.c:169: error: 'X264Context' has no member named 'params'
x264.c:171: error: 'X264Context' has no member named 'params'
x264.c:173: error: 'X264Context' has no member named 'params'
x264.c:174: error: 'X264Context' has no member named 'params'
x264.c:175: error: 'X264Context' has no member named 'params'
x264.c:177: error: 'X264Context' has no member named 'params'
x264.c:178: error: 'X264Context' has no member named 'params'
x264.c:179: error: 'X264Context' has no member named 'params'
x264.c:181: error: 'X264Context' has no member named 'params'
x264.c:182: error: 'X264Context' has no member named 'params'
x264.c:183: error: 'X264Context' has no member named 'params'
x264.c:185: error: 'X264Context' has no member named 'params'
x264.c:187: error: 'X264Context' has no member named 'params'
x264.c:188: error: 'X264Context' has no member named 'params'
x264.c:189: error: 'X264Context' has no member named 'params'
x264.c:190: error: 'X264Context' has no member named 'params'
x264.c:191: error: 'X264Context' has no member named 'params'
x264.c:192: error: 'X264Context' has no member named 'params'
x264.c:194: error: 'X264Context' has no member named 'params'
x264.c:197: error: 'X264Context' has no member named 'params'
x264.c:197: error: 'X264_ANALYSE_I4x4' undeclared (first use in this function)
x264.c:199: error: 'X264Context' has no member named 'params'
x264.c:199: error: 'X264_ANALYSE_I8x8' undeclared (first use in this function)
x264.c:201: error: 'X264Context' has no member named 'params'
x264.c:201: error: 'X264_ANALYSE_PSUB16x16' undeclared (first use in this function)
x264.c:203: error: 'X264Context' has no member named 'params'
x264.c:203: error: 'X264_ANALYSE_PSUB8x8' undeclared (first use in this function)
x264.c:205: error: 'X264Context' has no member named 'params'
x264.c:205: error: 'X264_ANALYSE_BSUB16x16' undeclared (first use in this function)
x264.c:208: error: 'X264Context' has no member named 'params'
x264.c:210: error: 'X264Context' has no member named 'params'
x264.c:213: error: 'X264Context' has no member named 'params'
x264.c:213: error: 'X264_ME_DIA' undeclared (first use in this function)
x264.c:215: error: 'X264Context' has no member named 'params'
x264.c:215: error: 'X264_ME_HEX' undeclared (first use in this function)
x264.c:217: error: 'X264Context' has no member named 'params'
x264.c:217: error: 'X264_ME_UMH' undeclared (first use in this function)
x264.c:219: error: 'X264Context' has no member named 'params'
x264.c:219: error: 'X264_ME_ESA' undeclared (first use in this function)
x264.c:220: error: 'X264Context' has no member named 'params'
x264.c:222: error: 'X264Context' has no member named 'params'
x264.c:223: error: 'X264Context' has no member named 'params'
x264.c:225: error: 'X264Context' has no member named 'params'
x264.c:226: error: 'X264Context' has no member named 'params'
x264.c:228: error: 'X264Context' has no member named 'params'
x264.c:229: error: 'X264Context' has no member named 'params'
x264.c:230: error: 'X264Context' has no member named 'params'
x264.c:232: error: 'X264Context' has no member named 'params'
x264.c:233: error: 'X264Context' has no member named 'params'
x264.c:235: error: 'X264Context' has no member named 'params'
x264.c:237: error: 'X264Context' has no member named 'params'
x264.c:242: error: 'X264Context' has no member named 'params'
x264.c:245: error: 'X264Context' has no member named 'params'
x264.c:247: error: 'X264Context' has no member named 'params'
x264.c:248: error: 'X264Context' has no member named 'params'
x264.c:249: error: 'X264Context' has no member named 'params'
x264.c:250: error: 'X264Context' has no member named 'params'
x264.c:252: error: 'X264Context' has no member named 'params'
x264.c:253: error: 'X264Context' has no member named 'params'
x264.c:253: error: 'X264_LOG_DEBUG' undeclared (first use in this function)
x264.c:255: error: 'X264Context' has no member named 'params'
x264.c:257: error: 'X264Context' has no member named 'params'
x264.c:260: error: 'X264Context' has no member named 'params'
x264.c:263: error: 'X264Context' has no member named 'enc'
x264.c:263: error: 'X264Context' has no member named 'params'
x264.c:264: error: 'X264Context' has no member named 'enc'
x264.c:267: error: 'X264Context' has no member named 'out_pic'
x264.c:270: error: 'x264_nal_t' undeclared (first use in this function)
x264.c:270: error: 'nal' undeclared (first use in this function)
x264.c:271: warning: ISO C90 forbids mixed declarations and code
x264.c:273: error: 'X264Context' has no member named 'enc'
x264.c:280: error: too many arguments to function 'encode_nals'
make[1]: * [x264.o] Error 1
make[1]: Leaving directory `/home/elessar/Desktop/MPlayer-1.0rc1/libavcodec'
make:
* [libavcodec/libavcodec.a] Error 2

config.h -->>> http://aleph.amarelloartis.com/bugzilla/config.h
config.mak -->>> http://aleph.amarelloartis.com/bugzilla/config.mak

Change History (1)

comment:1 Changed 13 years ago by reimar

  • Resolution set to worksforme
  • Status changed from new to closed

I suspect you used --enable-x264. In that case, try reading (e.g. configure output). If you didn't, provide configure.log.

Note: See TracTickets for help on using tickets.