Page 1 of 1
New to Codelite - how to prepare MinGW/WxWidgets
Posted: Sun Oct 26, 2025 5:25 pm
by frederikdumarey
Hello,
I'm totaly new to Codelite, and have problems setting the environment up.
I have WIndows 11.
Codelite has been installed using the binaries in d:\Program Files\Codelite and works perfectly.
I downloaded the MinGW64 binaries (so no custom build) and installed them in D:\Compilers\mingw64.
I added the /bin directory to the PATH environment variable: D:\Compilers\mingw64\bin. Running gcc or g++ from a cli runs perfectly.
So far so good, but now the problems start:
when running Codelite with the setup wizard, it says: "could not locate any MinGW compiler installed on your machine ...".
Furthermore I downloaded the WxWidget binaries (so no source, but from gcc compiler) and have put them in d:\wxwidgets\bin (for the DLL's) and \include (for the header files). What do I have to put in WXWIN and WXCFG environment variables?
Many thanks in advance,
Frederik.
Re: New to Codelite - how to prepare MinGW/WxWidgets
Posted: Sun Oct 26, 2025 8:01 pm
by frederikdumarey
By the way, I work with the latest Codelite version v18.1.0
Meanwhile I managed to install a compiler, I did it manually using the Build Settings menu, and then added via a directory.
I installed MinGW64, version build 4.3.3 (like mentioned on the forum) -> isn't this very old ???
The classic "Hello world" compiles and runs fine. Why is there no suggestion completion when typing #include < ? In other IDE's I get a list of possible include files.
The second bigger problem is when I try to make a new wxwidgets wxframe GUI project, when clicking OK, Codelite crashes.
Just for the record: I installed nothing regarding wxWidgets so far (no sources, no binaries). Following Google AI's advice, I shouldn't install anything.
Can anyone help me further?
Many thanks in advance.