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

相关文章:

  • 2021-07-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-23
  • 2022-12-23
  • 2021-10-31
  • 2021-09-27
猜你喜欢
  • 2021-11-29
  • 2022-12-23
  • 2022-01-02
  • 2022-12-23
  • 2021-08-14
  • 2021-11-20
  • 2021-07-15
相关资源
相似解决方案