Code::Blocks Forums
User forums => Help => Topic started by: Larry3859 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.
-
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.
-
Thanks, that was the problem :)