Do you have the WIN32 macro defined in your code that includes speex.h. If not, try defining that and let me know if it works. Cheers, Jean-Marc Tim Na wrote:> Hi all, > > I am a newbie here and just started using speex in our lab. > During compiling my voice application with windows-compiled version provided > today, I am getting "unresolved external symbol _speex_wb_mode". > I am probably missing some setting with VS6.0 linker... (I am a bit new to > windows too) > If anyone could point it out, I would appreciate it. > > - Tim > > -----Original Message----- > From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On > Behalf Of Jean-Marc Valin > Sent: Wednesday, December 12, 2007 4:33 AM > To: Jean-Marc Valin > Cc: speex-dev > Subject: Re: [Speex-dev] Speex 1.2beta3 is out! > > Windows binaries for 1.2beta3 are now available, thanks to Alexander > Chemeris. > > Cheers, > > Jean-Marc > > Jean-Marc Valin a ?crit : >> Hi everyone, >> >> Just to let you know that version 1.2beta3 is out. The main change is >> the split into libspeex and libspeexdsp. Basically, libspeex keeps the >> codec (just like it was for 1.0.x) and libspeexdsp has all the new >> components. Other changes include a new jitter buffer algorithm and >> resampler improvements/fixes. This is also the first release where >> libspeex can be built without any floating point support. To do this, >> the float compatibility API must be disabled (--disable-float-api or >> DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr >> or DISABLE_VBR). You can download it from http://www.speex.org as usual. >> >> Have fun, >> >> Jean-Marc >> _______________________________________________ >> Speex-dev mailing list >> Speex-dev@xiph.org >> http://lists.xiph.org/mailman/listinfo/speex-dev >> >> > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >
Hi all, I am a newbie here and just started using speex in our lab. During compiling my voice application with windows-compiled version provided today, I am getting "unresolved external symbol _speex_wb_mode". I am probably missing some setting with VS6.0 linker... (I am a bit new to windows too) If anyone could point it out, I would appreciate it. - Tim -----Original Message----- From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On Behalf Of Jean-Marc Valin Sent: Wednesday, December 12, 2007 4:33 AM To: Jean-Marc Valin Cc: speex-dev Subject: Re: [Speex-dev] Speex 1.2beta3 is out! Windows binaries for 1.2beta3 are now available, thanks to Alexander Chemeris. Cheers, Jean-Marc Jean-Marc Valin a ?crit :> Hi everyone, > > Just to let you know that version 1.2beta3 is out. The main change is > the split into libspeex and libspeexdsp. Basically, libspeex keeps the > codec (just like it was for 1.0.x) and libspeexdsp has all the new > components. Other changes include a new jitter buffer algorithm and > resampler improvements/fixes. This is also the first release where > libspeex can be built without any floating point support. To do this, > the float compatibility API must be disabled (--disable-float-api or > DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr > or DISABLE_VBR). You can download it from http://www.speex.org as usual. > > Have fun, > > Jean-Marc > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >_______________________________________________ Speex-dev mailing list Speex-dev@xiph.org http://lists.xiph.org/mailman/listinfo/speex-dev
On 12/13/07, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:> > I am a newbie here and just started using speex in our lab. > > During compiling my voice application with windows-compiled version provided > > today, I am getting "unresolved external symbol _speex_wb_mode". > > I am probably missing some setting with VS6.0 linker... (I am a bit new to > > windows too) > > If anyone could point it out, I would appreciate it.Try to use "speex_lib_get_mode(SPEEX_MODEID_WB)" call instead of using "speex_wb_mode" directly in your code. MS is tricky about exporting variables from DLLs. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000
I checked that VS6.0 defines WIN32 macro. I think it is default macro for Visual C++. Thanks, - Tim -----Original Message----- From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca] Sent: Wednesday, December 12, 2007 5:28 PM To: Tim Na Cc: 'speex-dev' Subject: Re: [Speex-dev] Speex 1.2beta3 is out! Do you have the WIN32 macro defined in your code that includes speex.h. If not, try defining that and let me know if it works. Cheers, Jean-Marc Tim Na wrote:> Hi all, > > I am a newbie here and just started using speex in our lab. > During compiling my voice application with windows-compiled versionprovided> today, I am getting "unresolved external symbol _speex_wb_mode". > I am probably missing some setting with VS6.0 linker... (I am a bit new to > windows too) > If anyone could point it out, I would appreciate it. > > - Tim > > -----Original Message----- > From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On > Behalf Of Jean-Marc Valin > Sent: Wednesday, December 12, 2007 4:33 AM > To: Jean-Marc Valin > Cc: speex-dev > Subject: Re: [Speex-dev] Speex 1.2beta3 is out! > > Windows binaries for 1.2beta3 are now available, thanks to Alexander > Chemeris. > > Cheers, > > Jean-Marc > > Jean-Marc Valin a ?crit : >> Hi everyone, >> >> Just to let you know that version 1.2beta3 is out. The main change is >> the split into libspeex and libspeexdsp. Basically, libspeex keeps the >> codec (just like it was for 1.0.x) and libspeexdsp has all the new >> components. Other changes include a new jitter buffer algorithm and >> resampler improvements/fixes. This is also the first release where >> libspeex can be built without any floating point support. To do this, >> the float compatibility API must be disabled (--disable-float-api or >> DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr >> or DISABLE_VBR). You can download it from http://www.speex.org as usual. >> >> Have fun, >> >> Jean-Marc >> _______________________________________________ >> Speex-dev mailing list >> Speex-dev@xiph.org >> http://lists.xiph.org/mailman/listinfo/speex-dev >> >> > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >
I successfully compiled speex source in WIN32 and run the codec for the first time and it sounds great. The sound problem I had was due to miscalculated frame size. Although I had to add extern specifier to all those unresolved symbols and convert some void* to char* and so, it was easy to compile in WIN32. Thanks for all your comment and help, and also appreciate at this great piece of work you have done. - Tim -----Original Message----- From: Jean-Marc Valin [mailto:jean-marc.valin@usherbrooke.ca] Sent: Wednesday, December 12, 2007 5:28 PM To: Tim Na Cc: 'speex-dev' Subject: Re: [Speex-dev] Speex 1.2beta3 is out! Do you have the WIN32 macro defined in your code that includes speex.h. If not, try defining that and let me know if it works. Cheers, Jean-Marc Tim Na wrote:> Hi all, > > I am a newbie here and just started using speex in our lab. > During compiling my voice application with windows-compiled versionprovided> today, I am getting "unresolved external symbol _speex_wb_mode". > I am probably missing some setting with VS6.0 linker... (I am a bit new to > windows too) > If anyone could point it out, I would appreciate it. > > - Tim > > -----Original Message----- > From: speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] On > Behalf Of Jean-Marc Valin > Sent: Wednesday, December 12, 2007 4:33 AM > To: Jean-Marc Valin > Cc: speex-dev > Subject: Re: [Speex-dev] Speex 1.2beta3 is out! > > Windows binaries for 1.2beta3 are now available, thanks to Alexander > Chemeris. > > Cheers, > > Jean-Marc > > Jean-Marc Valin a ?crit : >> Hi everyone, >> >> Just to let you know that version 1.2beta3 is out. The main change is >> the split into libspeex and libspeexdsp. Basically, libspeex keeps the >> codec (just like it was for 1.0.x) and libspeexdsp has all the new >> components. Other changes include a new jitter buffer algorithm and >> resampler improvements/fixes. This is also the first release where >> libspeex can be built without any floating point support. To do this, >> the float compatibility API must be disabled (--disable-float-api or >> DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr >> or DISABLE_VBR). You can download it from http://www.speex.org as usual. >> >> Have fun, >> >> Jean-Marc >> _______________________________________________ >> Speex-dev mailing list >> Speex-dev@xiph.org >> http://lists.xiph.org/mailman/listinfo/speex-dev >> >> > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >