Page 1 of 1

Can't compile on windows

Posted: Wed Mar 11, 2015 11:03 pm
by gigou
Hi

I have downloaded codelite and I have Mingw but when I build my project it doesn't work and writes :

'C:/Program' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
mingw32-make.exe: *** [All] Error 1
1 errors, 0 warnings

But when I compile just one file, it works and I can run.

Does a similar problem occurred ?
Thanks.

Re: Can't compile on windows

Posted: Thu Mar 12, 2015 10:05 am
by eranif
do not install compiler in a folder with spaces

Eran

Re: Can't compile on windows

Posted: Thu Mar 12, 2015 10:08 am
by Gibbon1
Speaking of stuff that doesn't work, codelite discovered my msys mingw compile and an lists it as an option. I'm assuming doesn't work because of slashies. Spent a little time trying figure out how to tell if a compiler is a native windows, or not and failed.

Any hard reason the msys stuff doesn't work under windows?

Re: Can't compile on windows

Posted: Thu Mar 12, 2015 10:30 am
by eranif
MSYS can co-exist with CodeLite, you just need to start CodeLite *within* the MSYS shell

Eran

Re: Can't compile on windows

Posted: Thu Mar 12, 2015 10:31 am
by eranif
FYI: the same is true for Cygwin

Eran