You are not logged in.

#1 2025-09-27 15:47:23

AndrewG777
Member
Registered: 2025-09-02
Posts: 23

[SOLVED] Code::Blocks IDE failed to start

After last update codeblocks failed to start. It freezes on splash screen.

codeblocks 25.03-2

kde, wayland, nvidia, intel

[andrew@bmw ~]$ codeblocks
Starting Code::Blocks Release 25.03  rev 13644 Jun  7 2025, 18:00:35 - wxWidgets 3.2.8 - gcc 15.1.1 (Linux, unicode) - 64 bit
Manager initialized
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
ClassWizard: loaded
Exporter: loaded
DoxyBlocks: loaded
SmartIndentXML: loaded
ProjectsImporter: loaded
BrowseTracker: loaded
Compiler: loaded
Valgrind: loaded
EditorConfig: loaded
FilesExtensionHandler: loaded
SmartIndentCpp: loaded
OccurrencesHighlighting: loaded
ToDoList: loaded
ProjectOptionsManipulator: loaded
AutoVersioning: loaded
HeaderFixup: loaded
Debugger: loaded
MouseSap: loaded
CodeCompletion: loaded
Autosave: loaded
lib_finder: loaded
cbDragScroll: loaded
SmartIndentPython: loaded
Profiler: loaded
rndgen: loaded
SpellChecker: loaded
CodeStat: loaded

Last edited by AndrewG777 (2025-09-29 10:51:06)

Offline

#2 2025-09-27 18:36:27

plisa
Member
Registered: 2025-09-27
Posts: 2

Re: [SOLVED] Code::Blocks IDE failed to start

Happened to me too.

$ codeblocks 
Starting Code::Blocks Release 25.03  rev 13644 Jun  7 2025, 18:00:35 - wxWidgets 3.2.8 - gcc 15.1.1 (Linux, unicode) - 64 bit
Manager initialized
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
SymTab: loaded
HelpPlugin: loaded

After updting second cumputer, I get the exact same output

Last edited by plisa (2025-09-27 19:25:35)

Offline

#3 2025-09-28 13:41:02

SRG
Member
Registered: 2012-12-09
Posts: 54

Re: [SOLVED] Code::Blocks IDE failed to start

See : https://bbs.archlinux.org/viewtopic.php?id=308515 (about kind of same symptoms for other applications, sadly also no solutions / ideas there).

Offline

#4 2025-09-28 16:42:10

jorgenwiki
Member
Registered: 2024-04-01
Posts: 16

Re: [SOLVED] Code::Blocks IDE failed to start

There is a discussion here: https://forums.codeblocks.org/index.php … #msg177789
On 25 september this was suggested there: Not sure if this helps but I got around the start up freeze by turning off (removing) all the wxsmith.zips from /usr/share/codeblocks/

It's a work-arround for me (I just renamed them to *.old), that works. Of course the wxSmith plugin is disabled with this.

From duck.ai about wxSmith (did no further check, see it as a guess, I don't need it I think):
What is wxSmith?

wxSmith is a plugin for Code::Blocks, an integrated development environment (IDE) for C, C++, and other programming languages. wxSmith is a GUI designer for wxWidgets, a cross-platform GUI library.
Purpose of wxSmith

The primary purpose of wxSmith is to provide a visual interface for designing and building wxWidgets-based GUI applications. It allows developers to:

    Create and edit wxWidgets-based GUI forms
    Design and layout GUI components, such as buttons, text boxes, and menus
    Generate wxWidgets code for the designed GUI

wxSmith aims to simplify the process of creating GUI applications with wxWidgets, making it easier for developers to focus on writing application logic rather than manually coding GUI components.

Offline

#5 2025-09-29 10:29:51

plisa
Member
Registered: 2025-09-27
Posts: 2

Re: [SOLVED] Code::Blocks IDE failed to start

That work-around also worked for me.

Thanks a lot.

Offline

#6 2025-09-29 10:51:42

AndrewG777
Member
Registered: 2025-09-02
Posts: 23

Re: [SOLVED] Code::Blocks IDE failed to start

That work-around worked.

Offline

#7 2025-10-05 12:02:24

aequilibrium
Member
Registered: 2024-04-24
Posts: 4

Re: [SOLVED] Code::Blocks IDE failed to start

Something is def wrong related to that wx library, I couldn't build some application using make as per the readme build instructions, then i noticed the .cbp file in the repo, so I assume perhaps its codeblocks needing to somehow differently import the related libraries, and then I got this issue, meaning the gui library that code blocks uses and projects build using this simply don't work right now.

Could be the meteorite project is just broken with the latest commit since it seema abandoned, but it is supicious that the thing failing is the gui library related components.
```
`wx-config --cxx` `wx-config --cxxflags` -O2 -c src/MeteoriteMain.cpp -o src/MeteoriteMain.o
src/MeteoriteMain.cpp: In member function ‘virtual void* MeteoriteDialog::Entry()’:
src/MeteoriteMain.cpp:144:9: warning: no return statement in function returning non-void [-Wreturn-type]
  144 |         }
      |         ^
src/MeteoriteMain.cpp: In member function ‘virtual bool MeteoriteDialog::MeteoriteDropTarget::OnDropFiles(wxCoord, wxCoord, const wxArrayString&)’:
src/MeteoriteMain.cpp:160:35: error: ‘class wxThreadHelper’ has no member named ‘Create’
  160 |         m_dialog->wxThreadHelper::Create();
      |                                   ^~~~~~
make: *** [makefile:55: src/MeteoriteMain.o] Error 1
```

Offline

Board footer

Powered by FluxBB