Hello every body, i compiled and used xmlrpc++ in windows and vc6, but i can't do it in linux (ubuntu 8.04 or opensuse 11) !!!
Anyone can help me ? how to use compiler (gcc or g++) ? Thanks for your rapid answer :)
-----------------------------------
Hosi
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
please, next time try to be more precise with your subjects. If other person has the same problem as you, and look into the forums, I think the subject "Help me!" will not help anything.
To your issue:
1) Check that in both your project and in the xml rpc lib, the code is generated with the "Multithreaded DLL" option
2) Check the library is correctly included
If nothing helps, please, provide more info about your "myClient" project
José
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello every body, i compiled and used xmlrpc++ in windows and vc6, but i can't do it in linux (ubuntu 8.04 or opensuse 11) !!!
Anyone can help me ? how to use compiler (gcc or g++) ? Thanks for your rapid answer :)
-----------------------------------
Hosi
So after you untar/unzip the source, cd into the newly-created directory and type 'make', what happens?
Fixed. I just write my cpp file name in test directory in front of TESTS. Then I ran the makefile in main dir :)
This is my output result in VC6 !!! I added the header files in the project :(
Help me please (F1)
--------------------Configuration: myClient - Win32 Debug--------------------
Linking...
myClient.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall XmlRpc::XmlRpcClient::~XmlRpcClient(void)" (??1XmlRpcClient@XmlRpc@@UAE@XZ)
myClient.obj : error LNK2001: unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> > &,class XmlRpc::XmlRpcValue &)" (??6@YAAAV?$ba
sic_ostream@DU?$char_traits@D@std@@@std@@AAV01@AAVXmlRpcValue@XmlRpc@@@Z)
myClient.obj : error LNK2001: unresolved external symbol "public: bool __thiscall XmlRpc::XmlRpcClient::execute(char const *,class XmlRpc::XmlRpcValue const &,class XmlRpc::XmlRpcValue &)" (?execute@XmlRpcClient@XmlRpc@@QAE_NPBDABVXmlRpcValue@2@AAV3
2@@Z)
myClient.obj : error LNK2001: unresolved external symbol "public: __thiscall XmlRpc::XmlRpcClient::XmlRpcClient(char const *,int,char const *)" (??0XmlRpcClient@XmlRpc@@QAE@PBDH0@Z)
myClient.obj : error LNK2001: unresolved external symbol "protected: void __thiscall XmlRpc::XmlRpcValue::invalidate(void)" (?invalidate@XmlRpcValue@XmlRpc@@IAEXXZ)
libcpmtd.lib(xmbtowc.obj) : error LNK2001: unresolved external symbol __CrtDbgReport
Debug/myClient.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
myClient.exe - 7 error(s), 0 warning(s)
Hi,
please, next time try to be more precise with your subjects. If other person has the same problem as you, and look into the forums, I think the subject "Help me!" will not help anything.
To your issue:
1) Check that in both your project and in the xml rpc lib, the code is generated with the "Multithreaded DLL" option
2) Check the library is correctly included
If nothing helps, please, provide more info about your "myClient" project
José