Comments (9)
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.
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.
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.
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.
The solution I found was simple. Switch back to Visual Studio 2013. Everything worked fine with that. Thanks.
from cef3simplesample.
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.
@CodeDogandCat You're using different versions of VisualCompiler. See the Stack Overflow link above.
from cef3simplesample.
getting LNK2038 error --- value 'MTd_StaticDebug' doesn't match value 'MD_DynamicRelease' in Visual studio 2015 .. Could anyone please help
from cef3simplesample.
@AmritaBhatt you're using different build settings.
https://stackoverflow.com/questions/14714877/mismatch-detected-for-runtimelibrary
from cef3simplesample.
Related Issues (20)
- Error when build for MacOS HOT 2
- [suggestion] Support CMake HOT 2
- [suggestion] Support Travis HOT 1
- Problems when run on Windows HOT 2
- Problems with VS2017 and Win10 HOT 5
- Problems with CMake on Win10 and VS 2017 HOT 4
- Visual Studio 2019 & Windows 10, Couldn't mmap icu data file
- Help GPUCache folder and Process running HOT 6
- Win: Visual Studio 2019 Unresolved external symbols HOT 12
- CEF dll crashes at CefInitialize HOT 4
- Missing header files in source? HOT 3
- URL Request with a Callback HOT 1
- the app too big HOT 10
- CEF90.6.5 crash in macos HOT 4
- Enter the password every time you re-run the app HOT 3
- About ClientV8ExtensionHandler file HOT 6
- abcout dispatch_get_main_queue HOT 1
- How to add CefDragHandler? HOT 1
- Any chance of getting this building on Mac arm64
- Question HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cef3simplesample.