But you also need to compile your application with the APR and APR-Util libraries. Add then to your link options and these errors should go away, see the example VC Project settings,
Regards Tim. On Tue, 2008-08-12 at 13:44 -0700, crazy4venu wrote: > Hello Tim, > > > As you said i compiled ActiveMQ with APR AND ARP_Util libraries. But still i > get the same errors and i am unable to link it. > > > 1>Linking... > 1>libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external symbol > _apr_uuid_format referenced in function "public: virtual class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > __thiscall decaf::util::UUID::toString(void)const " > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@@[EMAIL PROTECTED]@2@@std@@XZ) > 1>libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external symbol > _apr_uuid_get referenced in function "public: static class decaf::util::UUID > __cdecl decaf::util::UUID::randomUUID(void)" > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) > 1>libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external symbol > _apr_md5 referenced in function "public: static class decaf::util::UUID > __cdecl decaf::util::UUID::nameUUIDFromBytes(char const *,unsigned int)" > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) > 1>libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external symbol > _apr_uuid_parse referenced in function "public: static class > decaf::util::UUID __cdecl decaf::util::UUID::fromString(class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" > ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL > PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@Z) > 1>aprutil-1.lib(sendrecv.obj) : error LNK2019: unresolved external symbol > [EMAIL PROTECTED] referenced in function [EMAIL PROTECTED] > 1>G:\Fix > Engine\activemq-cpp-2.2\vs2005-build\Debug\vs2005-activemq-example.exe : > fatal error LNK1120: 5 unresolved externals > > > > > > Timothy Bish wrote: > > > > ActiveMQ-CPP 2.2 requires the APR and APR-Util libraries, you need to > > get a copy and build it using the instructions they provide. We require > > version 1.2 or higher > > > > Get APR here: > > http://apr.apache.org/ > > > > Regards > > Tim. > > > > On Tue, 2008-08-12 at 12:11 -0700, crazy4venu wrote: > >> Dear All, > >> > >> I compiled activemq source and it integrated fine. But when i try to > >> compile activemq cpp example using libactivemq-cppd.lib. i get linking > >> errors such as below > >> > >> libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external > >> symbol > >> _apr_uuid_format referenced in function "public: virtual class > >> std::basic_string<char,struct std::char_traits<char>,class > >> std::allocator<char> > __thiscall decaf::util::UUID::toString(void)const > >> " > >> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL > >> PROTECTED]@@[EMAIL PROTECTED]@2@@std@@XZ) > >> 1>libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external > >> symbol > >> _apr_uuid_get referenced in function "public: static class > >> decaf::util::UUID > >> __cdecl decaf::util::UUID::randomUUID(void)" > >> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) > >> 1>libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external > >> symbol > >> _apr_md5 referenced in function "public: static class decaf::util::UUID > >> __cdecl decaf::util::UUID::nameUUIDFromBytes(char const *,unsigned int)" > >> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@Z) > >> 1>libactivemq-cppd.lib(UUID.obj) : error LNK2019: unresolved external > >> symbol > >> _apr_uuid_parse referenced in function "public: static class > >> decaf::util::UUID __cdecl decaf::util::UUID::fromString(class > >> std::basic_string<char,struct std::char_traits<char>,class > >> std::allocator<char> > const &)" > >> ([EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@[EMAIL > >> PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@@Z) > >> 1> > >> > >> > >> > >> Please help me to solve this problem ! > >> > >> Regards > >> tinnu > > > > > > >
