Code::Blocks Forums
User forums => Help => Topic started by: katee on January 21, 2013, 10:44:53 am
-
Hi,
I'm new to C++ and Codeblocks. I creating my first C++ program on a Mac with Mountain Lion. When I run it, I get this on terminal.
Last login: Mon Jan 21 17:31:08 on ttys000
Kate:~ kate$ /Users/kate/Documents/Hello World/main
-bash: /Users/kate/Documents/Hello: No such file or directory
Kate:~ kate$
I have installed Command line tools (for ML) for Xcode and XCode 4.5.2(not sure if this is necessary).
Please help me!
Thanks,
Kate
-
Please do not start two threads with the same question.
I removed the other topic.
Which version of C::B do you use ?
You can try it in a foldcer without spaces, even if it should work with a recent version of C::B (or it is a bug).
And use file-endings for your sourcefiles (they are not added automatically), it looks your file has no ending.
C::B will not be able to determine which compiler to use.
-
Thanks! it worked after I delete the space on the folder name.