And what about this project for xml-rpc?
http://wiedi.frubar.net/blog/2008/03...-rpc-with-qt4/
And what about this project for xml-rpc?
http://wiedi.frubar.net/blog/2008/03...-rpc-with-qt4/
In QT I believe
And so what I should use to implement xml-rpc?
In QT I believe
xml-rpc is a broad definition. Are you after "xml-rpc" (first generation of rpc protocols) specifically or after xml based rpc in general?
I'll explain...For my thesis I have to send commands, from a software I wrote in QT, to a building automation system in order to perform certain actions (e.g. open a door) . From the specs I know I can communicate with the server using Xml-Rpc. According to the PDF that was given to me, the system XML-RPC is a method of procedure calling using HTTP as the transport and XML as the enconding. On this PDF there is also written that "Johnson controls" (the producer of the system) recommends, for C++ application, the XmlRpc++ implementation by Chris Morley (that is the library I was trying to build). I am a biomedical engineering student not a computer science or telecommunications one so I feel a little lost with this...please help me![]()
In QT I believe
So I guess you need xml-rpc and nothing else. Maybe you have more luck with this one: http://xmlrpc-c.sourceforge.net/
I don't think the package you're trying to use is broken. I think you're not using it correctly.
As it says, you have to edit the makefile to accomodate the compiler you're using, and probably to take the system you're running on into account. Read the instructions that come with the package for what you have to change specifically and how to change it.
I was trying to build it on my box. The code needs editing, for example there are missing includes there.
Depends on what compiler you're using. It seems to have been built a long time ago, when strings.h, string.h and stdlib.h were included by default by a lot of compilers. Those include statements have to be added to the appropriate files for use with modern compilers.
It took about five minutes to work through these issues. Whatever function the compiler is griping about, just pull a man page on it to see what header file it lives in, and include that header in the file. The three listed seem to be commonly missing.
Or, you could revert to gcc 2.95. It would probably compile out of the box with that.
There are some C++ issues with some of the test programs, but given that most of them compile and link I'm guessing the library itself built correctly.
To the OP: it's surprising that someone working on a thesis would need this sort of help.
Last edited by SixDegrees; 20th May 2011 at 07:49.
I said it before...I just had a 3 months very basic (we didnt discuss about pointers nor OOP) course on c++ on my first year of university...then nothing else about C++. All the other times we needed to program on a computer we used MATLAB, so I am far more experienced on it.
And for my thesis they asked me to do this in C++...for me being able to create a whole GUI using QT just using code (not designer) and integrating it with OpenCV to make it display processed video is a big result
Now I just need, from my software, to send commands to this server and receive feedbacks from it...I dont need to program a server (well, maybe only for simulation purposes, but a real server with implemented methods is already running in the building and I just need to interface with it).
That's why I said I need something as easy as possible to use and well documented.
Other question: do you suggest to study a little XML before diving into XML-RPC?
Thanks
In QT I believe
Bookmarks