Hey. I had to get XMLRPC++ working in Windows, and I thought I'd chronicle how I finally got it working here.
What didn't work:
1. Using either VS 2005 or 2003, double click the project file, convert and build. All sorts of link and compile errors. None of my coworkers nor I could fix them and get it working.
2. Build it in Cygwin. That worked just fine, but it gave me a .a file instead of a .lib, which I needed.
What finally worked:
1. MinGW and a modified Makefile.
-For SYSTEMLIBS, put "-lws2_32" (without the quotes). This only matters for compiling the examples.
-The "Validator" example doesn't build (or at least didn't for me - ambiguous overloaded operator), so find the line in "test/Makefile" that starts with "TESTS = " and remove "Validator"
-It needs to know you're building for Windows, so add a line after the line starting with OPTIMIZE that contains the text: "DEFS = -D_WINDOWS", then add "$(DEFS)" to the end of the line starting with CXXFLAGS
-change the line "LIB=./libXmlRpc.a" to "LIB=./libXmlRpc.lib"
-Remove the text "-Wstrict-prototypes" from the GCCWARN line: it really doesn't apply on MinGW in Windows. Do the same for "test/Makefile". It'll just clutter up the build output so you can't troubleshoot as easily.
-in "test/Makefile", change the line "LIB= ../libXmlRpc.a" to "LIB=../libXmlRpc.lib"
After that, it builds great! If you have any questions for building in Windows, chances are I don't know the answers but feel free to ask!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I recently started building xmlrpc-cpp in Windows VS 6.0 with the object of creating a Regular DLL for use with GUI application. I maintained the C-files composition while changing the extensions to .cpp, added multiple include guards -- even modified some sections to accommodate the C++ nuances, and also made some cosmetic changes. Now, except for missing files, the available source files are compile error free. I would like to know how I can get the missing files which happen not be in the download that I have. The missing files are:
Hey. I had to get XMLRPC++ working in Windows, and I thought I'd chronicle how I finally got it working here.
What didn't work:
1. Using either VS 2005 or 2003, double click the project file, convert and build. All sorts of link and compile errors. None of my coworkers nor I could fix them and get it working.
2. Build it in Cygwin. That worked just fine, but it gave me a .a file instead of a .lib, which I needed.
What finally worked:
1. MinGW and a modified Makefile.
-For SYSTEMLIBS, put "-lws2_32" (without the quotes). This only matters for compiling the examples.
-The "Validator" example doesn't build (or at least didn't for me - ambiguous overloaded operator), so find the line in "test/Makefile" that starts with "TESTS = " and remove "Validator"
-It needs to know you're building for Windows, so add a line after the line starting with OPTIMIZE that contains the text: "DEFS = -D_WINDOWS", then add "$(DEFS)" to the end of the line starting with CXXFLAGS
-change the line "LIB=./libXmlRpc.a" to "LIB=./libXmlRpc.lib"
-Remove the text "-Wstrict-prototypes" from the GCCWARN line: it really doesn't apply on MinGW in Windows. Do the same for "test/Makefile". It'll just clutter up the build output so you can't troubleshoot as easily.
-in "test/Makefile", change the line "LIB= ../libXmlRpc.a" to "LIB=../libXmlRpc.lib"
After that, it builds great! If you have any questions for building in Windows, chances are I don't know the answers but feel free to ask!
I recently started building xmlrpc-cpp in Windows VS 6.0 with the object of creating a Regular DLL for use with GUI application. I maintained the C-files composition while changing the extensions to .cpp, added multiple include guards -- even modified some sections to accommodate the C++ nuances, and also made some cosmetic changes. Now, except for missing files, the available source files are compile error free. I would like to know how I can get the missing files which happen not be in the download that I have. The missing files are:
#include <curl/curl.h>
#include <curl/types.h>
#include <curl/easy.h>
#include <curl/multi.h>
transport_config.h
Does anybody know how I can these files in any download?