Error D8016 '/ZI' and '/Gy-' command-line options are incompatible

使用vs运行工程时出现错误:

Severity Code Description Project File Line Suppression State
Error D8016 '/ZI' and '/Gy-' command-line options are incompatible TextCat E:desktop20161机器学习project02-2266031_2_MLKD-Project2-TC cTextCatcl 1

解决办法:

  右键点击工程——》properties——》C/C++——》Debug Information Format——》select:Program Database(/Zi)

原文地址:https://www.cnblogs.com/fanling999/p/5433857.html