Author Topic: Code Block terminal isn't working?  (Read 4135 times)

Offline Larry3859

  • Single posting newcomer
  • *
  • Posts: 2
Code Block terminal isn't working?
« on: August 30, 2015, 07:01:44 am »
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.


Offline Easior Lars

  • Multiple posting newcomer
  • *
  • Posts: 44
Re: Code Block terminal isn't working?
« Reply #1 on: August 30, 2015, 08:03:40 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:http://easior.i11r.com

Offline Larry3859

  • Single posting newcomer
  • *
  • Posts: 2
Re: Code Block terminal isn't working?
« Reply #2 on: August 30, 2015, 07:19:58 pm »
Thanks, that was the problem :)