不正常运行的时候,只要在控制台里运行codeblocks查看输入日志。
运行不起来的时候只要重命名这个文件就可以了。
wjh@wjh-desktop:~$ codeblocks
Exception: An exception has been raised!
The application encountered an error at configmanager.cpp, on line 211.
The error message is:
TinyXML error: Error document empty.
In file: /home/scarletpimpernel/.codeblocks/default.conf
At row 0, column: 0.
Code::Blocks Version revision 0 (gcc 4.4.1, build: Sep 13 2009 19:31:56)
wjh@wjh-desktop:~$(重命名这个文件:)mv ~/.codeblocks/default.conf{,.bak}
正常运行日志:
wjh@wjh-desktop:~$ codeblocks
Initialize EditColourSet .....
Initialize EditColourSet: done.
Loading toolbar...
ScriptedWizard: loaded
Compiler: loaded
SymTab: loaded
BYOGames: loaded
ThreadSearch: loaded
ToDoList: loaded
Profiler: loaded
CB_Koders: loaded
Debugger: loaded
FilesExtensionHandler: loaded
Autosave: loaded
wxSmith: loaded
wxSmithMime: loaded
cbDragScroll: loaded
ClassWizard: loaded
AStylePlugin: loaded
CodeSnippets: loaded
BrowseTracker: loaded
CodeStat: loaded
CodeCompletion: loaded
EnvVars: loaded
cbKeyBinder: loaded
lib_finder: loaded
OpenFilesList: loaded
AutoVersioning: loaded
Exporter: loaded
ProjectsImporter: loaded
HelpPlugin: loaded
wxSmithContribItems: loaded
RegExTestbed: loaded
Project wizard added for 'Empty project'
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 'Lightfeather 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 'SDL project'
Project wizard added for 'Static library'
Project wizard added for 'Shared library'
Project wizard added for 'AVR Project'
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'
File(s) wizard added for 'Empty file'
File(s) wizard added for 'C/C++ source'
File(s) wizard added for 'C/C++ header'
Scripted wizard plugin activated
Added compiler "GNU GCC Compiler"
Parsing stage done (0 total parsed files, 0 tokens in 0 minute(s), 0.0 seconds).
Added compiler "Intel C/C++ Compiler"
Added compiler "SDCC Compiler"
Added compiler "Tiny C Compiler"
Added compiler "GDC D Compiler"
Added compiler "Digital Mars D Compiler"
Added compiler "GNU ARM GCC Compiler"
Added compiler "GNU AVR GCC Compiler"
Added compiler "GNU GCC Compiler for PowerPC"
Added compiler "GNU GCC Compiler for TriCore"
Compiler plugin activated
Symbol Table Plugin plugin activated
BYO Games plugin activated
ThreadSearch plugin activated
To-Do List plugin activated
Code profiler plugin activated
Koders query plugin activated
Debugger plugin activated
Files extension handler plugin activated
Autosave plugin activated
wxSmith plugin activated
wxSmith - MIME plugin plugin activated
DragScroll plugin activated
Class wizard plugin activated
Source code formatter (AStyle) plugin activated
Code snippets plugin activated
BrowseTracker plugin activated
Code statistics plugin activated
Code completion plugin activated
Environment variables plugin activated
Keyboard shortcuts plugin activated
Library finder plugin activated
Open files list plugin activated
AutoVersioning plugin activated
Source Exporter plugin activated
Foreign projects importer plugin activated
Help plugin plugin activated
wxSmith - Contrib Items plugin activated
Regular expressions testbed plugin activated