activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkeysman <mkeys...@gmail.com>
Subject compiling an activemq provider in c++
Date Fri, 17 Aug 2012 06:20:41 GMT
I have tried to incorporate the simpleproducer.cpp program into another c++
program.  Compiling in windows fails due to a trio of unresolved external
symbol errors:

1>libsvmactivemqSink.obj : error LNK2019: unresolved external symbol
"public: __thiscall cms::CMSException::CMSException(class cms::CMSException
const &)" (??0CMSException@cms@@QAE@ABV01@@Z) referenced in function
__catch$?fetchConfig@cLibsvmActiveMQSink@@MAEXXZ$0

1>libsvmactivemqSink.obj : error LNK2019: unresolved external symbol
"public: __thiscall
activemq::core::ActiveMQConnectionFactory::ActiveMQConnectionFactory(class
std::basic_string<char,struct std::char_traits&lt;char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits&lt;char>,class std::allocator<char> > const &,class
std::basic_string<char,struct std::char_traits&lt;char>,class
std::allocator<char> > const &)"
(??0ActiveMQConnectionFactory@core@activemq@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@00@Z)
referenced in function "protected: virtual void __thiscall
cLibsvmActiveMQSink::fetchConfig(void)"
(?fetchConfig@cLibsvmActiveMQSink@@MAEXXZ)

1>libsvmactivemqSink.obj : error LNK2001: unresolved external symbol
"public: virtual __thiscall cms::CMSException::~CMSException(void)"
(??1CMSException@cms@@UAE@XZ)

I think I understand that the problem is in the lib dependencies.  I have
made the project dependent on
apr-1.lib and aprutil-1.lib, but am not understanding what, if any, other
libraries are needed.  If someone could point me in the right direction, it
would be greatly appreciated.

mkeysman




--
View this message in context: http://activemq.2283324.n4.nabble.com/compiling-an-activemq-provider-in-c-tp4655229.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message