Author Topic: [FIXED] Mac "Build and Run" in terminal  (Read 7677 times)

Offline TheCAE2

  • Single posting newcomer
  • *
  • Posts: 3
[FIXED] Mac "Build and Run" in terminal
« on: June 13, 2014, 06:14:42 pm »
when ever I try to hit "Build and Run" in code blocks code blocks thinks its fine however when I look at terminal O get this:

/Users/CEA2/Desktop/C test/source
-bash: /Users/CEA2/Desktop/C: No such file or directory

source is the name of the file and its a .c file
if I go to finder and run the excitable it works

If you need any more info just let me know. Thanks.
« Last Edit: June 13, 2014, 09:13:35 pm by TheCAE2 »

Offline eranif

  • Regular
  • ***
  • Posts: 256
Re: Mac "Build and Run" in terminal
« Reply #1 on: June 13, 2014, 06:46:10 pm »
Its the space in folder path. Try renaming the folder to something without space, like: "C_test" instead of "C test" (notice the underscore vs the space)
Eran
« Last Edit: June 13, 2014, 07:33:38 pm by eranif »

Offline TheCAE2

  • Single posting newcomer
  • *
  • Posts: 3
Re: Mac "Build and Run" in terminal
« Reply #2 on: June 13, 2014, 06:51:37 pm »
Thank You! :)