#visual studio编译# Error D8016 '/ZI' and '/Gy-' command-line options are incompatible

visual studio编译工程时出现错误:

#visual studio编译# Error	D8016	'/ZI' and '/Gy-' command-line options are incompatible

Error    D8016    '/ZI' and '/Gy-' command-line options are incompatible    TextCat    E:\desktop\20161\机器学习\project\002-2266031_2_MLKD-Project2-TC\tc\TextCat\cl    1

 

解决办法:

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

#visual studio编译# Error	D8016	'/ZI' and '/Gy-' command-line options are incompatible