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,class > std::allocator > __thiscall decaf::util::UUID::toString(void)const " > (?toString@UUID@util@decaf@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@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)" > (?randomUUID@UUID@util@decaf@@SA?AV123@XZ) > 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)" > (?nameUUIDFromBytes@UUID@util@decaf@@SA?AV123@PBDI@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,class > std::allocator > const &)" > (?fromString@UUID@util@decaf@@SA?AV123@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) > 1>aprutil-1.lib(sendrecv.obj) : error LNK2019: unresolved external symbol > _TransmitFile@28 referenced in function _apr_socket_sendfile@24 > 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,class > >> std::allocator > __thiscall decaf::util::UUID::toString(void)const > >> " > >> (?toString@UUID@util@decaf@@UBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@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)" > >> (?randomUUID@UUID@util@decaf@@SA?AV123@XZ) > >> 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)" > >> (?nameUUIDFromBytes@UUID@util@decaf@@SA?AV123@PBDI@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,class > >> std::allocator > const &)" > >> (?fromString@UUID@util@decaf@@SA?AV123@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) > >> 1> > >> > >> > >> > >> Please help me to solve this problem ! > >> > >> Regards > >> tinnu > > > > > > >