我必須創建一個文件(.exe)程序InstallShield2015LimitedEdition
與GTK3.4.2
和OpenCV 3.0.0
Windows7 x64
寫入。在這個程序中,用戶可以從他的電腦中選擇目錄。但是,當我調用FileChoser(點擊按鈕)我得到這個錯誤:熱修復錯誤「GLib-GIO-ERROR **:系統上未安裝GSettings模式」?
GLib-GIO-ERROR**: No GSettings schemas are installed on the system
和程序終止。
我viste這個網頁:
Glib-GIO-ERROR when opening an file chooser dialog
GLib-GIO-ERROR**: No GSettings schemas are installed on the system
How deal with FileChooser in GTK with static compilation
,但我永遠無法理解正是解決這個問題的錯誤。它與此路徑中的org.gtk.Settings.FileChooser.gschema.xml
文件相關:...\share\glib-2.0\schemas
。
與system environment variable
有關嗎?什麼東西添加到它?
加入system variable
或User variable
?這是什麼name
和path
?
例如。對於system variable
和User variable
兩者,我加GSETTINGS_SCHEMA_DIR
爲variable name
和E:\Works for Gov Project\Help\Source codes for GTK+\gtk+-bundle_3.4.2-20130513_win64\share\glib-2.0\schemas
爲path
。 這是正確的嗎?