On 04/10/2013 07:59 AM, Marco Paladini wrote:
Hi there,

I had various segmentation fault errors when running the examples:
http://activemq.apache.org/cms/cms-api-overview.html
http://activemq.apache.org/cms/example.html

I'm using activemq-cpp-3.6.0 compiled from source since I did not find
any package for Ubuntu.

The problem is that the examples compile fine but crash at runtime with segmentation fault.

They probably just became out of date,  I later noticed that

activemq-cpp-library-3.6.0/src/examples/main.cpp

had various modifications done and works with 3.6.0

Hope this saves some time for other newcomers to activemq-cpp

Best
Marco


I freshened the example code on the site, although your best bet is to always refer to the code in the source bundle of each release.

--
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.b...@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply via email to