Hi,
OS is Ubuntu 18.04.1 LTS
This happens in Code::Blocks rev version 11509:
Scanning for lexers in /usr/local/share/codeblocks/lexers/...
Found 60 lexers
Loading lexer_autotools
Loading lexer_fortran
Loading lexer_yaml
Loading lexer_cg
Loading lexer_gm
Loading lexer_latex
Loading lexer_cpp
Loading lexer_OgreCompositor
Loading lexer_python
Loading lexer_tehex
Loading lexer_nsis
Loading lexer_ruby
Loading lexer_lua
Loading lexer_css
Loading lexer_batch
Loading lexer_cmake
Loading lexer_masm
Loading lexer_coffee
Loading lexer_java
Loading lexer_srec
Loading lexer_cu
Loading lexer_A68k
Loading lexer_vhdl
Loading lexer_properties
Loading lexer_powershell
Loading lexer_inno
Loading lexer_angelscript
Loading lexer_sql
Loading lexer_xml
Loading lexer_f77
Loading lexer_make
Loading lexer_haskell
Loading lexer_proto
Loading lexer_rc
Loading lexer_objc
Loading lexer_smalltalk
Loading lexer_bibtex
Loading lexer_caml
Loading lexer_perl
Loading lexer_verilog
Loading lexer_prg
Loading lexer_plain
Loading lexer_squirrel
Loading lexer_html
Loading lexer_glsl
Loading lexer_diff
Loading lexer_vbscript
Loading lexer_postscript
Loading lexer_hitasm
Loading lexer_bash
Loading lexer_ihex
Loading lexer_lisp
Loading lexer_registry
Loading lexer_markdown
Loading lexer_matlab
Loading lexer_ada
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_javascript
Loading lexer_d
Configured 0 tools
Scanning for plugins in /home/mehdi/.local/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/local/lib/codeblocks/plugins
Manager failed to load XRC resource '/usr/local/share/codeblocks/Cccc.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/EditorConfig.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/headerfixup.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/Cscope.zip'.
Tools Plus Plugin: Registering shell type Piped Process Control
Manager failed to load XRC resource '/usr/local/share/codeblocks/ToolsPlus.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/wxSmithAui.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/DoxyBlocks.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/Valgrind.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/ThreadSearch.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/CppCheck.zip'.
Loaded 58 plugins
Loading:
AStylePlugin
wxSmith
wxSmithMime
Compiler
EnvVars
EditorTweaks
ClassWizard
Autosave
Debugger
SmartIndentLua
Cccc
SmartIndentPython
ReopenEditor
BrowseTracker
EditorConfig
cbDragScroll
MouseSap
HeaderFixup
Cscope
OpenFilesList
SmartIndentFortran
SmartIndentPascal
SmartIndentCpp
FileManager
FilesExtensionHandler
CodeSnippets
ToolsPlus
HelpPlugin
CodeCompletion
ScriptedWizard
rndgen
wxSmithAui
IncrementalSearch
SmartIndentXML
ToDoList
OccurrencesHighlighting
CodeStat
Abbreviations
SmartIndentHDL
RegExTestbed
Exporter
lib_finder
ProjectsImporter
ThreadSearch
NassiShneidermanPlugin
AutoVersioning
cbKeyBinder
HexEditor
wxSmithContribItems
CppCheck
copystrings
CB_Koders
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
Your description is lacking detail, but I guess you've build manually and you're not using non-default prefix.
Which means that you might have another old installation that isn't removed completely messing up your current installation.
If I'm correct you'll have to clean up everything related to C::B and redo the make install step!
Yes, I have several installations of previous Code::Blocks. After I checked out the source code, I ran these commands:
Then :
./configure --with-contrib-plugins=all
make
sudo make install
By the way how can I clean everything related to Code::Blocks ?
on Ubuntu (here 16.04) I install via something like:
sudo checkinstall -y make install
This creates a deb package and installs it. Then you can uninstall via apt, synaptic etc. Handy, when your latest cb shows a problem. Then you can uninstall that and reinstall the previous deb if you have kept it.
I uninstalled Code::Blocks and reinstalled it, still got some errors:
sudo make uninstall
sudo checkinstall -y make install
Scanning for lexers in /usr/local/share/codeblocks/lexers/...
Found 60 lexers
Loading lexer_autotools
Loading lexer_fortran
Loading lexer_yaml
Loading lexer_cg
Loading lexer_gm
Loading lexer_latex
Loading lexer_cpp
Loading lexer_OgreCompositor
Loading lexer_python
Loading lexer_tehex
Loading lexer_nsis
Loading lexer_ruby
Loading lexer_lua
Loading lexer_css
Loading lexer_batch
Loading lexer_cmake
Loading lexer_masm
Loading lexer_coffee
Loading lexer_java
Loading lexer_srec
Loading lexer_cu
Loading lexer_A68k
Loading lexer_vhdl
Loading lexer_properties
Loading lexer_powershell
Loading lexer_inno
Loading lexer_angelscript
Loading lexer_sql
Loading lexer_xml
Loading lexer_f77
Loading lexer_make
Loading lexer_haskell
Loading lexer_proto
Loading lexer_rc
Loading lexer_objc
Loading lexer_smalltalk
Loading lexer_bibtex
Loading lexer_caml
Loading lexer_perl
Loading lexer_verilog
Loading lexer_prg
Loading lexer_plain
Loading lexer_squirrel
Loading lexer_html
Loading lexer_glsl
Loading lexer_diff
Loading lexer_vbscript
Loading lexer_postscript
Loading lexer_hitasm
Loading lexer_bash
Loading lexer_ihex
Loading lexer_lisp
Loading lexer_registry
Loading lexer_markdown
Loading lexer_matlab
Loading lexer_ada
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_javascript
Loading lexer_d
Configured 0 tools
Scanning for plugins in /home/mehdi/.local/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/local/lib/codeblocks/plugins
Manager failed to load XRC resource '/usr/local/share/codeblocks/Cccc.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/EditorConfig.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/headerfixup.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/Cscope.zip'.
Tools Plus Plugin: Registering shell type Piped Process Control
Manager failed to load XRC resource '/usr/local/share/codeblocks/ToolsPlus.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/wxSmithAui.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/DoxyBlocks.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/Valgrind.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/ThreadSearch.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/CppCheck.zip'.
Loaded 58 plugins
Loading:
AStylePlugin
wxSmith
wxSmithMime
Compiler
EnvVars
EditorTweaks
ClassWizard
Autosave
Debugger
SmartIndentLua
Cccc
SmartIndentPython
ReopenEditor
BrowseTracker
EditorConfig
cbDragScroll
MouseSap
HeaderFixup
Cscope
OpenFilesList
SmartIndentFortran
SmartIndentPascal
SmartIndentCpp
FileManager
FilesExtensionHandler
CodeSnippets
ToolsPlus
HelpPlugin
CodeCompletion
ScriptedWizard
rndgen
wxSmithAui
IncrementalSearch
SmartIndentXML
ToDoList
OccurrencesHighlighting
CodeStat
Abbreviations
SmartIndentHDL
RegExTestbed
Exporter
lib_finder
ProjectsImporter
ThreadSearch
NassiShneidermanPlugin
AutoVersioning
cbKeyBinder
HexEditor
wxSmithContribItems
CppCheck
copystrings
CB_Koders
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
To be safe you have to delete everything in this folder. This is why using the default prefix is a bad idea.
You could probably grep for codeblocks and hope if you've deleted everything, but I'm not sure you would succeed.
I deleted /usr/local folder and did this :
sudo checkinstall -y make install
I still get this after running Code::Blocks :
Scanning for lexers in /usr/local/share/codeblocks/lexers/...
Found 60 lexers
Loading lexer_autotools
Loading lexer_fortran
Loading lexer_yaml
Loading lexer_cg
Loading lexer_gm
Loading lexer_latex
Loading lexer_cpp
Loading lexer_OgreCompositor
Loading lexer_python
Loading lexer_tehex
Loading lexer_nsis
Loading lexer_ruby
Loading lexer_lua
Loading lexer_css
Loading lexer_batch
Loading lexer_cmake
Loading lexer_masm
Loading lexer_coffee
Loading lexer_java
Loading lexer_srec
Loading lexer_cu
Loading lexer_A68k
Loading lexer_vhdl
Loading lexer_properties
Loading lexer_powershell
Loading lexer_inno
Loading lexer_angelscript
Loading lexer_sql
Loading lexer_xml
Loading lexer_f77
Loading lexer_make
Loading lexer_haskell
Loading lexer_proto
Loading lexer_rc
Loading lexer_objc
Loading lexer_smalltalk
Loading lexer_bibtex
Loading lexer_caml
Loading lexer_perl
Loading lexer_verilog
Loading lexer_prg
Loading lexer_plain
Loading lexer_squirrel
Loading lexer_html
Loading lexer_glsl
Loading lexer_diff
Loading lexer_vbscript
Loading lexer_postscript
Loading lexer_hitasm
Loading lexer_bash
Loading lexer_ihex
Loading lexer_lisp
Loading lexer_registry
Loading lexer_markdown
Loading lexer_matlab
Loading lexer_ada
Loading lexer_OgreMaterial
Loading lexer_pascal
Loading lexer_javascript
Loading lexer_d
Configured 0 tools
Scanning for plugins in /home/mehdi/.local/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in /usr/local/lib/codeblocks/plugins
Manager failed to load XRC resource '/usr/local/share/codeblocks/Cccc.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/EditorConfig.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/headerfixup.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/Cscope.zip'.
Tools Plus Plugin: Registering shell type Piped Process Control
Manager failed to load XRC resource '/usr/local/share/codeblocks/ToolsPlus.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/wxSmithAui.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/DoxyBlocks.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/Valgrind.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/ThreadSearch.zip'.
Manager failed to load XRC resource '/usr/local/share/codeblocks/CppCheck.zip'.
Loaded 58 plugins
Loading:
AStylePlugin
wxSmith
wxSmithMime
Compiler
EnvVars
EditorTweaks
ClassWizard
Autosave
Debugger
SmartIndentLua
Cccc
SmartIndentPython
ReopenEditor
BrowseTracker
EditorConfig
cbDragScroll
MouseSap
HeaderFixup
Cscope
OpenFilesList
SmartIndentFortran
SmartIndentPascal
SmartIndentCpp
FileManager
FilesExtensionHandler
CodeSnippets
ToolsPlus
HelpPlugin
CodeCompletion
ScriptedWizard
rndgen
wxSmithAui
IncrementalSearch
SmartIndentXML
ToDoList
OccurrencesHighlighting
CodeStat
Abbreviations
SmartIndentHDL
RegExTestbed
Exporter
lib_finder
ProjectsImporter
ThreadSearch
NassiShneidermanPlugin
AutoVersioning
cbKeyBinder
HexEditor
wxSmithContribItems
CppCheck
copystrings
CB_Koders
Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
These errors are fine. They are printed because the zip files doesn't contain xrc files. But this doesn't affect any functionality as far as I know.
I've asked if something didn't work and you said that there are some plugins that are broken.
Would you be kind enough to tell us what doesn't work (except those messages)?
For Cccc see the attached image.
cccc "Main.c"
Failed to lauch cccc.
cccc "Main.c"
Failed to lauch cccc.
cccc "Main.c"
Failed to lauch cccc.
For instance this is from running valgrind:
valgrind --version
execvp(valgrind, --version) failed with error 2!
Setting dynamic linker path to: .:
Executing command: valgrind --leak-check=full --track-origins=yes --xml=yes "/home/mehdi/Documents/Code_Blocks_Projects/Sudoku_GA/bin/Release/sudoku_GA"
-------------- Application output --------------
execvp(valgrind, --leak-check=full, --track-origins=yes, --xml=yes, /home/mehdi/Documents/Code_Blocks_Projects/Sudoku_GA/bin/Release/sudoku_GA) failed with error 2!
I installed cccc through Synaptic Package Manager and after opening a project it runs fine. However I still get this among others:
Manager failed to load XRC resource '/usr/local/share/codeblocks/Cccc.zip'.