hi, all, I am trying to build 1.1.12 for symbian platform like this: 1, bldmake bldfiles 2, abld build wins udeb (to build for emulator) but building failed, the error message is : nmake -nologo -x - -s -f "\Install\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\HOME\MYOWN\NOKIA\SPEEX\SPEEX-1.1.12\SYMBIAN\SPEEX\WINS\SPEEX.WINS" LIBRARY Mdf.c c:\HOME\MyOwn\Nokia\Speex\speex-1.1.12\libspeex\pseudofloat.h(63) : error C2059: syntax error : '{' c:\HOME\MyOwn\Nokia\Speex\speex-1.1.12\libspeex\pseudofloat.h(109) : error C2061: syntax error : identifier 'FLOAT_SUB' and many similiar erros in mdf.c \HOME\MyOwn\Nokia\Speex\speex-1.1.12\libspeex\mdf.c(548) : error C2440: 'function' : cannot convert from 'int' to 'spx_float_t' it seems that this is about spx_float_t in pseudofloat.h Did anyone have this problem ? -- A. Because it makes the logic of the discussion difficult to follow. Q. Why shoudn't I top post? A. No. Q Should I top post? A: Because it destroys the flow of the conversation Q: Why is it bad? A: No, it's bad. Q: Should I top post in replies to mailing lists?
Hi, Can you see if it works if you replace the return (spx_float_t) {0,0}; with { spx_float_t tmp = {0,0}; return tmp; } Jean-Marc Le lundi 27 f?vrier 2006 ? 15:59 +0800, SuperMMX a ?crit :> hi, all, > > I am trying to build 1.1.12 for symbian platform like this: > > 1, bldmake bldfiles > 2, abld build wins udeb (to build for emulator) > > but building failed, the error message is : > > nmake -nologo -x - -s -f "\Install\Symbian\8.0a\S60_2nd_FP2\EPOC32\BUILD\HOME\MYOWN\NOKIA\SPEEX\SPEEX-1.1.12\SYMBIAN\SPEEX\WINS\SPEEX.WINS" LIBRARY > Mdf.c > c:\HOME\MyOwn\Nokia\Speex\speex-1.1.12\libspeex\pseudofloat.h(63) : error C2059: syntax error : '{' > c:\HOME\MyOwn\Nokia\Speex\speex-1.1.12\libspeex\pseudofloat.h(109) : error C2061: syntax error : identifier 'FLOAT_SUB' > > and many similiar erros in mdf.c > \HOME\MyOwn\Nokia\Speex\speex-1.1.12\libspeex\mdf.c(548) : error C2440: 'function' : cannot convert from 'int' to 'spx_float_t' > > it seems that this is about spx_float_t in pseudofloat.h > > Did anyone have this problem ? >
Hi, Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> : On Fri, 03 Mar 2006 00:42:48 +1100 Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca> wrote:> Can you see if it works if you replace the > > return (spx_float_t) {0,0}; > > with > > { > spx_float_t tmp = {0,0}; > return tmp; > }It works. And another problem is #define of FLOAT_ZERO, FLOAT_ONE and FLOAT_HALF in pseudofloat.h, I moved them to mdf.c and modified them like below: static const spx_float_t FLOAT_ZERO = {0,0}; static const spx_float_t FLOAT_ONE = {16384,-14}; static const spx_float_t FLOAT_HALF = {16384,-15}; And build sucessfully. Thank you all. -- A. Because it makes the logic of the discussion difficult to follow. Q. Why shoudn't I top post? A. No. Q Should I top post? A: Because it destroys the flow of the conversation Q: Why is it bad? A: No, it's bad. Q: Should I top post in replies to mailing lists?