Page 1 of 1

Invalid path

Posted: Sat Apr 04, 2015 10:56 pm
by avalesky
I have just started using CodelLite

It tells me that the program "contains some invalid characters"

I am trying to start a program and i call it C:\Program Files\COMPUTER\Cs2\lab6
and the program informs me that this is an invalid path?

I dont understand what are the invalid characters?
Thanks

Re: Invalid path

Posted: Sat Apr 04, 2015 10:57 pm
by avalesky
avalesky wrote:I have just started using CodelLite

It tells me that the program "contains some invalid characters"

I am trying to start a program and i call it C:\Program Files\COMPUTER\Cs2\lab6
and the program informs me that this is an invalid path?

I dont understand what are the invalid characters?
Thanks

Re: Invalid path

Posted: Sat Apr 04, 2015 11:24 pm
by DavidGH
Hi,

That path has a space in it. The mingw compiler can't cope with spaces.

Try moving things to a different folder; one without a space in its filepath.

Regards,

David

Re: Invalid path

Posted: Sun Apr 05, 2015 3:58 am
by Gibbon1
Just an aside you might be able to get away with having spaces in the path if you enclose the path with double quotes ""

The arm cross compiler I use installs as

C:/Program Files (x86)/GNU Tools ARM Embedded/4.7 2013q1/bin/arm-none-eabi-gcc.exe

With "" quotes around it, it works

"C:/Program Files (x86)/GNU Tools ARM Embedded/4.7 2013q1/bin/arm-none-eabi-gcc.exe"