On 11/18/2010 06:34 PM, David Hawthorne wrote:
The .6 and .7 pages are the same, and I'm compiling against .6
Yes, sorry. That is an error on the website. The docs generated from
your 0.6 release (qpidc-0.6/docs/api/html/) should be more consistent
(though less complete).
The messaging API was still evolving at the time of the 0.6 release (the
older, 0-10 specific API was the 'default'). It has now stabilised and
will be available in the upcoming 0.8 release (now working its way
through the release process).
On Nov 18, 2010, at 4:53 AM, Gordon Sim wrote:
On 11/18/2010 12:33 AM, David Hawthorne wrote:
http://qpid.apache.org/apis/0.7/cpp/html/index.html
Looking through the headers, these can't work. Even just trying to compile the
first example to bootstrap things fails miserably:
g++ -c -g -O2 -Wall test.cpp
test.cpp: In function 'int main(int, char**)':
test.cpp:13: error: no matching function for call to
'qpid::messaging::Connection::Connection(std::string&)'
test.cpp:15: error: no matching function for call to
'qpid::messaging::Connection::open()'
test.cpp:16: error: 'class qpid::messaging::Connection' has no member named
'createSession'
Can someone please update this document with working example code, please?
Pretty please? It would be very, very useful to have working non-OO examples.
What version are you compiling against? The '0.7' release refers to the latest
on trunk. If you are using e.g. the 0.6 release then the reference docs
included in that release should be used instead of the above.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]