User forums > Help

Connecting CodeBlocks to Terminal

(1/1)

Miko217:
Hi  Y'all :)
I just download codeblocks as I desire to learn the C program. When I run the "Hello World" Program the terminal opens with this:

Last login: Thu Mar 17 19:22:17 on ttys000
/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/Mukhtar/Documents/C Projects/P1/bin/Debug/P1
Nohas-MacBook:~ Mukhtar$ /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/Mukhtar/Documents/C Projects/P1/bin/Debug/P1
sh: /Users/Mukhtar/Documents/C: No such file or directory

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

Any help would be appreciated!

stahta01:
I suggest not using spaces or non-ASCII characters in the path.

Edit: Instead of "C Projects", I would use "C_Projects".

Tim S.

Miko217:
Thanks that was the issue, much appreciated!

Navigation

[0] Message Index

Go to full version