当前位置:网站首页>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
边栏推荐
- 证件照处理
- Kubevela v1.2 release: the graphical operation console velaux you want is finally here
- 电力系统| IEEE论文投稿流程
- Database transaction Transanction
- 堆內存分配的並發問題
- Genesis public chain and a group of encryption investors in the United States gathered in consensus 2022
- 磁盘的结构
- Ideal L9, new trend of intelligent cockpit
- Yyds dry goods inventory junit5 learning II: assumptions class
- Docker installs MySQL 8.0. Detailed steps
猜你喜欢

Annotation

Uncover the secret of station B. is it true that programmers wear women's clothes and knock code more efficiently?

Leetcode: calculate the number of elements less than the current element on the right (sortedlist+bisect\u left)

Servlet details

Yyds dry goods inventory junit5 learning II: assumptions class

How to compare two or more distributions: a summary of methods from visualization to statistical testing

Web security XSS foundation 06

Cross border e-commerce, early entry and early benefit

2022-06-16 work record --js- judge the number of digits in string type digits + judge the number of digits in numeric type digits + limit the text length (display n words at most, exceeding...)

NIO多路复用之Selector的使用
随机推荐
Cache control of HTTP
JWT(Json Web Token)
Virtual private network foundation
cat写多行内容到文件
Heavyweight! Fada is listed as a "specialized and new" enterprise
Nuscenes -- remedies for missing image files or 0-size images encountered during dataset configuration
Chapter 10 project stakeholder management
Future development of education industry of e-commerce Express
【軟件工程】期末重點
Idea close global search box
Relationnet++: a representation of fusion of multiple detection targets based on transformer | neurips 2020
Zero code can apply data visualization to enterprise management
Disk structure
ACL (access control list) basic chapter - Super interesting learning network
【个人实验报告】
FANUC机器人_KAREL编程入门学习(1)
Pinduoduo updates the merchant live broadcast service agreement and strictly punishes the illegal merchants
源码阅读 | OpenMesh读取文本格式stl的过程
Genesis public chain and a group of encryption investors in the United States gathered in consensus 2022
Yyds dry goods inventory junit5 learning II: assumptions class