编译CEF3 发生 c101008d: Failed to write the updated manifest to the resource of file

用VS 2017 15.9.24 在编译 CEF3源代码时候,发现在ceftests 会出现
Error    c101008d    Failed to write the updated manifest to the resource of file "D:/CEF/cef_binary_83.3.12_windows32/build/tests/ceftests/Debug/ceftests.exe". ?????????????   

百度,bing等,都是说1、关掉杀软或2、在属性设置中 Linker=>Manifest File => Generate Manifest 设为no.这些办法都失败。

发现主是Cmake搞的,是不是跟CMake 相关,找到 ceftests目录下 CMakeLists.txt打开,查找    ADD_WINDOWS_MANIFEST("${CMAKE_CURRENT_SOURCE_DIR}/resources/win" "${CEF_TARGET}" "exe")这一行。

把它注释掉再重新编译就可以了。
————————————————
版权声明:本文为CSDN博主「iBuilder」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/iBuilder/article/details/106856874