当前位置:网站首页>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
边栏推荐
- Certificate photo processing
- Heavyweight! Fada is listed as a "specialized and new" enterprise
- Cross border e-commerce, early entry and early benefit
- NIO、BIO、AIO
- ThreadLocal memory leak
- Wechat side: what is consistent hash? In what scenario? What problems have been solved?
- [ingénierie logicielle] points clés à la fin de la période
- JWT(Json Web Token)
- Tetris
- Concurrency of heap memory allocation
猜你喜欢

Online filing process

HTTP的缓存控制

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

NIO、BIO、AIO

1. fully explain the basic principles of IPSec

Future development of education industry of e-commerce Express

A girl has been making hardware for ten years. 。。

Cross border e-commerce, early entry and early benefit

Can AI chat robots replace manual customer service?
CA Zhouji - the first lesson in 2022 rust
随机推荐
【软件工程】期末重点
New features of go1.18: efficient replication, new clone API for strings and bytes standard library
Description of transparent transmission function before master and slave of kt6368a Bluetooth chip, 2.4G frequency hopping automatic connection
win10或win11打印机无法打印
Visitor tweets tell you which groups are consuming blind boxes
Panorama of enterprise power in China SSD industry
OA system -- save the verification code to session
Certificate photo processing
Online filing process
Huada 04A operating mode / low power consumption mode
Fanuc robot_ Introduction to Karel programming (1)
[Software Engineering] key points at the end of the period
2022-06-10 工作记录--JS-获取到某一日期N天后的日期
OSPF basic content
Web攻击之CSRF和SSRF
NIO、BIO、AIO
O (n) complexity hand tear sorting interview questions | an article will help you understand counting sorting
interrupt、interrupted 、isInterrupted 区别
Disk structure
JWT(Json Web Token)