News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Problem in running

Started by Vegastar, March 08, 2010, 07:51:52 PM

Previous topic - Next topic

Vegastar

Hi everyone!
I use Code Blocks on a Mac. I write a program, I build it and it is correct. When I run it, a window of Terminal opens like this and the program don't works. WHat should I do? Please, help me! Already thanks to everyone :)


Ceniza

It looks like the spaces, as well as the ampersand (&) are causing problems. Please try a path without spaces in it, and without ampersands (which mean "run task in the background" when in a terminal) or any other funny symbols.

Vegastar

I tried to eliminate spaces and & but nothing changed... I don't think it is a problem in the text but in the system. Maybe the files are in the wrong place or something...

Ceniza

If you remove all spaces and funny symbols (ampersand, comma), the error should go away. In any case, it is very strange that Code::Blocks is not adding double quotes automatically when executing the command. I just tried the same thing in Linux with a path similar to yours, and it works just fine (it should work about the same in Mac). I am using Code::Blocks 5733 here which is quite old already. Which version are you using?