CodeLite 4.1.5770 on Windows gotchas

edited October 2013 in General discussions
Just posting this here as a reminder to myself and any others who have this issue.

After installing and uninstalling various versions of codelite on Windows XP laptop, I noticed I could no longer compile orx from scratch.

Here's a checklist of things to ensure:

* Remove C:MinGW... references from your environment path with My Computer / Properties
* In Codelite / Settings / Environment Variables, remove any references to MinGW.
* In Codelite / Settings / Build Settings / Build Systems, ensure the following is set:
- GNU makefile for g++/gcc
- Build Tool: mingw32-make.exe
- Build Tool Switches: -f

Should now work. Removing environment variables seems counter-intuitive, but Codelite works it out somehow without my help. And with my help gets upset.

The -f in the Build Tool Switches is key! Without it, you get stuff like:
mingw32-make.exe: *** No rule to make target `all'. Stop.
mingw32-make.exe: Nothing to be done for `'.

Tore my hair out for three nights on this.
Sign In or Register to comment.