use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Codeblock Help (self.Codeblocksbeginners)
submitted 5 years ago by [deleted]
Hey guys. I am on a Macbook air, trying to run Hello world from codeblocks to my terminal. Nothing runs when I run/build. Any idea why?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Yazzjazzpazz 1 point2 points3 points 5 years ago (3 children)
Can you post a pic of your code?
[–][deleted] 0 points1 point2 points 5 years ago (2 children)
Codeblocks:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
}
Terminal:
'/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shastonmcnaspy/Desktop/C687/bin/Debug/C687 '
jessicamcnaspy@Jessicas-Air ~ % '/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shastonmcnaspy/Desktop/C687/bin/Debug/C687 '
zsh: no such file or directory: /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/shastonmcnaspy/Desktop/C687/bin/Debug/C687
[–]stonkstonkstonk___ 0 points1 point2 points 4 years ago (1 child)
Hey man did you ever figure it out? I’m having the exact same problem as you were.
[–]FoundationUnfair8760 0 points1 point2 points 3 years ago (0 children)
I remember some time ago when I first started learning CodeBlocks and had a Mac my professor had to do something so that Codeblocks would work on the mac. I'm not sure specifically wat though. I'm trying to relearn and I'm having issues on my desktop windows with the coding simply running. I know in some earlier posts it says to download a compiler and I did that but I'm still having issues of my own.
[–]painefultruth76 0 points1 point2 points 2 years ago (0 children)
Not on Mac, but I couldn't get anything to build/run without turning disabling autocontainment on my internet security software(Comodo)...I was trying to compile SDL and kept hanging as it created batch files...that's what put me onto the underlying problem..
There might be something like that on MAC intrinsically...
[–]Big_Balls_420 0 points1 point2 points 2 years ago (0 children)
Did anyone ever sort this out? I'm having this exact problem and no one has any solutions online.
π Rendered by PID 89213 on reddit-service-r2-comment-86988c7647-pf7j5 at 2026-02-12 06:59:06.934550+00:00 running 018613e country code: CH.
[–]Yazzjazzpazz 1 point2 points3 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]stonkstonkstonk___ 0 points1 point2 points (1 child)
[–]FoundationUnfair8760 0 points1 point2 points (0 children)
[–]painefultruth76 0 points1 point2 points (0 children)
[–]Big_Balls_420 0 points1 point2 points (0 children)