如何 运行 使用 OpenMesh 编程

How to run program using OpenMesh

我已经通读了 OpenMesh 的大部分文档,但对如何使用 OpenMesh 运行 一个简单的程序一头雾水。我按照制作基本立方体和构建项目的教程进行操作:http://www.openmesh.org/media/Documentations/OpenMesh-6.2-Documentation/a00068.html but nowhere do they mention how to RUN the program. The tutorial says to put the file that makes the cube in a particular folder: http://www.openmesh.org/media/Documentations/OpenMesh-6.2-Documentation/a00066.html 并且我这样做了。当我用 cmake 和 make 构建它时,它清楚地编译了代码。之后我迷路了。

假设您使用链接页面中给出的 CMakeLists.txt,链接器应该在您执行 cmake 的目录中创建一个文件 MyOwnProject,然后 make。那是你的可执行文件。要 运行 您的程序,执行该文件,方法是在文件管理器中双击它(资源管理器,如果您使用 Windows)或在 [=18= 上键入 ./MyOwnProject ]命令行。