Delaunay Trangulation for VS2012 C++?
Delaunay Trangulation for VS2012 C++?
VS2012 C++是否有Delaunay三角剖分的代码/库?在不使用第三部分二进制文件的情况下,我会期待一些轻松的东西。
我试过很多(三角形,C中的Delaunay三角函数,poly2tri,Geom Fade 2D)。其中许多只是不易使用,否则与vs2012不兼容;
有人有什么建议吗?非常感谢
编辑:三角形问题:
有一个三角形网格生成器(Shewchuk,CMU),"三角形",由于其重量轻而被人们推荐。它是用C编写的。但是我不能在我的VS2012 C++项目中使用它。我正在使用x64平台编译它。我使用的是Windows 7 64位。
基本上,我按照所描述的makefile编译了triangle.c。因此,生成了一个三角形.o。然后我1.在我的解决方案中添加了三角形.o作为附加依赖项,2.在我的项目中添加了三角形.c和三角形.h。3.将c/c++预编译头选项中的三角形.c更改为"不使用预编译的头">
然后我收到了很多这样的错误:
1>C:Program Files (x86)Windows Kits8.0Includeumwinnt.h(430): error C2143: syntax error : missing ';' before '*'
1>C:Program Files (x86)Windows Kits8.0Includeumwinnt.h(430): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:Program Files (x86)Windows Kits8.0Includeumwinnt.h(497): error C2143: syntax error : missing ';' before '*'
1>C:Program Files (x86)Windows Kits8.0Includeumwinnt.h(497): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:Program Files (x86)Windows Kits8.0Includeumwinnt.h(498): error C2143: syntax error : missing ';' before '*'
1>C:Program Files (x86)Windows Kits8.0Includeumwinnt.h(498): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:Program Files (x86)Windows Kits8.0Includeumwinnt.h(2517): warning C4391: 'SHORT _InterlockedIncrement16(volatile SHORT *)' : incorrect return type for intrinsic function, expected 'short'
我已经好几年没有使用VS了,但上次我很高兴地将我的应用程序与Triangle链接起来,我们对结果非常满意。
您看到的兼容性问题是什么?
相关文章:
- 在 vs2012 中,lambda 中的 noexcept 如何工作?
- VS2012 不编译此代码,但 G++、clang 和 ICC 都接受它而无需诊断
- VS2012:“找不到资源编译器DLL.请确保路径正确.”
- 从VS2008升级后,VS2012中的构建项目显示错误
- OpenCV with VS2012 (Qt Support)
- VS2012 中的 is_directory () 对于偶数目录返回 false
- VS2010 和 VS2012 以及 C++11 错误 C2059:语法错误:"..."怎么走?
- 在VS2012中使用C++11条件变量
- std::remove_pointer 无法删除 VS2012 上的常量易失性函数指针
- 标准::variate_generator 在 VS2012 中
- 从命令行运行本机 VS2012/C++ 64 位单元测试
- 仅运行自定义生成规则 - VS2012
- VS2012 bind2nd 不是 std 的成员
- VS2012 C++ DLL compatability
- Delaunay Trangulation for VS2012 C++?
- 获取线路错误 MFC vs2012 (msvcp110.dll)
- Boost 1_52内部版本VS2012失败
- <filesystem> VS2013 与 VS2012 中的不同行为
- libtiff with VS2012
- 自(vs2012/2010/2013)以来,msvcrt是否使用不同的堆进行分配