Author Topic: Using Code::Blocks 13.12 C++  (Read 154 times)

Offline meow

  • Single posting newcomer
  • *
  • Posts: 1
Using Code::Blocks 13.12 C++
« on: December 03, 2018, 08:54:42 am »
#include <iostream>
using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}

When I select Build & Run I get the following message in the Build Log window:

Last login: Sun Dec  2 23:26:20 on ttys000
Graces-MacBook-Pro:~ gracechau$ /private/var/folders/nv/mmplq_n10z74htn6qwdflt8m0000gn/T/AppTranslocation/E25D5716-DA81-4936-8D4C-A1D30C2D963D/d/CodeBlocks.app/Contents/MacOS/cb_console_runner DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:. /Users/gracechau/Documents/CS C++/~~/bin/Debug/~~
sh: /Users/gracechau/Documents/CS: No such file or directory

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

Please help >_<!
« Last Edit: December 03, 2018, 08:56:41 am by meow »

Online stahta01

  • Lives here!
  • ****
  • Posts: 6368
    • My Best Post
Re: Using Code::Blocks 13.12 C++
« Reply #1 on: December 03, 2018, 07:29:57 pm »
Do not use spaces in the path.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org