[英]How do I create a project in Visual Studio to use OpenMesh after I've built using CMake?
I followed the directions for compiling OpenMesh on Compiling OpenMesh Using CMake for Windows. 在Windows上使用CMake编译OpenMesh时,我遵循了编译OpenMesh的说明。 I've went so far as to Configure and Generate. 我已经进行过配置和生成。 So I now have the OpenMesh.sln file. 现在,我有了OpenMesh.sln文件。 However, I don't know what the directions mean by "build OpenMesh from within Visual Studio using the newly created project file." 但是,我不知道“使用新创建的项目文件在Visual Studio中构建OpenMesh”的含义是什么。
If anyone could explain the rest of this process to me. 如果有人可以向我解释此过程的其余部分。 I'm not terribly tech-savvy when it comes to this setup part of the process. 对于过程的此设置部分,我并不是很精通技术。
Open the file using visual studio (By double clicking on it.) 使用Visual Studio打开文件(通过双击它。)
Once visual studio opens find the Build
tab at the top of the window. Visual Studio打开后,在窗口顶部找到“ Build
选项卡。
Hit the build solution
button and wait for the compiler to finish. 点击build solution
按钮,然后等待编译器完成。
To change the build configuration find the drop down menu beside the Local Windows Debugger
button. 要更改构建配置,请找到“ Local Windows Debugger
按钮旁边的下拉菜单。 It should say Debug
, click on it and select the option that you wish to use. 它应该显示Debug
,单击它,然后选择要使用的选项。 For a solution created using CMake the options will usually be Debug
, MinSizeRel
, Release
or RelWithDebInfo
. 对于使用CMake创建的解决方案,选项通常为Debug
, MinSizeRel
, Release
或RelWithDebInfo
。 You probably want to compile for at least Debug
and Release
. 您可能至少要进行Debug
和Release
编译。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.