Invalid path

General questions regarding the usage of CodeLite
avalesky
CodeLite Curious
Posts: 2
Joined: Sat Apr 04, 2015 10:46 pm
Genuine User: Yes
IDE Question: c++
Contact:

Invalid path

Post 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
avalesky
CodeLite Curious
Posts: 2
Joined: Sat Apr 04, 2015 10:46 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Invalid path

Post 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
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Invalid path

Post 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
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Invalid path

Post 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"
Post Reply