Hi,
Last time I did it then I also needed to add libspeex.lib to the additional
libraries of the plgspeex project as it wasn't listed there.
Between, I was also getting an assertion in sipxConfigGetNumAudioCodecs during
the debug build, looks to me that it couldn't find the codecs, but I had all
the codec plugins and libspeex.dll placed in the output folder.
Thanks.
Best Regards,
Hitesh
----- Original Message -----
From: Keith Kyzivat
To: Xiaoming wang
Cc: [email protected]
Sent: Wednesday, September 26, 2007 1:19 AM
Subject: Re: [sipxtapi-dev] sipXtapi' speex for VC 2005
Sounds like you don't have the speex sources expanded in
sipXmediaLib/contrib/libspeex
a.. Grab a copy of the latest speex code from
http://www.speex.org/downloads/
b.. Expand it into the sipXmediaLib/contrib/libspeex directory
c.. Load the libspeex *VS2003* project from speex (there's a VS2005
project, but I've been told the VS2003 project is more up to date, and works
fine)
d.. Build speex dll
You should now be able to build the speex plugin.
On 9/25/07, Xiaoming wang < [EMAIL PROTECTED]> wrote:
Hi Alls,
Today I checkout then branches\last sipXTaip.
I complie it in VC 2005, I got Error :
------ Build started: Project: plgspeex-msvc8, Configuration: Release
Win32 ------
Compiling...
PlgSpeex.c
Linking...
Creating library Release/plgspeex.lib and object Release/plgspeex.exp
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_preprocess_ctl referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_preprocess_state_init referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_encoder_ctl referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_encoder_init referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol _speex_bits_init
referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_decoder_ctl referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_decoder_init referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_lib_get_mode referenced in function _universe_speex_init
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_bits_destroy referenced in function _universe_speex_free
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_encoder_destroy referenced in function _universe_speex_free
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_decoder_destroy referenced in function _universe_speex_free
PlgSpeex.obj : error LNK2019: unresolved external symbol _speex_decode_int
referenced in function _universe_speex_decode
PlgSpeex.obj : error LNK2019: unresolved external symbol
_speex_bits_read_from referenced in function _universe_speex_decode
PlgSpeex.obj : error LNK2019: unresolved external symbol _speex_bits_write
referenced in function _universe_speex_encode
PlgSpeex.obj : error LNK2019: unresolved external symbol _speex_encode_int
referenced in function _universe_speex_encode
PlgSpeex.obj : error LNK2019: unresolved external symbol _speex_preprocess
referenced in function _universe_speex_encode
PlgSpeex.obj : error LNK2019: unresolved external symbol _speex_bits_reset
referenced in function _universe_speex_encode
..\..\..\..\bin\codec_speex.dll : fatal error LNK1120: 17 unresolved
externals
1>Build log was saved at
"file://c:\martin\sflphone\branches\sipxtapi\sipXmediaLib\src\mp\codecs\plgs
peex\Release\BuildLog.htm"
plgspeex-msvc8 - 18 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I like to know which speex version is compatible with the latest sipXTapi ?
Thanks.
Martin
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
--
Keith Kyzivat
SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
------------------------------------------------------------------------------
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/