Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
CodeBlocks can't "build and Run" the the "Hello world"
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: CodeBlocks can't "build and Run" the the "Hello world" (Read 6480 times)
shuilin
Single posting newcomer
Posts: 1
CodeBlocks can't "build and Run" the the "Hello world"
«
on:
August 09, 2023, 04:18:13 am »
Whenever I tried to run the basic program.
It always shows below:Please help me!
Last login: Tue Aug 8 22:08:58 on ttys000
'/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shuilin/Desktop/Giraffe/bin/Debug/Giraffe '
shuilin@Shuis-MBP ~ % '/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shuilin/Desktop/Giraffe/bin/Debug/Giraffe '
zsh: no such file or directory: /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shuilin/Desktop/Giraffe/bin/Debug/Giraffe
shuilin@Shuis-MBP ~ %
Logged
MichaelAgarkov
Guest
Re: CodeBlocks can't "build and Run" the the "Hello world"
«
Reply #1 on:
September 15, 2023, 01:15:26 pm »
It looks like some C::B files are missing, try reinstalling. I never used macOS, so I can't help further than that.
Logged
stahta01
Lives here!
Posts: 7719
Re: CodeBlocks can't "build and Run" the the "Hello world"
«
Reply #2 on:
September 15, 2023, 02:50:05 pm »
The terminal program setting in CB needs to be changed or the OP needs to install zsh terminal.
Edit: Settings -> Enviroment
General Setting
Change "Terminal to launch console program" or install terminal listed in stetting
Tim S.
«
Last Edit: September 15, 2023, 02:53:11 pm by stahta01
»
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
CodeBlocks can't "build and Run" the the "Hello world"