Can't compile on windows

CodeLite installation/troubleshooting forum
gigou
CodeLite Curious
Posts: 1
Joined: Wed Mar 11, 2015 10:47 pm
Genuine User: Yes
IDE Question: c++
Contact:

Can't compile on windows

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't compile on windows

Post by eranif »

do not install compiler in a folder with spaces

Eran
Make sure you have read the HOW TO POST thread
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't compile on windows

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't compile on windows

Post by eranif »

MSYS can co-exist with CodeLite, you just need to start CodeLite *within* the MSYS shell

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Can't compile on windows

Post by eranif »

FYI: the same is true for Cygwin

Eran
Make sure you have read the HOW TO POST thread
Post Reply