首页 > 技术文章 > fatal error c1001 编译器中发生内部错误 OpenMesh6.3

VVingerfly 2017-01-24 11:00 原文

Internal Compiler Error VS 2015 Update1

VS2015 Update1 编译OpenMesh的额代码时发生错误

fatal error c1001 编译器中发生内部错误 OpenMesh6.3

(compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\special.c', line 6211)

1> To work around this problem, try simplifying or changing the program near the locations listed above.

原因是出现了诸如此类代码

OpenMesh::Vec3f normal[4];

解决办法:将这类代码改为下面即可。

OpenMesh::Vec3f normal[4] = { {},{},{},{} };

 

参考:OpenMesh Issues

推荐阅读