I'm stuck for quite some time now on the following. I'm trying to build a project in VS2010 that includes both cplex (and concert technology for c++) and the boost libraries. I've been able to get both to work individually, however not together. The main reason for this right now is that Boost only works when I set the runtime library to /MTd, otherwise it tries to link its release libraries to my debug libraries and that definitely wouldn't work. On the other hand, CPlex complains about the _ITERATOR_DEBUG_LEVEL not matching, which makes perfect sense because the libraries from CPlex are release build. I've tried to set this constant in all ways I could find on the internet, but without any luck.
I use the following preprocessor definitions:
The release build works perfect, however I just can't get the debug build to work because of this _ITERATOR_DEBUG_LEVEL message... I really hope there is anyone with some suggestions, since I really need the debugging functionality of VS2010.