I can try to compile CodeLite with Clang but I don't even know if this is possible.
Furthermore I rely on CodeLite Workspace file provided by Eran. So
I think to compile the whole workspace you need to change Project Settings
for each of the folder it contains.
Building codelite from sources (Windows)
Re: Building CodeLite - Last Hope
-
- CodeLite Enthusiast
- Posts: 39
- Joined: Thu Dec 29, 2011 10:07 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Building CodeLite - Last Hope
zzz7net wrote: ↑Tue Aug 03, 2021 6:59 pmI can try to compile CodeLite with Clang but I don't even know if this is possible.
Furthermore I rely on CodeLite Workspace file provided by Eran. So
I think to compile the whole workspace you need to change Project Settings
for each of the folder it contains.
No! Do not do that!
But, what compiler are you using to Compile wxWidgets and CodeLite?
64 Bit MinGW64 from MSys2 version 10.3 or what?
Tim S.
Re: Building CodeLite - Last Hope
I have downloaded the source files from wxWidget github:
wxWidgest-3.1.5.zip
Then I had used this instruction on the CodeLite wiki.
Also I've tried a slightly newer instruction from CodeLite site.
The only thing I don't understand is why the compiler reports:
mingw32-make[1]: *** No rule to make target '../PCH/precompiled_header_release.h', needed by '../PCH/precompiled_header_release.h.gch'. Stop.
if both of these files are in the same folder .
Re: Building CodeLite - Last Hope
But, what compiler are you using to Compile wxWidgets and CodeLite?
64 Bit MinGW64 from MSys2 version 10.3 or what?
Exactly so. You can get all you need by typing the following strings in MSYS:
pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-cmake
pacman -S unzip
pacman -S git
-
- CodeLite Enthusiast
- Posts: 39
- Joined: Thu Dec 29, 2011 10:07 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Building CodeLite - Last Hope
From where did you get the CodeLite IDE you are using?
What version of CodeLite are you trying to build?
codelite git or codelite version x.x.x?
You have actually gotten farther than I have using the IDE if you are building codelite git.
Tim S.
Re: Building CodeLite - Last Hope
Clone CodeLite for the sources:
git clone https://github.com/eranif/codelite.git
Download and install CodeLite for Windows (64 bit) from our Download Page:
Open the workspace CodeLiteIDE.workspace (located in the CodeLite's folder)
Make sure that the project CodeLiteIDE is selected (the active project uses bold font)
Select the Win_x64_Release build configuration and click F7
-
- CodeLite Enthusiast
- Posts: 39
- Joined: Thu Dec 29, 2011 10:07 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Building CodeLite - Last Hope
If you do an "git log -1" I will try the same git commit you are using; I get a error about "flex" that is way earlier than your error.
Maybe you are using a better commit to try. I think the codelite git is broken for GUI builds on Windows 7 64 bit.
I am going to try building my cmake build of CodeLite on windows and see it that can build the normal way using that IDE.
It never worked in the past; but, I only tried once or twice.
Tim S.
Re: Building CodeLite - Last Hope
log is done
Re: Building CodeLite - Last Hope
Now I'm gonna:
1) uninstall Codelite 15.0.0
2) install Codelite 15.0.6
3) reinstall MSYS2 with all compilers in it
4) maybe rebuild wxWidgets one more time
And try all over again.
I don't want to give up. Because I like CodeLite and If I will be able to build it
for the Windows, it becomes a great alternative to the MS Visual Studio.
-
- CodeLite Enthusiast
- Posts: 39
- Joined: Thu Dec 29, 2011 10:07 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Building CodeLite - Last Hope
I think I got your error building version 15.0.3 of CodeLite. I built it using CodeLite IDE 15.0.0.
Not sure if I will try 15.0.2 or 15.0.4 next. Edit: Trying 15.0.2 next. Edit3: Cancelled 15.0.2, starting 15.0.4.
My guess of the fix is to change
Code: Select all
PreCompiledHeader="../PCH/precompiled_header_release.h"
to
Edit4a: This one worked
Code: Select all
PreCompiledHeader="../../PCH/precompiled_header_release.h"
or to
Edit4b: The one below failed to work.
Code: Select all
PreCompiledHeader="$(WorkspacePath)/PCH/precompiled_header_release.h"
I did not see the solution till after I started building 15.0.2.
I am not sure where in the IDE GUI control gives you the location to change the above.
Tim S.
Code: Select all
"----------Building project:[ PHPPlugin - Win_x64_Release ]----------"
mingw32-make[1]: Entering directory 'C:/src/codelite/codelitephp/php-plugin'
mingw32-make[1]: *** No rule to make target '../PCH/precompiled_header_release.h', needed by '../PCH/precompiled_header_release.h.gch'. Stop.
mingw32-make[1]: Leaving directory 'C:/src/codelite/codelitephp/php-plugin'
mingw32-make: *** [Makefile:51: All] Error 2
====0 errors, 389 warnings, total time: 01:30:38 seconds====