Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Help / Re: wxSmith has a blackout!
« Last post by christo on Today at 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
2
Help / Re: wxSmith has a blackout!
« Last post by Danois on Yesterday at 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! :-)
3
Plugins development / Re: compiler patch
« Last post by Miguel Gimenez on Yesterday at 11:16:54 am »
Applied in r14038, thanks.

I have added also silent.png with the different resolutions needed for wxWidgets 3.0.
4
Development / Re: Change to C++17?
« Last post by LETARTARE on Yesterday at 10:03:05 am »
I use 'https://codeberg.org/' which has a translation service : 'https://translate.codeberg.org/'
5
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'
6
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?
7
Help / wxSmith has a blackout!
« Last post by Danois on September 19, 2026, 08:15:45 pm »
I am using C::B 25.03 from Kubuntu 26.04 (Wayland) repos. The first issue I had was the startup hanging which I temporarily fixed by renaming the wxSmith related zip's in "/usr/share/codeblocks". Since I have built Gdk-Pixbuf to version 2.42.12 and stored the libraries in "~/.local/lib" and used LD_LIBRARY_PATH to enable C::B to find those libraries. Now C::B starts as expected and there are no problems / errors when loading a wxSmith resources in the IDE, so I assume that wxSmith is (technically) working as it should. The issue is that whenever I load a resource, the wxFrame is displayed correctly for a brief moment whereafter the entire wxSmith area in the IDE goes black and stays like that.

Does anyone know a fix for this issue?

I have been looking at this build guide for building the entire C::B IDE from sources, but that looks.. Eherm.. Less palatable...... ;-)
8
Help / Re: Building CB : cannot find -lexchndl.dll: No such file or directory
« Last post by stahta01 on September 19, 2026, 03:10:34 pm »
CodeBlocks configure make build under Msys2 using svn repo


Based partly on https://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Arch_Linux

9
Help / Re: Building CB : cannot find -lexchndl.dll: No such file or directory
« Last post by stahta01 on September 19, 2026, 02:08:32 pm »
Under Msys2 MinGW, I would try building using the configure/make method.
Link to patch to help build using that method https://github.com/stahta01/MINGW-packages/blob/codeblocks-git/mingw-w64-codeblocks/003-fix-link-to-tinyxml.patch

Configure options that are likely needed
Code
 --disable-pch --with-contrib-plugins=all,-Valgrind
10
That sounds like a genuine resource issue, especially with only 8 GB of RAM. The 4 GB usage and long freezes would make me check plugins/code completion first, and possibly compare with 20.03 again to see if the problem is specific to 25.03.
Pages: [1] 2 3 4 5 6 ... 10