target program not found #2066
Replies: 8 comments 14 replies
-
我发现了问题所在。当把工程转为vs之后,使用visual studio调试时,会弹出有个dll文件找不到。把dll文件复制到执行文件路径即可。请问xmake执行程序时为啥会看不到类似的提示呢?使用 |
Beta Was this translation helpful? Give feedback.
-
跟 dll 没关系,切到 vscode,需要点底部 build 按钮先编译一次,即使之前命令行编译过
不知道,反正命令行该有的错误,vscode的终端输出也都会有,没有本质区别 |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
经过测试发现,是文件夹路径中包含中问的话,就会无法进行debug。切换到全英文的路径就可以了。
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
我通过打印输出发现,返回的字符串就已经把中文部分的字符给替换成了65533.我在StackOverflow找到了相关的描述。但是我对js不熟悉,不知道改怎么做调整。 |
Beta Was this translation helpful? Give feedback.
-
在 |
Beta Was this translation helpful? Give feedback.
-
我提交了一个PR,xmake-io/xmake-vscode#85 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
我在桌面上使用xmake命令创建了一个工程。debug正常运行。开发两天后将工程移动到了其他目录,在vscode下使用debug按钮启动debug时提示,target program not found。我删除了build、.vscode、.xmake目录重新进行编译,也执行了
xmake c
,但是仍然提示错误。Beta Was this translation helpful? Give feedback.
All reactions