Hi, I would suggest you use H323Plus (http://www.h323plus.org) instead of OpenH323 1.19. OpenH323 isn't maintained any more so we can't fix those compilation problems. My second suggestion would be to use H323Plus with the free Visual Studio 2008 Express, because I know for sure that will work fine (but 2005 should work also). Regards, Jan Streit Huang wrote: > > > ï»?!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > Best Regards, > Streit Huang > > DSG Technology, Inc. > Tel:+886-2-8861-5558 Ext.3367 > E-mail: streit@xxxxxxxxxx > http://www.dsg.com.tw > *************************************************************** > The information along with the attachments in this e-mail is confidential and > is intended solely for the addressee. Access to this e-mail by anyone else > is unauthorized, and protected by law. If you are not the intended recipient, > please delete the message immediately. Any disclosure, copying, distribution > or > any action taken or omitted in reliance on this, is prohibited and may be > unlawful. > *************************************************************** > > -----Original Message----- > From: Streit Huang [mailto:streit@xxxxxxxxxx] > Sent: Thursday, April 30, 2009 5:00 PM > To: 'openh323gk-users-request@xxxxxxxxxxxxxxxxxxxxx' > Subject: Openh323 1.19.10 Compiling on Visual Studio 2005 > > Dear all: > When I compile OpenH323 with Visual Studio 2005, I always got failed. > 1>.\src\mediafmt.cxx(398) : error C2039: 'Find' : is not a member of > 'std::basic_string<_Elem,_Traits,_Ax>' > 1> with > 1> [ > 1> _Elem=char, > 1> _Traits=std::char_traits<char>, > 1> _Ax=std::allocator<char> > 1> ] > > > 1>.\src\h323pluginmgr.cxx(1308) : error C2664: > 'H323PluginCodecManager::RegisterStaticCodec' : cannot convert parameter 1 > from 'const std::basic_string<_Elem,_Traits,_Ax>' to 'const char *' > 1> with > 1> [ > 1> _Elem=char, > 1> _Traits=std::char_traits<char>, > 1> _Ax=std::allocator<char> > 1> ] > 1> No user-defined-conversion operator available that can perform this > conversion, or the operator cannot be called > > 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\algorithm(40) : error > C2678: binary '==' : no operator found which takes a left-hand operand of type > 'std::basic_string<_Elem,_Traits,_Ax>' (or there is no acceptable conversion) > 1> with > 1> [ > 1> _Elem=char, > 1> _Traits=std::char_traits<char>, > 1> _Ax=std::allocator<char> > 1> ] > 1> could be 'built-in C++ operator==(const char *, const char *)' > 1> or 'built-in C++ operator==(const unsigned char *, const unsigned > char *)' > 1> C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\include\guiddef.h(192): or 'int operator ==(const GUID > &,const GUID &)' [found using argument-dependent lookup] > 1> while trying to match the argument list > '(std::basic_string<_Elem,_Traits,_Ax>, const PCaselessString)' > 1> with > 1> [ > 1> _Elem=char, > 1> _Traits=std::char_traits<char>, > 1> _Ax=std::allocator<char> > 1> ] > 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\algorithm(74) > : see reference to function template instantiation '_InIt > std::_Find<std::_Vector_iterator<_Ty,_Alloc>,PCaselessString>(_InIt,_InIt,cons > t PCaselessString &)' being compiled > 1> with > 1> [ > 1> > _InIt=std::_Vector_iterator<std::string,std::allocator<std::string>>, > 1> _Ty=std::string, > 1> _Alloc=std::allocator<std::string> > 1> ] > 1> .\src\h323caps.cxx(2090) : see reference to function template > instantiation '_InIt > std::find<std::_Vector_iterator<_Ty,_Alloc>,PCaselessString>(_InIt,_InIt,const > PCaselessString &)' being compiled > 1> with > 1> [ > 1> > _InIt=std::_Vector_iterator<std::string,std::allocator<std::string>>, > 1> _Ty=std::string, > 1> _Alloc=std::allocator<std::string> > 1> ] > 1>C:\Program Files\Microsoft Visual Studio 8\VC\include\algorithm(40) : error > C2678: binary '==' : no operator found which takes a left-hand operand of type > 'std::basic_string<_Elem,_Traits,_Ax>' (or there is no acceptable conversion) > 1> with > 1> [ > 1> _Elem=char, > 1> _Traits=std::char_traits<char>, > 1> _Ax=std::allocator<char> > 1> ] > 1> could be 'built-in C++ operator==(const char *, const char *)' > 1> or 'built-in C++ operator==(const unsigned char *, const unsigned > char *)' > 1> C:\Program Files\Microsoft Visual Studio > 8\VC\PlatformSDK\include\guiddef.h(192): or 'int operator ==(const GUID > &,const GUID &)' [found using argument-dependent lookup] > 1> while trying to match the argument list > '(std::basic_string<_Elem,_Traits,_Ax>, const PString)' > 1> with > 1> [ > 1> _Elem=char, > 1> _Traits=std::char_traits<char>, > 1> _Ax=std::allocator<char> > 1> ] > 1> C:\Program Files\Microsoft Visual Studio 8\VC\include\algorithm(74) > : see reference to function template instantiation '_InIt > std::_Find<std::_Vector_iterator<_Ty,_Alloc>,PString>(_InIt,_InIt,const > PString &)' being compiled > 1> with > 1> [ > 1> > _InIt=std::_Vector_iterator<std::string,std::allocator<std::string>>, > 1> _Ty=std::string, > 1> _Alloc=std::allocator<std::string> > 1> ] > 1> .\src\h323caps.cxx(2092) : see reference to function template > instantiation '_InIt > std::find<std::_Vector_iterator<_Ty,_Alloc>,PString>(_InIt,_InIt,const PString > &)' being compiled > 1> with > 1> [ > 1> > _InIt=std::_Vector_iterator<std::string,std::allocator<std::string>>, > 1> _Ty=std::string, > 1> _Alloc=std::allocator<std::string> > 1> ] > 1>h323annexg.cxx > 1>h323.cxx > 1>.\src\h323.cxx(4561) : error C2664: 'PDTMFDecoder::Decode' : cannot convert > parameter 1 from 'void *' to 'const short *' > 1> Conversion from 'void*' to pointer to non-'void' requires an > explicit cast > > I have set environment with Readme.txt and > http://www.voxgratia.org/docs/openh323_windows.html . > My Environment is Visual Studio 2005, MSDN, Visual Studio 2005 sp1. > What I need to set or What I need to install? > > > -- Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/ ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________________ Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users Homepage: http://www.gnugk.org/