activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pclovec <pclo...@gmail.com>
Subject create a new project and refer to ActiveMQ-CPP files. Compile is fail
Date Wed, 24 Jun 2009 21:02:59 GMT

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<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&, std::basic_string<char, std::char_traits<char>, std::allocator<char>
> 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





-- 
View this message in context: http://www.nabble.com/create-a-new-project-and-refer-to-ActiveMQ-CPP-files.-Compile-is-fail-tp24192861p24192861.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message