I followed the directions and got the libactivemq-cppd.lib file to build. However, I get a lot of linker errors when I try to compile the example. Does anyone have a working project or solution file that I can use to get the example to compile? I copied the settings straight from the VS2005 project. I'm not sure what is wrong.
Unknown Programmer wrote: > > 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: >> >> >> >> [EMAIL PROTECTED] 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-tp14680479s2354p16263797.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.