I have download this version and compiled xmlrpc project(xmlrpc.lib) successfully with MS Visual Studio 2005. But I got a link Error when I compiled HelloClient project.
The following is the error message:
error LNK2019: unresolved external symbol _SSL_CTX_check_private_key in function "public: static bool __cdecl XmlRpc::XmlRpcSocketSSL::initialize_ctx(char *,char *)" (?initialize_ctx@XmlRpcSocketSSL@XmlRpc@@SA_NPAD0@Z) which are be refered by xmlrpc.lib
I added OpenSSL's lib directory into LIBPATH, but it did not work out. Could you or anyone here help me solve this link problem? Thank you.
Fangyu Ling
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried to compile this code with VC++ 6 but I got these errors:
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(147) : error C2555: 'XmlRpc::XmlRpcClientSSL::createSocket' : overriding virtual function differs from 'XmlRpc::XmlRpcClient::createSocket' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(26) : see declaration of 'XmlRpcClient'
XmlRpcDispatch.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcServer.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcServerConnection.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(147) : error C2555: 'XmlRpc::XmlRpcClientSSL::createSocket' : overriding virtual function differs from 'XmlRpc::XmlRpcClient::createSocket' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(26) : see declaration of 'XmlRpcClient'
XmlRpcServerMethod.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcSocket.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcSource.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcUtil.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(147) : error C2555: 'XmlRpc::XmlRpcClientSSL::createSocket' : overriding virtual function differs from 'XmlRpc::XmlRpcClient::createSocket' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(26) : see declaration of 'XmlRpcClient'
Generating Code...
Error executing cl.exe.
How to solve this one? Please help..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have placed the SSL version of the lib on my server:
http://oviraptor.no-ip.org/disk1/peterk/XmlRpcLib.zip
Hi PeterK:
I have download this version and compiled xmlrpc project(xmlrpc.lib) successfully with MS Visual Studio 2005. But I got a link Error when I compiled HelloClient project.
The following is the error message:
error LNK2019: unresolved external symbol _SSL_CTX_check_private_key in function "public: static bool __cdecl XmlRpc::XmlRpcSocketSSL::initialize_ctx(char *,char *)" (?initialize_ctx@XmlRpcSocketSSL@XmlRpc@@SA_NPAD0@Z) which are be refered by xmlrpc.lib
I added OpenSSL's lib directory into LIBPATH, but it did not work out. Could you or anyone here help me solve this link problem? Thank you.
Fangyu Ling
Hello,
I tried to compile this code with VC++ 6 but I got these errors:
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(147) : error C2555: 'XmlRpc::XmlRpcClientSSL::createSocket' : overriding virtual function differs from 'XmlRpc::XmlRpcClient::createSocket' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(26) : see declaration of 'XmlRpcClient'
XmlRpcDispatch.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcServer.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcServerConnection.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(147) : error C2555: 'XmlRpc::XmlRpcClientSSL::createSocket' : overriding virtual function differs from 'XmlRpc::XmlRpcClient::createSocket' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(26) : see declaration of 'XmlRpcClient'
XmlRpcServerMethod.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcSocket.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcSource.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
XmlRpcUtil.cpp
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(143) : error C2555: 'XmlRpc::XmlRpcSocketSSL::accept' : overriding virtual function differs from 'XmlRpc::XmlRpcSocket::accept' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcSocket.h(28) : see declaration of 'XmlRpcSocket'
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(147) : error C2555: 'XmlRpc::XmlRpcClientSSL::createSocket' : overriding virtual function differs from 'XmlRpc::XmlRpcClient::createSocket' only by return type or calling convention
C:\GINA Project\Lib from Forum\XmlRpcLib\src\XmlRpcClient.h(26) : see declaration of 'XmlRpcClient'
Generating Code...
Error executing cl.exe.
How to solve this one? Please help..