activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erenyildiz <>
Subject How to compile a .cpp file with activemq libraries?
Date Fri, 29 May 2015 13:03:56 GMT
Dear all, 

I am new to activemq and therefore my question might look a bit odd, sorry
for that. 

I downloaded CMS activemq and I tried the examples -they work fine. No
problem here. However, in
<>   this website it
tells us to run :

/g++ -o main -pthread -I ../main main.cpp ../../out/libactivemq-cpp-0_0_2.a

to build the examples. I tried that and I got the following error:

/g++: error: ../../out/libactivemq-cpp-0_0_2.a: No such file or directory/

I tried to build my own .cpp file and I am facing the same problem now. 

Could you please tell me exactly which command to run in order to build any
cpp file with activemq stuff init?

Thanks in advance.

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message