代码块::似乎这个项目还没有建成

时间:2017-01-05 17:26:08

标签: codeblocks

即时通讯使用mac 10.12和 我下载了代码块和命令行开发人员工具 但当我试图运行任何程序时,会出现一个窗口并说“看起来项目还没有建成。你现在想建立它吗?”

这是构建日志

-------------- Build: Debug in aaaa (compiler: GNU GCC Compiler)---------------

gcc -Wall -g  -c /Users/macbookproretina13inch/Documents/Programming/aaaa/main.c -o obj/Debug/main.o
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Process terminated with status 69 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))


-------------- Run: Debug in aaaa (compiler: GNU GCC Compiler)---------------

Checking for existence: /Users/macbookproretina13inch/Documents/Programming/aaaa/bin/Debug/aaaa
Executing: osascript -e 'tell app "Terminal"' -e 'activate' -e 'do script "/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/macbookproretina13inch/Documents/Programming/aaaa/bin/Debug/aaaa "' -e 'end tell'  (in /Users/macbookproretina13inch/Documents/Programming/aaaa/.)
Process terminated with status 0 (0 minute(s), 3 second(s))

1 个答案:

答案 0 :(得分:0)

从App Store下载Xcode,并在终端中运行以安装Xcode的命令行工具:

  

$ xcode-select --install

这将安装必要的编译器和工具,并应解决问题。