activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Unknown Programmer <unknown_program...@excite.com>
Subject Re: Unable to comile C++ client on VC++ 2003
Date Thu, 13 Mar 2008 13:12:23 GMT

Update VC++ 2003 (_MSC_VER 1310) and activemq-cpp 2.1.3.

Got the activemq example compiled and linked and it ran fine using a solaris
activemq server.:clap:

Finished compiling and linking our VC 2003 project it worked also. 

So if you do as I say, activemq-2.1.3 will compile and work in VC++ 2003.

Note: I did have to change vc2005 proj file to a vc2003 proj file.

U P :-)

beeeph wrote:
> 
> 
> 
> David@BOBJ wrote:
>> 
>> Hi,
>> 
>> I tried to compile the C++ client on VC++ 2003. I had to change the
>> version of VC++ in .sln and .vcproj to make it loaded by VC++ 2003. When
>> I compiled it, I got quick a few errors. Example:
>> 
>> TransactionInfo.cpp
>> ..\src\main\activemq\connector\openwire\commands\TransactionInfo.h(77) :
>> error C2511: 'activemq::connector::openwire::commands::DataStructure
>> *activemq::connector::openwire::commands::TransactionInfo::cloneDataStructure(void)'
>> : overloaded member function not found in
>> 'activemq::connector::openwire::commands::TransactionInfo'
>>        
>> ..\src\main\activemq\connector\openwire\commands\TransactionInfo.h(47) :
>> see declaration of
>> 'activemq::connector::openwire::commands::TransactionInfo'
>> ..\src\main\activemq\connector\openwire\commands\TransactionInfo.h(77) :
>> error C2511: 'activemq::connector::openwire::commands::DataStructure
>> *activemq::connector::openwire::commands::TransactionInfo::cloneDataStructure(void)'
>> : overloaded member function not found in
>> 'activemq::connector::openwire::commands::TransactionInfo'
>>        
>> ..\src\main\activemq\connector\openwire\commands\TransactionInfo.h(47) :
>> see declaration of
>> 'activemq::connector::openwire::commands::TransactionInfo'
>> 
>> Does anyone knows how to fix it? 
>> 
>> I had tried different compile flags. But no luck.
>> 
>> Thanks
>> 
>> David
>> 
>> 
> 
> Hi David,
> 
> About a month back, I spent a good two weeks trying to use the C++ client
> with VS2003 and, in the end, found that it's impossible.  It turns out
> there are language features not supported with VS2003 that required to
> successfully use the C++ client code.  I was told this by one of the lead
> developers of the activemq-c++ project.  I'm sorry I couldn't be of any
> help, but I didn't want you wasting any more time on this than necessary.
> 
> Cheers
> Beeeph
> 

-- 
View this message in context: http://www.nabble.com/Unable-to-comile-C%2B%2B-client-on-VC%2B%2B-2003-tp14680479s2354p16025209.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message