Hi, I use the pre-compiled libs of speex, version beta3. I've got this link problem when I use the fonction speex_encoder_init(&speex_wb_mode) error LNK2001: unresolved external symbol _speex_wb_mode I made the link with the librairies libspeex.lib and libspeexdsp.lib in my properties' project. I used the dumpbin executable of VC to see the external variable defined in the libs, and it's true _speex_wb_mode doesn't exist in the libs. The variable speex_wb_mode is defined in extern in speex.h, I find the definition in mode_wb.c . If anyone have a solution to resolve this link problem it would be really helpfull Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20080325/cad640b0/attachment.htm
Hi, You should not use speex_*_mode variables directly, as they are not exported from DLL, as you saw. Use speex_get_mode() function instead. -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000