Author Topic: Newbie. Help!!!  (Read 3972 times)

Offline Cam84

  • Single posting newcomer
  • *
  • Posts: 3
Newbie. Help!!!
« on: January 12, 2015, 03:43:28 am »
Hello everyone,

I have begun my journey to learn C++ using code blocks with mac and it seems I have run into problems before the starting gate.

I have download Xcode and the command line tool package and everything seems fine. Code blocks is working in GCC as the compiler.

However after writing my hello world program and checking build ( which reports zero errors) I press the run button and terminal comes up with the following message.

MacBook-Pro:~ cam$ /Users/cam/Desktop/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/cam/Documents/Undertanding Projects/FirstProject/SayHello/bin/Debug/SayHello
sh: /Users/cam/Documents/Undertanding: No such file or directory

Process returned 127 (0x7F)   execution time : 0.012 s
Press ENTER to continue.

Does anyone know how this can be fixed. Please if someone could help in simpleton language that would be great.

Thanks in advance.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Newbie. Help!!!
« Reply #1 on: January 12, 2015, 06:03:48 am »
I don't know which version of Code::Blocks you use or which version of MacOSX(which is essentiel in some cases).
But in your case I would it first try it in a path without spaces !

Offline Cam84

  • Single posting newcomer
  • *
  • Posts: 3
Re: Newbie. Help!!!
« Reply #2 on: January 12, 2015, 07:16:59 am »
Version 13.12.

Only downloaded it a few days ago.

What do you mean by trying it in a patch?




Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Newbie. Help!!!
« Reply #3 on: January 12, 2015, 07:44:28 am »
But in your case I would it first try it in a path without spaces !
What do you mean by trying it in a patch?
path != patch
Name your folder e.g. UndertandingProjects instead of Undertanding Projects.

Offline Cam84

  • Single posting newcomer
  • *
  • Posts: 3
Re: Newbie. Help!!!
« Reply #4 on: January 12, 2015, 07:49:17 am »
Brilliant!!!

Works perfect now.


Thank you