qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl L. Pierce" <dpie...@redhat.com>
Subject Re: learn how to compile a C++ source code that uses QPID 0.18
Date Mon, 15 Oct 2012 17:25:43 GMT
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/


Mime
View raw message