I am completely new to coding/Code::Blocks. I am working through a C++ workbook to teach myself.
Can anyone help me figure out what I'm doing wrong? I am working on the first exercise in the book, but when I run the program I get this message. (I have replaced with "XX" pieces that have my name to maintain my privacy.)
Last login: Fri Feb 19 16:04:45 on ttys000
XX@XX-MacBook-Pro ~ % '/Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/XX/Documents/CPP_AIO4/BookI/Chapter03/SayHello/SayHello/bin/Debug/SayHello '
zsh: no such file or directory: /Applications/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/XX/Documents/CPP_AIO4/BookI/Chapter03/SayHello/SayHello/bin/Debug/SayHello
XX@XX-MacBook-Pro ~ %
I've tried starting over and using a different file location but I just get the same message.
Any help is appreciated.
UPDATE 2/20/21
So, I've figured out that if I copy the location between the two ' characters and try to run that again in terminal, the code works.