[英]zsh no such file or directory shows in terminal while coding with codeblocks in MacBook Pro
/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/sayeeba/study programming/LIVE/bin/Debug/LIVE
sh: /Users/sayeeba/study: No such file or directory
Process returned 127 (0x7F) execution time : 0.003 s
Press ENTER to continue.
每当我尝试在代码块中运行代码时,这就是它在终端中显示的内容。 我在environment>terminal
中使用了这种方法,通过删除“引用形式”部分来启动。 但这不起作用。
您的study programming
目录的名称中有一个空格。 空格在定义中使用时会出现问题,例如:
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/sayeeba/study programming/LIVE/bin/Debug/LIVE
请注意,它找不到/Users/sayeeba/study
并返回“没有这样的文件或目录”错误。
您可以将目录重命名为study_programming
使用下划线而不是学习后的空格。 更新您的路径以使用下划线版本应该可以解决该问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.