I'm a bit of a newb with C++ so bear with me. I installed Dev-C++ and downloaded the XmlRpc++ files. Here are the locations of them:
c:\Dev-Cpp\
c:\xmlrpc++0.7\
I wanted to just try to compile and try out some of the test/example programs that are included with XmlRpc++.
I imported the Visual Studio project files (the .dsp files) into Dev-C++ and it converted them successfully. I setup my project like this: (I 'think' I did this right. Not sure...)
After some searching, from what I understand, its trying to look for a library called libxmlrpc.a but it can't find it. What do I have setup incorrectly? Am I actually missing this library? XmlRpc++ describes itself as:
"...It is designed to make it easy to incorporate XmlRpc client+server support into C++ applications and requires no other libraries."
So it says it doesn't require any other libraries... So either I'm missing something here or I am misinterpreting this.
Can anyone help me? Again, I'm a newb with C++ so please don't assume too much when explaining :-)
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm a bit of a newb with C++ so bear with me. I installed Dev-C++ and downloaded the XmlRpc++ files. Here are the locations of them:
c:\Dev-Cpp\
c:\xmlrpc++0.7\
I wanted to just try to compile and try out some of the test/example programs that are included with XmlRpc++.
I imported the Visual Studio project files (the .dsp files) into Dev-C++ and it converted them successfully. I setup my project like this: (I 'think' I did this right. Not sure...)
Library Directories
C:\Dev-Cpp\lib
Include Directories
C:\xmlrpc++0.7_test\src
C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include
So I go ahead and attempt to compile HelloServer.cpp example file. I get this:
Compiler: Default compiler
Building Makefile: "C:\xmlrpc++0.7test\test\Makefile.win"
Executing make...
make.exe -f "C:\xmlrpc++0.7test\test\Makefile.win" all
g++.exe HelloServer.o -o "HelloServer.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp/lib" -lxmlrpc -lWs2_32 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
C:\Dev-Cpp\Bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lxmlrpc
collect2: ld returned 1 exit status
make.exe: *** [HelloServer.exe] Error 1
Execution terminated
After some searching, from what I understand, its trying to look for a library called libxmlrpc.a but it can't find it. What do I have setup incorrectly? Am I actually missing this library? XmlRpc++ describes itself as:
"...It is designed to make it easy to incorporate XmlRpc client+server support into C++ applications and requires no other libraries."
So it says it doesn't require any other libraries... So either I'm missing something here or I am misinterpreting this.
Can anyone help me? Again, I'm a newb with C++ so please don't assume too much when explaining :-)
Cheers