r/Codeblocksbeginners • • Sep 24 '20
Codeblock Help
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?
2
Upvotes
View all comments
Show parent comment
1
u/[deleted] Sep 28 '20
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