更新时间:2023-01-19 10:20:00
这是我有,你没有真正编译程序,但是尝试运行它的信息猜测。也就是说,BUILD_ALL被设置为启动项目。 (这应该是一个大胆的字体,不像在解决方案中的其他项目)如果你再尝试运行/调试,你会得到你所描述的错误,因为根本就没有运行。
Guessing from the information I have, you're not actually compiling the program, but trying to run it. That is, BUILD_ALL is set as your startup project. (It should be in a bold font, unlike the other projects in your solution) If you then try to run/debug, you will get the error you describe, because there is simply nothing to run.
该项目通过CMake的最有可能产生并包含在Visual Studio解决方案。设置任何做生成.exe文件为启动项目(通过设置为启动项目项目,并选择右键点击)项目,你将最有可能将能够在Visual Studio中启动这些。
The project is most likely generated via CMAKE and included in your Visual Studio solution. Set any of the projects that do generate a .exe as the startup project (by right-clicking on the project and selecting "set as startup project") and you will most likely will be able to start those from within Visual Studio.