News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Connecting CodeBlocks to Terminal

Started by Miko217, March 18, 2022, 12:36:40 AM

Previous topic - Next topic

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

#1
I suggest not using spaces or non-ASCII characters in the path.

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

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Miko217

Thanks that was the issue, much appreciated!