Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 39442 invoked from network); 18 Nov 2010 18:34:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Nov 2010 18:34:26 -0000 Received: (qmail 74731 invoked by uid 500); 18 Nov 2010 18:34:57 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 74705 invoked by uid 500); 18 Nov 2010 18:34:56 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 74697 invoked by uid 99); 18 Nov 2010 18:34:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 18:34:56 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [74.115.26.24] (HELO util2.sjc1.3crowd.com) (74.115.26.24) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Nov 2010 18:34:49 +0000 Received: from [74.115.25.104] (helo=dyn104.3crowd.com) by util2.sjc1.3crowd.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1PJ9JU-000Cab-CR for users@qpid.apache.org; Thu, 18 Nov 2010 10:34:28 -0800 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Examples on this page are all broken From: David Hawthorne In-Reply-To: <4CE521DB.5090906@redhat.com> Date: Thu, 18 Nov 2010 10:34:28 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4CE521DB.5090906@redhat.com> To: users@qpid.apache.org X-Mailer: Apple Mail (2.1081) The .6 and .7 pages are the same, and I'm compiling against .6 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 >>=20 >> Looking through the headers, these can't work. Even just trying to = compile the first example to bootstrap things fails miserably: >>=20 >> 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' >>=20 >> 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. >=20 > 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. >=20 > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:users-subscribe@qpid.apache.org >=20 --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org