- 我還不太確定現在問題到底是在那邊, 現在我lab的desktop可以直接用Code::Block去編譯wxWidgets的程式. 只是我在notebook上又不需要這樣, 一樣可以編wxWidgets的程式.
- Creating Projects
- Project建立時選擇
Using UNICODE wxWidgets DLL
- Include directorys setting
- 要記得把wxWidgets的include目錄加進去
- Settings -> Compiler -> directories -> compiler
- Linking directorys setting
- 要記得把wxWidgets的lib目錄加進去
- Settings -> Compiler -> directories -> Linker
- Check your project variables
- 檢查一些該有的變數
- Project->Build options -> Other options 以及 #defines
- #defines中的
USE_PCH
可有可無, 如果沒設定這個就不用 wx_pch.h
這個檔案了, 而且 Opther options裡的-include "wx_pch.h"
也不需要