Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Codeblocks not working (Read 152 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Codeblocks not working

Hi, I have installed CodeBlocks but when it starts I can't interact with it, I can only select the compiler on the opening window but when the interface is loaded I can't select any icon or menu, if I start it in safe mode the menu and the icons are usable but I can't start a project because I can't see any kind of project to select and so I can't go on.

From the shell when I start it in normal mode I can see:

Code: [Select]
Starting Code::Blocks Release 20.03  rev 11997 Sep  1 2023, 17:04:20 - wx3.2.2 - gcc 13.2.1 (Linux, unicode) - 64 bit
Manager initialized
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading menubar...
Cscope: loaded
Exporter: loaded
Valgrind: loaded
AStylePlugin: loaded
RegExTestbed: loaded
ToolsPlus: loaded
BrowseTracker: loaded
ProjectsImporter: loaded
SmartIndentCpp: loaded
NassiShneidermanPlugin: loaded
SpellChecker: loaded
HelpPlugin: loaded
EditorTweaks: loaded
Debugger: loaded
Compiler: loaded
Profiler: loaded
HexEditor: loaded
IncrementalSearch: loaded
cbKeyBinder: loaded
Abbreviations: loaded
cbDragScroll: loaded
lib_finder: loaded
CB_Koders: loaded
CppCheck: loaded
ReopenEditor: loaded
wxSmithAui: loaded
copystrings: loaded
FilesExtensionHandler: loaded
CodeCompletion: loaded
BYOGames: loaded
EnvVars: loaded
wxSmith: loaded
wxSmithMime: loaded
CodeSnippets: loaded
SmartIndentLua: loaded
HeaderFixup: loaded
ToDoList: loaded
MouseSap: loaded
OccurrencesHighlighting: loaded
Cccc: loaded
ProjectOptionsManipulator: loaded
EditorConfig: loaded
AutoVersioning: loaded
rndgen: loaded
CodeStat: loaded
Autosave: loaded
ScriptedWizard: loaded
OpenFilesList: loaded
ClassWizard: loaded
SymTab: loaded
DoxyBlocks: loaded
ThreadSearch: loaded
wxSmithContribItems: loaded
Cscope plugin activated
Source Exporter plugin activated
Valgrind plugin activated
Source code formatter (AStyle) plugin activated
Regular expressions testbed plugin activated
ToolsPlus plugin activated
BrowseTracker plugin activated
Foreign projects importer plugin activated
SmartIndentCpp plugin activated
NassiShneidermanPlugin plugin activated
Loading image: '/usr/share/codeblocks/SpellChecker/16x16/disabled.png' succeeded!
SpellChecker plugin activated
Help plugin plugin activated
Editor Tweaks plugin: Building menu
Editor Tweaks plugin: making the menu 15
Editor Tweaks plugin: Folding menu
EditorTweaks plugin activated
Debugger plugin activated
Added compiler "GNU GCC Compiler"
Added compiler "Intel C/C++ Compiler"
Added compiler "GDC D Compiler"
Added compiler "GNU Fortran Compiler"
Added compiler "G95 Fortran Compiler"
Added compiler "GNU GCC Compiler for ARM"
Added compiler "GNU GCC Compiler for MSP430 (HighTec)"
Added compiler "Small Device C Compiler"
Added compiler "GNU GCC Compiler for AVR"
Added compiler "GNU GCC Compiler for LM32"
Added compiler "GNU GCC Compiler for TriCore (HighTec)"
Added compiler "GNU GCC Compiler for PowerPC EABI"
Added compiler "Digital Mars D Compiler"
Added compiler "GNU GCC Compiler for LM8"
Added compiler "GNU GCC Compiler for Blackfin"
Added compiler "GNU GCC Compiler for Android"
Added compiler "LLVM D Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GNU GCC Compiler for ZPU"
Added compiler "*No Compiler*"
Added compiler "GNU GCC Compiler for PowerPC (HighTec)"
Added compiler "PGI Fortran Compiler"
Added compiler "LLVM Clang Compiler"
Master path of compiler ID "gcc" is empty -> triggers auto-detection.
Master path of compiler ID "icc" is empty -> triggers auto-detection.
Master path of compiler ID "sdcc" is empty -> triggers auto-detection.
Master path of compiler ID "tcc" is empty -> triggers auto-detection.
Master path of compiler ID "clang" is empty -> triggers auto-detection.
Master path of compiler ID "arm-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "avr-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm32-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "lm8-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "bfin-elf-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "android-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "zpu-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "msp430-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "tricore-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "ppc-gcc" is empty -> triggers auto-detection.
Master path of compiler ID "powerpc-eabi" is empty -> triggers auto-detection.
Master path of compiler ID "gdc" is empty -> triggers auto-detection.
Master path of compiler ID "ldc" is empty -> triggers auto-detection.
Master path of compiler ID "dmd" is empty -> triggers auto-detection.
Master path of compiler ID "gfortran" is empty -> triggers auto-detection.
Master path of compiler ID "g95" is empty -> triggers auto-detection.
Master path of compiler ID "pgifortran" is empty -> triggers auto-detection.
Master path of compiler ID "null" is empty -> triggers auto-detection.
Compiler plugin activated
Code profiler plugin activated
HexEditor plugin activated
IncrementalSearch plugin activated
Keyboard shortcuts plugin activated
Abbreviations plugin activated
DragScroll plugin activated
Library finder plugin activated
Koders query plugin activated
CppCheck plugin activated
ReopenEditor plugin activated
wxSmith - Aui plugin activated
Copy Strings to clipboard plugin activated
Files extension handler plugin activated
Code completion plugin activated
BYO Games plugin activated
Environment variables plugin activated
wxSmith plugin activated
wxSmith - MIME plugin plugin activated
Code snippets plugin activated
SmartIndentLua plugin activated
Header Fixup plugin activated
Todo List plugin activated
MouseSap plugin activated
OccurrencesHighlighting plugin activated
Cccc plugin activated
Project options manipulator plugin activated
EditorConfig plugin for Code::Blocks plugin activated
AutoVersioning plugin activated
rndgen plugin activated
Code statistics plugin activated
Autosave plugin activated
Project wizard added for 'Empty project'
Project wizard added for 'Fortran application'
Project wizard added for 'Fortran library'
Project wizard added for 'Fortran DLL'
Project wizard added for 'Console application'
Project wizard added for 'D application'
Project wizard added for 'FLTK project'
Project wizard added for 'GLFW project'
Project wizard added for 'GLUT project'
Project wizard added for 'GTK+ project'
Project wizard added for 'Irrlicht project'
Project wizard added for 'Java application'
Project wizard added for 'Lightfeather project'
Project wizard added for 'Matlab project'
Project wizard added for 'OpenCV project'
Project wizard added for 'OpenGL project'
Project wizard added for 'Ogre project'
Project wizard added for 'Code::Blocks plugin'
Project wizard added for 'QT4 project'
Project wizard added for 'QT4 (shared) project'
Project wizard added for 'QT5 project'
Project wizard added for 'SDL project'
Project wizard added for 'SDL2 project'
Project wizard added for 'SFML project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'wxWidgets project'
Build-target wizard added for 'Console'
Build-target wizard added for 'Static library'
Build-target wizard added for 'wxWidgets'
Project wizard added for 'Arduino Project'
Project wizard added for 'ARM Project'
Project wizard added for 'AVR Project'
Project wizard added for 'MSP430 Project'
Project wizard added for 'TriCore Project'
Project wizard added for 'PowerPC Project'
Project wizard added for 'MCS51 Project'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'D source'
File(s) wizard added for 'C/C++ header'
File(s) wizard added for 'Fortran source'
File(s) wizard added for 'Java source'
Scripted wizard plugin activated
Open files list plugin activated
Class wizard plugin activated
Symbol Table Plugin plugin activated
DoxyBlocks plugin activated
ThreadSearch plugin activated
wxSmith - Contrib Items plugin activated
Loading toolbar...
Initializing plugins...

(codeblocks:22303): Gtk-CRITICAL **: 20:17:29.373: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed

(codeblocks:22303): Gtk-CRITICAL **: 20:17:29.374: gtk_widget_set_size_request: assertion 'height >= -1' failed

(codeblocks:22303): Gtk-CRITICAL **: 20:17:29.374: gtk_widget_set_size_request: assertion 'height >= -1' failed

(codeblocks:22303): Gtk-CRITICAL **: 20:17:29.376: gtk_widget_set_size_request: assertion 'height >= -1' failed


I'm using Lxqt as DE and runit.

Anyone have an idea of what's wrong?

 

Re: Codeblocks not working

Reply #1
Hi,
I feel  very stupid, only now I have discovered a window requesting information about the spell checker, the window was covered by the main window of CB so I couldn't see it, only now I have seen it and once done with it CB works.

So thanks anyway.




 

 
Artix forum uses a single cookie to remember youOK