Recent Posts

Pages: 1 2 3 [4] 5 6 7 8 9 10
31
Development / Re: Change to C++17?
« Last post by gd_on on September 24, 2026, 09:23:51 am »
I usually build CB with gnu++20 (even tests with gnu++26). No problems, except a few warnings concerning obsolete things which are not there with c++17. I have seen that the generated code is a little bit bigger.
32
Development / Re: Change to C++17?
« Last post by killerbot on September 23, 2026, 07:09:18 pm »
are there any objections to switch to c++20 or even c++23 ?

I think the winlibs gcc ports for windows also nicely support it, because I build CB (and wx) with it, and that goes fine.
33
I would be very interested to see such a feature and use it when distributing my software.
34
Help / Re: Building CB : cannot find -lexchndl.dll: No such file or directory
« Last post by charles5577 on September 22, 2026, 11:59:39 am »
I tried with the latest SVN code. It works.
Thanks everyone!
35
Help / Re: wxSmith has a blackout!
« Last post by christo on September 22, 2026, 03:58:44 am »
Please see the steps I use to build on my ubuntu 24.04, hope this is helpful for you

Code
#wxWidgets install
sudo apt install libwxgtk3.2-dev

#Alternatively wxWidgets build from source
git clone https://github.com/wxWidgets/wxWidgets.git
cd wxWidgets
git checkout v3.3.3
git submodule update --init
mkdir build-v3.3.3/
cd build-v3.3.3/
CC=/usr/local/bin/gcc-15.2.0 CPP=/usr/local/bin/cpp-15.2.0 CXX=/usr/local/bin/g++-15.2.0 ../configure --enable-xrc --enable-monolithic --enable-debug --enable-stc --enable-webview
make -j$(( $(nproc) - 1 ))
sudo make install

#install deps
sudo apt install libtool cmake

#Build C::B
cd ~/codeblocks-code
ACLOCAL_FLAGS="-I /usr/local/share/aclocal" ./bootstrap #ACLOCAL_FLAGS required only when installed wxwidgets from source
./configure --with-contrib-plugins=all --prefix=/opt/codeblocks/
make -j$(( $(nproc) - 1 )) install -k
36
Help / Re: wxSmith has a blackout!
« Last post by Danois on September 21, 2026, 07:27:09 pm »
Hi Danois, could you please check if AppImage detailed in https://forums.codeblocks.org/index.php/topic,26313.msg178904.html#msg178904 works?

I have tested the AppImage, and the issues I have mentioned in this topic are not present with the AppImage version. I have also been looking at the "real" build guide and I'm goint to try to build C::B from sources and see how it goes. If the build succeeds, I'm using that and if not I'll use the AppImage.

Thanks so far! :-)
37
Plugins development / Re: compiler patch
« Last post by Miguel Gimenez on September 21, 2026, 11:16:54 am »
Applied in r14038, thanks.

I have added also silent.png with the different resolutions needed for wxWidgets 3.0.
38
Development / Re: Change to C++17?
« Last post by LETARTARE on September 21, 2026, 10:03:05 am »
I use 'https://codeberg.org/' which has a translation service : 'https://translate.codeberg.org/'
39
Plugins development / compiler patch
« Last post by stahta01 on September 20, 2026, 10:06:10 pm »
I have not yet tested this patch.

Tim S.

Code
Index: src/plugins/compilergcc/resources/Makefile.am
===================================================================
--- src/plugins/compilergcc/resources/Makefile.am       (revision 14037)
+++ src/plugins/compilergcc/resources/Makefile.am       (working copy)
@@ -56,7 +56,8 @@
        images/svg/compilerun.svg \
        images/svg/rebuild.svg \
        images/svg/run.svg \
-       images/svg/stop.svg
+       images/svg/stop.svg \
+       images/svg/silent.svg

Message on shutdown (I do not see the startup messages till I exist CB so this might be a startup message)
Code
Loading toolbar...
cbLoadBitmapBundleFromSVG: Cannot load 'C:\msys64_SDL_testing\opt\codeblocks\bin\..\share\codeblocks/compiler.zip#zip:/images/svg/silent.svg'
cbLoadBitmapBundleFromSVG: Cannot load 'C:\msys64_SDL_testing\opt\codeblocks\bin\..\share\codeblocks/compiler.zip#zip:/images/svg/silent.svg'
40
Help / Re: wxSmith has a blackout!
« Last post by christo on September 20, 2026, 05:05:49 am »
Hi Danois, could you please check if AppImage detailed in https://forums.codeblocks.org/index.php/topic,26313.msg178904.html#msg178904 works?
Pages: 1 2 3 [4] 5 6 7 8 9 10