activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Glanmark <Richard.Glanm...@orcsoftware.com>
Subject Unresolved externals when building ActiveMQ CMS 2.2.2 DLL with Visual Studio 9 (2008) / Vista
Date Mon, 08 Dec 2008 14:30:08 GMT

I'm trying to build the ActiveMQ CMS 2.2.2 on Vista with Visual Studio 2008
(Team Edition). 

Building the unit test (vs2005-activemq-unittests) "Debug" configuration
works fine, and so is running the unit tests.

However, when building the unit test "DebugDLL" configuration, I get several
thousand unresolved externals.

Among others:

1>activemq-cppd.lib(activemq-cppd.dll) : error LNK2005: "public: virtual
class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall
activemq::connector::stomp::StompDestination<class
cms::Topic>::toProviderString(void)const "
(?toProviderString@?$StompDestination@VTopic@cms@@@stomp@connector@activemq@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
already defined in StompDestinationTest.obj
1>   Creating library
C:\working\apache\activemq-cpp-2.2.2-src\vs2005-build\DebugDLL\vs2005-activemq-unittests.lib
and object
C:\working\apache\activemq-cpp-2.2.2-src\vs2005-build\DebugDLL\vs2005-activemq-unittests.exp
1>ActiveMQBytesMessageTest.obj : error LNK2019: unresolved external symbol
"public: virtual void __thiscall
activemq::connector::openwire::commands::ActiveMQBytesMessage::writeString(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?writeString@ActiveMQBytesMessage@commands@openwire@connector@activemq@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function
__catch$?test@ActiveMQBytesMessageTest@commands@openwire@connector@activemq@@QAEXXZ$0
1>ActiveMQBytesMessageMarshallerTest.obj : error LNK2001: unresolved
external symbol "public: virtual void __thiscall
activemq::connector::openwire::commands::ActiveMQBytesMessage::writeString(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?writeString@ActiveMQBytesMessage@commands@openwire@connector@activemq@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>ActiveMQBytesMessageMarshallerTest1.obj : error LNK2001: unresolved
external symbol "public: virtual void __thiscall
activemq::connector::openwire::commands::ActiveMQBytesMessage::writeString(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?writeString@ActiveMQBytesMessage@commands@openwire@connector@activemq@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>ActiveMQBytesMessageMarshallerTest2.obj : error LNK2001: unresolved
external symbol "public: virtual void __thiscall
activemq::connector::openwire::commands::ActiveMQBytesMessage::writeString(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?writeString@ActiveMQBytesMessage@commands@openwire@connector@activemq@@UAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>ActiveMQBytesMessageTest.obj : error LNK2019: unresolved external symbol
"public: virtual void __thiscall
activemq::connector::openwire::commands::ActiveMQBytesMessage::writeLong(__int64)"
(?writeLong@ActiveMQBytesMessage@commands@openwire@connector@activemq@@UAEX_J@Z)
referenced in function
__catch$?test@ActiveMQBytesMessageTest@commands@openwire@connector@activemq@@QAEXXZ$0
1>ActiveMQBytesMessageMarshallerTest.obj : error LNK2001: unresolved
external symbol "public: virtual void __thiscall
activemq::connector::openwire::commands::ActiveMQBytesMessage::writeLong(__int64)"
(?writeLong@ActiveMQBytesMessage@commands@openwire@connector@activemq@@UAEX_J@Z)

What is wrong? 

Cheers,


-- 
View this message in context: http://www.nabble.com/Unresolved-externals-when-building-ActiveMQ-CMS-2.2.2-DLL-with-Visual-Studio-9-%282008%29---Vista-tp20896342p20896342.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.


Mime
View raw message