You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by djabrahm <da...@bbh-design.com> on 2011/04/28 06:12:48 UTC

Unresolved external symbols for CPP examples

I must be doing something wrong. I am trying to build the ActiveMQ-CPP
examples and I am getting 51 unresolved externals. I know that the libs are
specified, bacause I manually navigated and added the paths and libs. I
cannot figure out what else I need to do. I am obviously missing something
obvious here.

I am using VS2008 on W7. I have included the following libs and path to them
ws2_32.lib aprapp-1.lib aprutil-1.lib libactivemq-cppd.lib

Here are some samples of the messages..


Error	1	error LNK2019: unresolved external symbol _apr_strerror@12
referenced in function "public: static void __cdecl
decaf::lang::System::unsetenv(class std::basic_string&lt;char,struct
std::char_traits&lt;char&gt;,class std::allocator<char> > const &)"
(?unsetenv@System@lang@decaf@@SAXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
libactivemq-cppd.lib	activemq-cpp-example

Error	2	error LNK2001: unresolved external symbol _apr_strerror@12
libactivemq-cppd.lib	activemq-cpp-example

Error	51	error LNK2019: unresolved external symbol _apr_os_uuid_get@4
referenced in function _apr_uuid_get@4	aprutil-1.lib	activemq-cpp-example



--
View this message in context: http://activemq.2283324.n4.nabble.com/Unresolved-external-symbols-for-CPP-examples-tp3480102p3480102.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Re: Unresolved external symbols for CPP examples

Posted by Timothy Bish <ta...@gmail.com>.
On Wed, 2011-04-27 at 21:12 -0700, djabrahm wrote:
> I must be doing something wrong. I am trying to build the ActiveMQ-CPP
> examples and I am getting 51 unresolved externals. I know that the libs are
> specified, bacause I manually navigated and added the paths and libs. I
> cannot figure out what else I need to do. I am obviously missing something
> obvious here.
> 
> I am using VS2008 on W7. I have included the following libs and path to them
> ws2_32.lib aprapp-1.lib aprutil-1.lib libactivemq-cppd.lib
> 

I don't know what this is: aprapp-1.lib you probably want apr-1.lib 

Regards

-- 
Tim Bish
------------
FuseSource
Email: tim.bish@fusesource.com
Web: http://fusesource.com
Twitter: tabish121
Blog: http://timbish.blogspot.com/

Connect at CamelOne May 24-26

The Open Source Integration Conference