当前位置:网站首页>Environment configuration | vs2017 configuring openmesh source code and environment
Environment configuration | vs2017 configuring openmesh source code and environment
2022-06-24 22:44:00 【CSU kayah】
cause : Bloggers' work needs to be checked openmesh Source code , If the openmesh Binary file configuration of the official website , You can only get the environment but not view it .cc Source code .
First download it on the official website OpenMesh-9.0.0.zip, After decompression cmake(configure+generate), obtain build Folder , Then go to the folder and open OpenMesh engineering .
See a lot of projects , Because it will be used later OpenMesh Just use
OpenMeshCored.lib
OpenMeshToolsd.lib
These two libraries , Therefore, you only need to compile these two projects .
Now? OpenMesh Come to an end , Create a new one that you need to use OM Environmental projects , To use once and for all OM Environmental Science , You can create a new property sheet , Add this property sheet directly to other projects next time .
The attribute table mainly contains the following contents
1. VC++ The include directory and Library Directory of the directory

2. C++ Regular additional include directories

3. C/C++ The preprocessor

4. C/C++ Command line

5. The linker -> Input -> Additional dependency

Test code
#include <iostream>
#include <OpenMesh/Core/IO/MeshIO.hh>
#include <OpenMesh/Core/Mesh/TriMesh_ArraykernelT.hh>
typedef OpenMesh::TriMesh_ArrayKernelT<> MyMesh;
int main()
{
MyMesh mesh;
if (!OpenMesh::IO::read_mesh(mesh, "C:\\Kings3D\\OFF&STL\\wrong.stl")) {
std::cerr << "read error\n";
exit(1);
}
std::cout << " End of run \n";
}Reference article
VS2017 To configure openmesh(win 10)_sda42342342423 The blog of -CSDN Blog _ To configure openmesh
边栏推荐
- Visitor tweets tell you which groups are consuming blind boxes
- [personal experiment report]
- Data communication and physical network
- OSPF basic content
- Creating files, recursively creating directories
- Redis hop table
- Zero code can apply data visualization to enterprise management
- STP spanning tree protocol Foundation
- CDN principle
- 中国SSD行业企业势力全景图
猜你喜欢
![[QT] QT event handling](/img/48/14a5491307fee1c99434d6cb308337.jpg)
[QT] QT event handling

结合源码剖析Oauth2分布式认证与授权的实现流程

【Mongodb】READ_ME_TO_RECOVER_YOUR_DATA,数据库被恶意删除

Docker installs redis-5.0.12. Detailed steps

2022-06-16 工作记录--JS-判断字符串型数字有几位 + 判断数值型数字有几位 + 限制文本长度(最多展示n个字,超出...)

Huada 04A operating mode / low power consumption mode

重磅!法大大上榜“专精特新”企业

VRRP skills topic

Unable to use the bean introduced into the jar package

Technology inventory: Technology Evolution and Future Trend Outlook of cloud native Middleware
随机推荐
Nuscenes -- remedies for missing image files or 0-size images encountered during dataset configuration
cat写多行内容到文件
Data communication and physical network
Description of software version selection of kt6368a Bluetooth dual-mode transparent chip
[Software Engineering] key points at the end of the period
New features of go1.18: efficient replication, new clone API for strings and bytes standard library
ThreadLocal内存泄漏问题
Development of live broadcast software app, and automatic left-right sliding rotation chart advertising
Short video mall system, how does scroll view adapt to the remaining height of the page
DX 的 HLSL 和 GL 的 GLSL的 矩阵构建的行列区别
In the era of full programming, should I give up this road?
源码阅读 | OpenMesh读取文本格式stl的过程
Valueerror: cannot take a larger sample than population when 'replace=false‘
Principle of IP routing
进程的通信方式
面试害怕被问MySQL相关问题 ?这份三万字精华总结 + 面试100 问,吊打面试官完全够了
Interrupt, interrupted, isinterrupted differences
Combine pod identity in aks and secret in CSI driver mount key vault
Structure du disque
Chapter 10 project stakeholder management