当前位置:网站首页>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
边栏推荐
- nuScenes——数据集配置过程中遇到图像文件缺失或大小为0时的补救方法
- Disk structure
- Principles of Ethernet port mirroring, link aggregation and VLAN Technology
- 2022-06-10 work record --js- obtain the date n days after a certain date
- In the multi network card environment, the service IP registered by Nacos is incorrect, resulting in inaccessible services
- 证件照处理
- Basic principles of spanning tree protocol
- [ingénierie logicielle] points clés à la fin de la période
- The ktp900f mobile download program of the fail safe mobile panel prompts that the download cannot be performed, and the target device is running or not in the transmission mode
- Problèmes de concurrence dans l'allocation de mémoire en tas
猜你喜欢

Data center basic network platform
Relationnet++: a representation of fusion of multiple detection targets based on transformer | neurips 2020

Virtual private network foundation

NIO、BIO、AIO

Future development of education industry of e-commerce Express

NiO, bio, AIO

详细了解关于sentinel的实际应用

Description of transparent transmission function before master and slave of kt6368a Bluetooth chip, 2.4G frequency hopping automatic connection

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

YGG recent game partners list
随机推荐
Learn more about the practical application of sentinel
Redis-跳表
[personal experiment report]
【个人实验报告】
NIO、BIO、AIO
[QT] QT event handling
Layer 2 and layer 3 forwarding principle based on VLAN
AQS source code analysis
Description of transparent transmission function before master and slave of kt6368a Bluetooth chip, 2.4G frequency hopping automatic connection
Can AI chat robots replace manual customer service?
【Mongodb】READ_ME_TO_RECOVER_YOUR_DATA,数据库被恶意删除
[ingénierie logicielle] points clés à la fin de la période
Kubevela v1.2 release: the graphical operation console velaux you want is finally here
Nuscenes -- remedies for missing image files or 0-size images encountered during dataset configuration
Cross border e-commerce, early entry and early benefit
Cache control of HTTP
img2pdf
CDN principle
Envoy obtain the real IP address of the client
Common voting governance in Dao