News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code Block terminal isn't working?

Started by Larry3859, August 30, 2015, 07:01:44 AM

Previous topic - Next topic

Larry3859

So I recently got Code::Blocks for mac and when I press build and run it shows this

Last login: Sat Aug 29 21:44:57 on ttys001
lawrences-MacBook-Pro-use-wifi-D:~ larry$ /Users/larry/Desktop/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/larry/Desktop/CodeBlocks/Lesson 1/bin/Debug/Lesson 1
sh: /Users/larry/Desktop/CodeBlocks/Lesson: No such file or directory

Process returned 127 (0x7F)   execution time : 0.003 s
Press ENTER to continue.


I have no idea what's wrong since everything seems normal in the folder.


Easior Lars

Quote from: Larry3859 on August 30, 2015, 07:01:44 AM
lawrences-MacBook-Pro-use-wifi-D:~ larry$ /Users/larry/Desktop/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/larry/Desktop/CodeBlocks/Lesson 1/bin/Debug/Lesson 1
sh: /Users/larry/Desktop/CodeBlocks/Lesson: No such file or directory
There is a special character, i.e. blank-space, in your path to the source codes. The workaround is to change "Lesson 1" to "Lesson1". I think that opening a ticket issue on bug-tracker system of CB is a better solution.
Development Environments:GCC+CodeBlocks+wxWidgets
Developing Languages:Bash+Python+C/CPP+LaTeX
Developer Utils:Emacs+GIT+OpenSSH+GPG
OS:Mac OS X, Gentoo/Kali Linux/Fedora/CentOS, MS Windows
Blog:[url="http://easior.i11r.com"]http://easior.i11r.com[/url]

Larry3859