activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: linking activeMQ with visual studio 2009
Date Wed, 17 Feb 2010 13:03:39 GMT
On Wed, 2010-02-17 at 04:48 -0800, asarang wrote:
> Sorry if this has already been ansewered but i can not seem to find the
> answer.
> 
> I have downloaded and built the activemq-cpp-library-3.1.0 but there is no
> lib file created for me to link to the project.  
> 
> how do i create this file and link it to my project?
> 
> any help appreciated.
> 
> Thanks
> Abu

There are targets in the dev studio project for DLL and Static libs, you
need to build the right one, I usually just do a batch build for the
solution and build all targets.  

Regards


> 
> error recieved
> -------------------------------------------------------------------------------------------
> 1>Linking...
> 1>FileTransfer.obj : error LNK2019: unresolved external symbol "public:
> static void __cdecl activemq::library::ActiveMQCPP::initializeLibrary(void)"
> (?initializeLibrary@ActiveMQCPP@library@activemq@@SAXXZ) referenced in
> function "public: int __thiscall FileTransfer::run(void)"
> (?run@FileTransfer@@QAEHXZ)
> 1>C:\Workdir\Branches\networking-live\telemetry\Debug\SpikeControl.exe :
> fatal error LNK1120: 1 unresolved externals
> 
> code causing error
> 	activemq::library::ActiveMQCPP::initializeLibrary();
> 

-- 
Tim Bish

Open Source Integration: http://fusesource.com
ActiveMQ in Action: http://www.manning.com/snyder/

Follow me on Twitter: http://twitter.com/tabish121
My Blog: http://timbish.blogspot.com/


Mime
View raw message