在使用Visual Studio(2008/2010,我使用的是2010)编译C++工程时出现编译错误:fatal error C1190: managed targeted code requires a '/clr' option
可以通过以下步骤解决:右键单击Solution Explorer中的工程 --->
选择Properties --->
打开“Propery Pages”页,在左边栏选择Configuration Properties的General项 --->
在右边的 Common Language Runtime Support 选项中 选择“Common Language Runtime Support(/clr)”选项即可。
fatal error C1190: managed targeted code requires a '/clr' option VS2010
最新推荐文章于 2017-02-15 09:26:03 发布