On Wed, 2009-06-24 at 14:02 -0700, pclovec wrote:
> hi, All
> 
> i download the activemq-cpp 3.0 source to my local and i can compile on my
> machine . ...make..make install and running the example is well. 
> 
> now i create a new c++ project on eclipse . and just wrote a sample code.
> and include the activemq-cpp src folder ..../src/main/ all .h file   and i
> have linked some lib folders.  ,apr ,apr-util..  i try to build project is
> show me 
> ----------------------------------------------------
> Description   Resource        Path    Location        Type
> undefined reference to
> `activemq::core::ActiveMQConnectionFactory::ActiveMQConnectionFactory(std::basic_string,
> std::allocator > const&, std::basic_string, std::allocator > const&,
> std::basic_string, std::allocator > const&)'  Simple.cpp      testcpp1/src    
> line
> 152   C/C++ Problem
> 
> Description   Resource        Path    Location        Type
> undefined reference to `activemq::library::ActiveMQCPP::initializeLibrary()'
> SimpleAsyncConsumer.cpp       testcpp1/src    line 269        C/C++ Problem
> 
> 
> Description   Resource        Path    Location        Type
> undefined reference to `activemq::library::ActiveMQCPP::shutdownLibrary()'
> SimpleAsyncConsumer.cpp       testcpp1/src    line 334        C/C++ Problem
> 
> ------------------------------------------------------------------------------
> so i'm confused for it. do i miss some lib files . any help
> 
> thanks
> 
> 

Sounds like you aren't linking to the libactivemqcpp.so.

Regards
Tim.


-- 
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/



Reply via email to