Re: Required compilation parameters for using qpid?

2009-05-19 Thread Marcus Schröder
Hi Steve, On Mon, May 18, 2009 at 9:31 PM, Steve Huston wrote: > CPLUS_LIBRARY_PATH is not a legit env variable - try LIBRARY_PATH Ah, that did the trick (http://www.network-theory.co.uk/docs/gccintro/gccintro_23.html got me to use CPLUS_LIBRARY_PATH :-/). Thanks a lot. Marcus ---

RE: Required compilation parameters for using qpid?

2009-05-18 Thread Steve Huston
Hi Marcus, > On Mon, May 18, 2009 at 3:38 PM, Jonathan Robie > wrote: > > > Sounds like starting with a simpler Makefile would help. > Try starting with > > this: > > > > CXX=g++ > > CXXFLAGS=-I/usr/include/qpid-boost > > LDFLAGS=-lqpidclient > > > > all: direct_producer listener declare_queues

Re: Required compilation parameters for using qpid?

2009-05-18 Thread Gordon Sim
Marcus Schröder wrote: Hi Jonathan, On Mon, May 18, 2009 at 3:38 PM, Jonathan Robie wrote: Sounds like starting with a simpler Makefile would help. Try starting with this: CXX=g++ CXXFLAGS=-I/usr/include/qpid-boost LDFLAGS=-lqpidclient all: direct_producer listener declare_queues clean:

Re: Required compilation parameters for using qpid?

2009-05-18 Thread Marcus Schröder
Hi Jonathan, On Mon, May 18, 2009 at 3:38 PM, Jonathan Robie wrote: > Sounds like starting with a simpler Makefile would help. Try starting with > this: > > CXX=g++ > CXXFLAGS=-I/usr/include/qpid-boost > LDFLAGS=-lqpidclient > > all: direct_producer listener declare_queues > > clean: >       rm

Re: Required compilation parameters for using qpid?

2009-05-18 Thread Jonathan Robie
Marcus Schröder wrote: But the included Makefile is too complex for me to see how it works and I don't want to keep modifying the included examples to compile code (which works, but is obviously out of question for production). Eventually, I would like to make my own... Sounds like starting

Re: Required compilation parameters for using qpid?

2009-05-18 Thread Marcus Schröder
Hi Steve, On Fri, May 15, 2009 at 4:57 PM, Steve Huston wrote: > You're missing the qpid libraries. Is there a reason you're not using > the provided Makefile? > I don't use it to find out what parameters are necessary to compile the code. Yes, it's been a while since I've used C++. But the incl

Re: Required compilation parameters for using qpid?

2009-05-15 Thread Carl Trieloff
It clearly looks like an include path issue. Carl. Marcus Schröder wrote: Hi, what libraries/etc. do I need to pass to g++ to compile source using the qpid-libs? I've already pointed the CPLUS_[INCLUDE|LIBRARY]_PATHs to my qpid install dir, but still get a bunch of errors (see: http://pastie.

RE: Required compilation parameters for using qpid?

2009-05-15 Thread Steve Huston
Hi Marcus, > what libraries/etc. do I need to pass to g++ to compile source using > the qpid-libs? I've already pointed the CPLUS_[INCLUDE|LIBRARY]_PATHs > to my qpid install dir, but still get a bunch of errors (see: > http://pastie.org/478925), using g++ 4.2.4 and qpid-M4. In the above > case, I