Error building activemq-cpp (CMS) version 3.7.1 as ReleaseDLL on both Win32 and x64

Solution Verified - Updated -

Issue

I am using Apache APR version 1.4.8 and I am trying to build activemq-cpp (CMS) version 3.7.1 in ReleaseDLL mode (both Win32 and x64).

After downloaded the active-cpp-library-3.7.1-src.zip file, I unzipped it and opened the vs2008-build\active-cpp.sln from VisualStudio 2010. I then tried to build ReleaseDLL Win32 (same goes for x64) and I get the following errors:

error LNK2038: mismatch directed for '_ITERATOR_DEBUG_LEVEL': value '1' doesn't match value '0' in AsyncCallback.obj

for 347 files, including, for example:
AdvisorySupport.obj
CMSExceptionSupport.obj
CompositeData.obj
IdGenerator.obj
LongSequenceGenerator.obj
...

For reference, I was able to build the non-DLL/.lib versions: Debug & Release

Environment

  • ActiveMQ CPP 3.7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.