Recent versions of ccrtp use gcrypt to support SRTP (and zrtp).  You can
disable this by making sure SRTP_SUPPORT is not defined in your
build environment and the config.h your using.  Or you can try porting
gcrypt (or openssl crypto) to MSVC and building with that.

Depending on the version of MSVC, you may still be unable to build under
MSVC, at least if you build ccrtp as a DLL.  ccrtp currently uses STL in
a few places, and more recent versions of MSVC have further broken
support for STL where it is no longer possible to effectively use STL
within a DLL and successfully link.

MyMailHobby wrote:
> Dear David!
> I use MSVC++ to compile the ccRTP project. During the compilation
> process, the following errors occur:
> 
> Linking...
> 1>control.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to 
> '/INCREMENTAL:NO' specification
> 1>   Creating library .\Debug/ccrtp1.lib and object .\Debug/ccrtp1.exp
> 1>incqueue.obj : error LNK2019: unresolved external symbol "public: 
> __thiscall ost::CryptoContext::~CryptoContext(void)" ([EMAIL 
> PROTECTED]@@[EMAIL PROTECTED]) referenced in function "public: void * 
> __thiscall ost::CryptoContext::`scalar deleting destructor'(unsigned int)" 
> ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
> 1>outqueue.obj : error LNK2001: unresolved external symbol "public: 
> __thiscall ost::CryptoContext::~CryptoContext(void)" ([EMAIL 
> PROTECTED]@@[EMAIL PROTECTED])
> 1>rtppkt.obj : error LNK2019: unresolved external symbol "public: void 
> __thiscall ost::CryptoContext::srtpAuthenticate(class ost::RTPPacket 
> *,unsigned int,unsigned char *)" ([EMAIL PROTECTED]@ost@@[EMAIL 
> PROTECTED]@[EMAIL PROTECTED]) referenced in function "public: void __thiscall 
> ost::OutgoingRTPPkt::protect(unsigned int,class ost::CryptoContext *)" 
> ([EMAIL PROTECTED]@ost@@[EMAIL PROTECTED]@@Z)
> 1>rtppkt.obj : error LNK2019: unresolved external symbol "public: void 
> __thiscall ost::CryptoContext::srtpEncrypt(class ost::RTPPacket *,unsigned 
> __int64,unsigned int)" ([EMAIL PROTECTED]@ost@@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]) referenced in function "public: void __thiscall 
> ost::OutgoingRTPPkt::protect(unsigned int,class ost::CryptoContext *)" 
> ([EMAIL PROTECTED]@ost@@[EMAIL PROTECTED]@@Z)
> 1>rtppkt.obj : error LNK2019: unresolved external symbol "public: void 
> __thiscall ost::CryptoContext::update(unsigned short)" ([EMAIL 
> PROTECTED]@ost@@[EMAIL PROTECTED]) referenced in function "public: int 
> __thiscall ost::IncomingRTPPkt::unprotect(class ost::CryptoContext *)" 
> ([EMAIL PROTECTED]@ost@@[EMAIL PROTECTED]@@Z)
> 1>rtppkt.obj : error LNK2019: unresolved external symbol "public: unsigned 
> __int64 __thiscall ost::CryptoContext::guessIndex(unsigned short)" ([EMAIL 
> PROTECTED]@ost@@[EMAIL PROTECTED]) referenced in function "public: int 
> __thiscall ost::IncomingRTPPkt::unprotect(class ost::CryptoContext *)" 
> ([EMAIL PROTECTED]@ost@@[EMAIL PROTECTED]@@Z)
> 1>rtppkt.obj : error LNK2019: unresolved external symbol "public: bool 
> __thiscall ost::CryptoContext::checkReplay(unsigned short)" ([EMAIL 
> PROTECTED]@ost@@[EMAIL PROTECTED]) referenced in function "public: int 
> __thiscall ost::IncomingRTPPkt::unprotect(class ost::CryptoContext *)" 
> ([EMAIL PROTECTED]@ost@@[EMAIL PROTECTED]@@Z)
> 1>Debug/ccrtp1.dll : fatal error LNK1120: 6 unresolved externals
> 
> Could you help me to solve these problems? 
> Could you describe the compilation procedure under MSVC++ step-by-step?
> 
> Thank you in advance,
> Alex
> 
> 
> 
> 
> _______________________________________________
> Ccrtp-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/ccrtp-devel
begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Telephony
email;internet:[EMAIL PROTECTED]
tel;work:+1 201 215 2609
url:http://www.gnutelephony.org
version:2.1
end:vcard

_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to