Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: gd_on on April 27, 2025, 06:02:06 pm
-
I have opened a ticket https://sourceforge.net/p/codeblocks/tickets/1527/ because there is a problem when I try to compile C::B with the new gcc 15.1 version from Msys2. One header is apparently missing in globals.h
-
I have opened a ticket https://sourceforge.net/p/codeblocks/tickets/1527/ because there is a problem when I try to compile C::B with the new gcc 15.1 version from Msys2. One header is apparently missing in globals.h
Using precompiled headers or not?
Edit: I will try to duplicate the problem using wxWidgets 3.3 git master and non-precompiled headers. Take a few hours.
Edit2: https://gcc.gnu.org/gcc-15/porting_to.html#c23 (https://gcc.gnu.org/gcc-15/porting_to.html#c23)
Edit3: Duplicated the error; now trying patch using stdint.h instead and seeing if it works
Edit4: Using "stdint.h" also fixes the build problem
Tim S.
-
I build C::B using a standard workspace for C::B (equivallent to CodeBlocks_wx32_64.workspace, but adapted to use global variables to be more wxWidgets version independant).
So, it uses precompiled headers.
-
I build C::B using a standard workspace for C::B (equivallent to CodeBlocks_wx32_64.workspace, but adapted to use global variables to be more wxWidgets version independant).
So, it uses precompiled headers.
Could you please share this workspace? I need to build C::B with wxWidgets 3.3.0 in Windows 11 24H2. However, that SVN repository has not provided the wx33_64.worksapce yet.
And I don't know how to adjust it to work with wx33
Thx
-
You can retrieve all you need in
- a svn repos: https://sourceforge.net/p/codeblocks-gd-cbps/svn/HEAD/tree/
- or a git repos : https://github.com/gerard-durand/codeblocks_gd_cbps
Both contains the same code. It has already been published on the forum, but quite a long time ago.