Code Blocks+wx Widgets編程環境安裝
Contents:
1.環境安裝:
編譯器:
安裝Mingw編譯工具.
- 使用CodeBlocks一起打包的Mingw編譯環境.
- 使用WxPack打包用的Mingw編譯環境(推薦.)
IDE Code::Blocks
安裝CodeBlocks,根據情況選擇是否帶Mingw的安裝包.
wxPack
安裝wxPack.
Top
參數設置
- 支持中文字符串設置:settings->Compiler and debugger->other options; Add: -finput-charset=UTF-8
- 源文件中文支持: settings->Editor->General settings->Encodeing; UTF-8.
- 修改Code Completion快捷鍵
Code::Blocks 默認的Code Completion快捷鍵爲Ctrl-Space,與中文輸入法衝突,想修改下,
網上說在Setting->Edit...->Keyboard Shortcuts中設置,但怎麼也找不到Keyboard Shortcuts。
折騰了一番才發現,只有完全安裝纔有Keyboard Shortcuts.
建議:
- 重新設置軟件字體.
- 可以用中文路徑名和文件名(但最好不要用中文文件名).
parents: PC.DS
[tree_position: 1][template: IndexTemplate]