Giter Club home page Giter Club logo

Comments (9)

acristoffers avatar acristoffers commented on August 27, 2024 1

There are actually only 3 errors there:

Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL'
http://stackoverflow.com/questions/7668200/error-lnk2038-mismatch-detected-for-iterator-debug-level-value-0-doesnt

Error LNK2038 mismatch detected for '_MSC_VER'
http://stackoverflow.com/questions/19575747/error-lnk2038-mismatch-detected-for-msc-ver-value-1600-doesnt-match-valu

Error LNK2038 mismatch detected for 'RuntimeLibrary'
http://stackoverflow.com/questions/26314063/linker-error-lnk2038-mismatch-detected-for-runtimelibrary

The errors probably appeared because of the project upgrade. As you're upgrading the project, I recommend downloading the newest CEF (https://cefbuilds.com/#branch_2526). Then rebuild their project to get a new libcef_dll_wrapper.lib file. Copy this file into CEF3SimpleSample/CEF/Win/lib. Also update all other files you can find in the CEF/Win directory. Look for them in your new CEF build. Then change the settings in the CEF3SimpleSample project to match the ones in the CEF project. _MSC_VER will already be right, I guess, because you recompiled the lib. _ITERATOR_DEBUG_LEVEL might need to be reset in the configuration. The RuntimeLibrary might also be corrected by the new lib, if not, change it in you project too.

from cef3simplesample.

acristoffers avatar acristoffers commented on August 27, 2024

That I remember, just open the project and compile, but I didn't try it with Windows 10 nor VS15.

What are the errors? Warnings are normal, though.

from cef3simplesample.

bi-ah avatar bi-ah commented on August 27, 2024

Thanks for your response.

Few initial errors can be found below:

Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(before_download_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(allow_certificate_error_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(allow_certificate_error_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(allow_certificate_error_callback_ctocpp.obj) 1
Error LNK2001 unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z) CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(allow_certificate_error_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(app_cpptoc.obj) 1
Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(app_cpptoc.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(app_cpptoc.obj) 1
Error LNK2001 unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z) CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(app_cpptoc.obj) 1
Error LNK2038 mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(auth_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(auth_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(auth_callback_ctocpp.obj) 1
Error LNK2001 unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z) CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(auth_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(before_download_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(before_download_callback_ctocpp.obj) 1
Error LNK2001 unresolved external symbol "char const * __cdecl std::_Winerror_map(int)" (?_Winerror_map@std@@YAPBDH@Z) CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(before_download_callback_ctocpp.obj) 1
Error LNK2038 mismatch detected for '_MSC_VER': value '1800' doesn't match value '1900' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(binary_value_ctocpp.obj) 1
Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in ClientApp.obj CEF3SimpleSample C:\Users\vpc\Desktop\CEF\CEF3SimpleSample-master\CEF3SimpleSample\libcef_dll_wrapper.lib(binary_value_ctocpp.obj) 1

...

from cef3simplesample.

bi-ah avatar bi-ah commented on August 27, 2024

Thanks a lot. I will give it a try tomorrow. With the detailed instructions that you have provided, I am sure it won't be difficult for me at all.

from cef3simplesample.

bi-ah avatar bi-ah commented on August 27, 2024

The solution I found was simple. Switch back to Visual Studio 2013. Everything worked fine with that. Thanks.

from cef3simplesample.

CodeDogandCat avatar CodeDogandCat commented on August 27, 2024

i am building a uwp visual c++ project which is depandent on the libcurl and the openssl , i have done this in a win10 project ,but when try it in windows8.1,failed . i need help, thanks.
this error log is below:
LNK2038 "_MSC_VER" does not match: the value of "1900" not matching value "1800" (App.xaml.obj) in msvcprtd.lib (nothrow.obj) and msvcprtd.lib(locale0_implib.obj)

from cef3simplesample.

acristoffers avatar acristoffers commented on August 27, 2024

@CodeDogandCat You're using different versions of VisualCompiler. See the Stack Overflow link above.

from cef3simplesample.

AmritaBhatt avatar AmritaBhatt commented on August 27, 2024

getting LNK2038 error --- value 'MTd_StaticDebug' doesn't match value 'MD_DynamicRelease' in Visual studio 2015 .. Could anyone please help

from cef3simplesample.

acristoffers avatar acristoffers commented on August 27, 2024

@AmritaBhatt you're using different build settings.

https://stackoverflow.com/questions/14714877/mismatch-detected-for-runtimelibrary

from cef3simplesample.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.