User forums > Help
wxSmith has a blackout!
(1/1)
Danois:
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...... ;-)
christo:
Hi Danois, could you please check if AppImage detailed in https://forums.codeblocks.org/index.php/topic,26313.msg178904.html#msg178904 works?
Danois:
--- Quote from: 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?
--- End quote ---
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! :-)
christo:
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
--- End code ---
Navigation
[0] Message Index
Go to full version