Menu

libsphinx2ad compile error...

Help
Anonymous
2001-10-10
2012-09-22
  • Anonymous

    Anonymous - 2001-10-10

    while compiling the libsphinx2ad, there are many errors.
    but I can't solve them.
    I'll be very thankful if you tell me how to.

    --------------------Configuration: libsphinx2ad - Win32 Debug--------------------
    Compiling...
    cont_ad_base.c
    d:\sphinx2-0.3\include\ad.h(233) : error C2061: syntax error : identifier 'HWAVEOUT'
    d:\sphinx2-0.3\include\ad.h(234) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(241) : error C2059: syntax error : '}'
    d:\sphinx2-0.3\include\ad.h(253) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(255) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(257) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(259) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(259) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(259) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(259) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(261) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(261) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(261) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(261) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(270) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(270) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(270) : error C2059: syntax error : ','
    d:\sphinx2-0.3\include\ad.h(270) : error C2059: syntax error : ')'
    mulaw_base.c
    fatal error C1083: Cannot open source file: 'D:\sphinx2-0.3\src\libsphinx2ad\mulaw_base.c': No such file or directory
    play_win32.c
    d:\sphinx2-0.3\include\ad.h(234) : error C2061: syntax error : identifier 'ad_wbuf_t'
    d:\sphinx2-0.3\include\ad.h(241) : error C2059: syntax error : '}'
    d:\sphinx2-0.3\include\ad.h(253) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(255) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(257) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(259) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(259) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(259) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(259) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(261) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(261) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(261) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(261) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(270) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(270) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(270) : error C2059: syntax error : ','
    d:\sphinx2-0.3\include\ad.h(270) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(85) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(85) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(85) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(86) : error C2054: expected '(' to follow 'b'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(94) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(94) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(94) : error C2370: 'int32' : redefinition; different storage class
            d:\sphinx2-0.3\include\s2types.h(30) : see declaration of 'int32'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(94) : error C2146: syntax error : missing ';' before identifier 'samples_per_buf'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(94) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(95) : error C2054: expected '(' to follow 'samples_per_buf'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(184) : warning C4133: 'function' : incompatible types - from 'struct waveformat_tag *' to 'const struct tWAVEFORMATEX *'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(195) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(195) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(195) : error C2370: 'int32' : redefinition; different storage class
            d:\sphinx2-0.3\include\s2types.h(30) : see declaration of 'int32'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(195) : error C2146: syntax error : missing ';' before identifier 'n_buf'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(195) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(196) : error C2054: expected '(' to follow 'n_buf'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(208) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(208) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(208) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(209) : error C2054: expected '(' to follow 'p'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(225) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(227) : error C2065: 'ad_play_t' : undeclared identifier
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(227) : error C2297: '*' : illegal, right operand has type 'int *'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(228) : error C2275: 'int32' : illegal use of this type as an expression
            d:\sphinx2-0.3\include\s2types.h(30) : see declaration of 'int32'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(228) : error C2146: syntax error : missing ';' before identifier 'i'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(228) : error C2065: 'i' : undeclared identifier
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(229) : error C2275: 'HWAVEOUT' : illegal use of this type as an expression
            d:\program files\microsoft visual studio\vc98\include\mmsystem.h(531) : see declaration of 'HWAVEOUT'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(229) : error C2146: syntax error : missing ';' before identifier 'h'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(229) : error C2065: 'h' : undeclared identifier
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(231) : warning C4047: '=' : 'int ' differs in levels of indirection from 'struct HWAVEOUT__ *'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(231) : warning C4047: '==' : 'int ' differs in levels of indirection from 'void *'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(234) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(236) : warning C4047: 'function' : 'struct HWAVEOUT__ *' differs in levels of indirection from 'int '
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(236) : warning C4024: 'waveOutClose' : different types for formal and actual parameter 1
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(239) : error C2059: syntax error : 'if'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(246) : error C2059: syntax error : 'if'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(254) : error C2059: syntax error : 'for'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(254) : error C2143: syntax error : missing '{' before '<'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(254) : error C2059: syntax error : '<'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(254) : error C2143: syntax error : missing '{' before '++'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(254) : error C2059: syntax error : '++'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(254) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(264) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(264) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(265) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(265) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(266) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(266) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(267) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(267) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(268) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(268) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(269) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(269) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(271) : error C2059: syntax error : 'return'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(272) : error C2059: syntax error : '}'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(281) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(281) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(281) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(282) : error C2054: expected '(' to follow 'p'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(297) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(297) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(297) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(298) : error C2054: expected '(' to follow 'p'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(313) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(313) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(313) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(314) : error C2054: expected '(' to follow 'p'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(345) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(345) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(345) : error C2371: 'int16' : redefinition; different basic types
            d:\sphinx2-0.3\include\s2types.h(31) : see declaration of 'int16'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(345) : error C2143: syntax error : missing ';' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(345) : error C2370: 'int32' : redefinition; different storage class
            d:\sphinx2-0.3\include\s2types.h(30) : see declaration of 'int32'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(345) : error C2146: syntax error : missing ';' before identifier 'size'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(345) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(346) : error C2054: expected '(' to follow 'size'
    rec_win32.c
    d:\sphinx2-0.3\include\ad.h(234) : error C2061: syntax error : identifier 'ad_wbuf_t'
    d:\sphinx2-0.3\include\ad.h(241) : error C2059: syntax error : '}'
    d:\sphinx2-0.3\include\ad.h(253) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(255) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(257) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(257) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(259) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(259) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(259) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(259) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(261) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(261) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(261) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\include\ad.h(261) : error C2059: syntax error : ';'
    d:\sphinx2-0.3\include\ad.h(270) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\include\ad.h(270) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\include\ad.h(270) : error C2059: syntax error : ','
    d:\sphinx2-0.3\include\ad.h(270) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(93) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(93) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(93) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(94) : error C2054: expected '(' to follow 'b'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(102) : error C2143: syntax error : missing ')' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(102) : error C2143: syntax error : missing '{' before '*'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(102) : error C2370: 'int32' : redefinition; different storage class
            d:\sphinx2-0.3\include\s2types.h(30) : see declaration of 'int32'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(102) : error C2146: syntax error : missing ';' before identifier 'samples_per_buf'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(102) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(103) : error C2054: expected '(' to follow 'samples_per_buf'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(191) : warning C4133: 'function' : incompatible types - from 'struct waveformat_tag *' to 'const struct tWAVEFORMATEX *'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(207) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(208) : error C2039: 'h_wavein' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(208) : error C2039: 'wi_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(208) : warning C4047: 'function' : 'struct HWAVEIN__ *' differs in levels of indirection from 'unsigned int '
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(208) : warning C4024: 'waveInUnprepareHeader' : different types for formal and actual parameter 1
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(208) : error C2198: 'waveInUnprepareHeader' : too few actual parameters
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(216) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(217) : warning C4013: 'wavein_free_buf' undefined; assuming extern returning int
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(217) : error C2039: 'wi_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(218) : error C2039: 'wi_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(218) : error C2198: 'free' : too few actual parameters
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(220) : error C2039: 'h_wavein' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(220) : error C2198: 'waveInClose' : too few actual parameters
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(246) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(247) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(248) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(249) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(251) : error C2039: 'wi_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(251) : error C2065: 'ad_wbuf_t' : undeclared identifier
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(251) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(258) : error C2059: syntax error : 'for'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(258) : error C2143: syntax error : missing '{' before '<'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(258) : error C2059: syntax error : '<'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(258) : error C2143: syntax error : missing '{' before '++'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(258) : error C2059: syntax error : '++'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(258) : error C2059: syntax error : ')'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(270) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(270) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(271) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(271) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(272) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(272) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(273) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(273) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(274) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(274) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(275) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(275) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(276) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(276) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(277) : error C2143: syntax error : missing '{' before '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(277) : error C2059: syntax error : '->'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(279) : error C2059: syntax error : 'return'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(280) : error C2059: syntax error : '}'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(297) : error C2039: 'opened' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(315) : error C2039: 'opened' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(318) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(319) : error C2039: 'h_wavein' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(319) : error C2039: 'wi_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(319) : error C2198: 'wavein_enqueue_buf' : too few actual parameters
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(321) : error C2039: 'curbuf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(321) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(322) : error C2039: 'curlen' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(324) : error C2039: 'h_wavein' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(324) : error C2198: 'waveInStart' : too few actual parameters
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(337) : error C2039: 'opened' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(340) : error C2039: 'h_wavein' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(340) : error C2198: 'waveInStop' : too few actual parameters
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(343) : error C2039: 'h_wavein' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(343) : error C2198: 'waveInReset' : too few actual parameters
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(349) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(350) : error C2039: 'wi_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(352) : error C2039: 'lastbuf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(352) : error C2039: 'curbuf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(353) : error C2039: 'lastbuf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(353) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(367) : error C2039: 'opened' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(371) : error C2039: 'curbuf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(371) : error C2039: 'lastbuf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(371) : error C2039: 'curlen' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(377) : error C2039: 'curlen' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(379) : error C2039: 'curbuf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(380) : error C2039: 'n_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(383) : error C2039: 'wi_buf' : is not a member of 'ad_rec_t'
            d:\sphinx2-0.3\include\ad.h(140) : see declaration of 'ad_rec_t'
    d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(383) : fatal error C1003: error count exceeds 100; stopping compilation
    Error executing cl.exe.

    libsphinx2ad-debug.lib - 216 error(s), 9 warning(s)

     
    • Anonymous

      Anonymous - 2001-10-10

      If u are using VC++ environment, add in project
      settings, debug tab, preprocessor definiton,
      AD_BACKEND_WIN32. Or just #define
      AD_BACKEND_WIN32 in ad.h . Also include the library winmm.lib. I think this should solve
      your problem.

      Vivek

       
      • Anonymous

        Anonymous - 2001-10-10

        Thank you very much.
        Many source files were compiled.
        But there is link error yet.
        libsphinx2ad project contains mulaw_base.c but actually mulaw_base.c doesn't exist.
        how can solve it?
        I would be greatful if you gave me even a little advise.
        thank you.

        --------------------Configuration: libsphinx2ad - Win32 Debug--------------------
        Compiling...
        cont_ad_base.c
        mulaw_base.c
        fatal error C1083: Cannot open source file: 'D:\sphinx2-0.3\src\libsphinx2ad\mulaw_base.c': No such file or directory
        play_win32.c
        d:\sphinx2-0.3\src\libsphinx2ad\play_win32.c(184) : warning C4133: 'function' : incompatible types - from 'struct waveformat_tag *' to 'const struct tWAVEFORMATEX *'
        rec_win32.c
        d:\sphinx2-0.3\src\libsphinx2ad\rec_win32.c(191) : warning C4133: 'function' : incompatible types - from 'struct waveformat_tag *' to 'const struct tWAVEFORMATEX *'
        Error executing cl.exe.

        libsphinx2ad-debug.lib - 1 error(s), 2 warning(s)

         
    • Kevin A. Lenzo

      Kevin A. Lenzo - 2001-12-15

      The Win32 platform builds under 0.4, so I hope you'll try this again.  It should build under both cygwin and visual studio.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.