[Speex-dev] spx1.1.10 speexenc compile

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Thu Oct 6 02:50:52 PDT 2005


Hi John,

> I added 'misc.h' to the #includes in speexenc.c and commented out the 
> declaration of 'le_int' in 'wav_io.h'. Then, it compiles and works fine.

The wav_io.h issue is now fixed (there was a mistake in the prototype).
As for misc.h, I think it's not very clean. Originally, the version
number was meant to be only in the project file. Any way to do that on
win32?

	Jean-Marc

> John
> 
> Mo Win wrote:
> > Hi all,
> >  
> > Been trying to compile speex 1.1.10's speexenc for win32 using Visual 
> > C++ 6.0 but came up with some errors (abt 33 of them, syntax errors). I 
> > just traced them to a variable called "SPEEX_VERSION" which i think isnt 
> > defined in speexenc but rather defined in misc.h, which wasnt one of the 
> > include files in speexenc... should i add a line that includes misc.h in 
> > speexenc? i tried this and got the errors down to 1. the error says that 
> > le_int was declared twice (once in wav_io and another in misc.h) but i 
> > dont know which declaration is correct. Uh.. i really don't know what to 
> > do so any advice will be much appreciated.
> >  
> > Thanks,
> > Mon
> > 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 


More information about the Speex-dev mailing list