I am using VS2015 C++ Project. Initially I had a LNK2038 issue which was
error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '1' in imagecolor.obj
so I added _ITERATOR_DEBUG_LEVEL=0, 1, and 2 under Additional Dependencies. However now I have a new error showing up instead:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\yvals.h(174): fatal error C1189: #error: _ITERATOR_DEBUG_LEVEL > 1 is not supported in release mode.
Based on what I gathered, I added what I mentioned earlier and checking the Runtime Library (Multri-Threaded DLL). I'm a little beat on how to troubleshoot. Any help will be greatly appreciated. Thanks!