mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doe

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doe

Postby RobbyDwayne » Sun Aug 29, 2021 8:55 pm

When building my application I get the following error:

mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'

This is from the libcef_dll_wrapper.lib. I have made sure to build both in debug with the same runtime library (MTd).

I am also using the AWS SDK if that is known to cause issues. If I get the _ITERATOR_DEBUG_LEVEL=0 then the AWS SDK doesn't work so that is not an option.

Any suggestions?
RobbyDwayne
Techie
 
Posts: 15
Joined: Wed Aug 11, 2021 12:52 am

Re: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0'

Postby magreenblatt » Sun Aug 29, 2021 9:50 pm

When you build libcef_dll_wrapper alongside your application you can give it whatever defines you prefer.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0'

Postby RobbyDwayne » Sun Aug 29, 2021 10:25 pm

I am building it separately and then linking it. I have tried changing the runtime libraries and removing the _HAS_ITERATOR_DEBUGGING=0 and it leads to the following when building my application

Code: Select all
1>C:\Program Files (x86)\aws-cpp-sdk-all\include\aws\core\utils\stream\ResponseStream.h(61,13): warning C4275: non dll-interface class 'std::ios_base' used as base for dll-interface class 'std::basic_ios<char,std::char_traits<char>>'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30037\include\xiosbase(172): message : see declaration of 'std::ios_base'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30037\include\iosfwd(222): message : see declaration of 'std::basic_ios<char,std::char_traits<char>>'
RobbyDwayne
Techie
 
Posts: 15
Joined: Wed Aug 11, 2021 12:52 am

Re: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0'

Postby magreenblatt » Sun Aug 29, 2021 10:43 pm

I suggest googling that error or posting to an AWS SDK support forum.
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 79 guests