简体   繁体   English

Ubuntu SDK-自定义可执行文件

[英]Ubuntu SDK - Custom executable

I have a problem with Ubuntu SDK. 我对Ubuntu SDK有问题。 I try to run project (qml and c++) but I get pop up window with message "Could not find the executable" and some settings (command, arguments, working directory) 我尝试运行项目(qml和c ++),但出现弹出窗口,显示消息“找不到可执行文件”和一些设置(命令,参数,工作目录)

How should I run it? 我应该如何运行?

If your application is really built than you will able to get name of executable. 如果您的应用程序是真正构建的,则可以获取可执行文件的名称。 You can get it from compilation log (see what is written after -o option in last command) or you can look to build directory with your favorite file manager. 您可以从编译日志中获取它(请参阅最后一个命令中-o选项之后写的内容),也可以使用自己喜欢的文件管理器来构建目录。

NB There is concept of shadow building. 注意:有影子建筑物的概念。 If it is enabled final executable will not be stored in source directory. 如果启用,则最终可执行文件将不会存储在源目录中。 So, you need to disable it, rebuild application, go to sources directory, find new files which have executable flag and write it's name to dialog above. 因此,您需要禁用它,重建应用程序,转到sources目录,查找具有可执行标志的新文件,并将其名称写到上面的对话框中。

PS Don't paste screenshots to SO, it is a bad practice. PS不要将屏幕截图粘贴到SO,这是一个不好的做法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM