项目场景:
win10-64位编译CEF-87 ,使用CMake 生成32位VS2015工程;
问题描述
vs2015编译32位cefclient的debug模式报错: mt.exe general error c101008d: Failed to write the updated manifest …cefclient.exe". The file or directory is corrupted and unreadable.
原因分析:
cefclient.exe生成失败,exe文件不可用,根本原因:cef_sandbox.lib库在vs2019版本以下的VS可能会链接失败;
解决方案:
方案1: 取消生成debug调试信息可以解决;(缺点不能调试了) vs工程属性-链接器-调试-生成调试信息-否;
方案2: run CMake with -DUSE_SANDBOX=Off ;重新生成vs的.sln解决方案;