You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by "Darryl L. Pierce" <dp...@redhat.com> on 2012/10/15 19:25:43 UTC

Re: learn how to compile a C++ source code that uses QPID 0.18

On Mon, Oct 15, 2012 at 11:25:21AM -0400, Joe Ly wrote:
> Hi,
> 
> I am trying to compile "map_receiver.cpp" that lives in ~/qpidc-0.18/examples/messaging using the following command string under Linux Centos 6.3 environment:
> 
> g++ -v -Wall -O3 -I. -I~/qpidc-0.18/include -L~/qpidc-0.18/src -lqpidmessaging -o map_receiver map_receiver.cpp
> 
> Am I missing anything?

You need to also include the qpidtypes library as well. The current
Makefile that ships with the qpid-cpp-client-devel package in the
examples directory was missing this library.

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/