gtk, GTK_TOGGLE-BUTTON(check_button)结构体,->疑问
 GTK_TOGGLE-BUTTON(check_button)->active
      1.GTK_TOGGLE-BUTTON(check_button)是结构体吗?
        2.active是member吗?
        3.->可以换成"."吗?
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
centos7安装rabbitmq依赖问题,求解。

--> 正在处理依赖关系 libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_baseu-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_gl-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_core-2.8.so.0(WXU_2.8.10)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_xrc-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_html-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_adv-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_baseu_xml-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_gl-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_baseu-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_stc-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_aui-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_core-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 ---> 软件包 erlang-xmerl.x86_64.0.20.0rc1-3.el7.centos 将被 安装 --> 正在检查事务 ---> 软件包 erlang-wx.x86_64.0.20.0rc1-3.el7.centos 将被 安装 --> 正在处理依赖关系 libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_baseu-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_gl-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_core-2.8.so.0(WXU_2.8.10)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_xrc-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_html-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_adv-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_baseu_xml-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_gl-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_baseu-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_stc-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_aui-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 --> 正在处理依赖关系 libwx_gtk2u_core-2.8.so.0()(64bit),它被软件包 erlang-wx-20.0rc1-3.el7.centos.x86_64 需要 ---> 软件包 unixODBC.x86_64.0.2.3.1-11.el7 将被 安装 --> 解决依赖关系完成 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_gl-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_core-2.8.so.0(WXU_2.8.10)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_adv-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_stc-2.8.so.0(WXU_2.8)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_adv-2.8.so.0(WXU_2.8)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_baseu_xml-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_html-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_core-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_xrc-2.8.so.0(WXU_2.8)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_aui-2.8.so.0(WXU_2.8.5)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_aui-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_xrc-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_baseu-2.8.so.0(WXU_2.8)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_aui-2.8.so.0(WXU_2.8)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_stc-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_baseu-2.8.so.0()(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_gl-2.8.so.0(WXU_2.8)(64bit) 错误:软件包:erlang-wx-20.0rc1-3.el7.centos.x86_64 (erlang-solutions) 需要:libwx_gtk2u_html-2.8.so.0(WXU_2.8)(64bit) 您可以尝试添加 --skip-broken 选项来解决该问题 ** 发现 8 个已存在的 RPM 数据库问题, 'yum check' 输出如下: icedtea-web-1.6.2-4.el7.x86_64 有缺少的需求 java-1.8.0-openjdk ipa-client-4.4.0-12.el7.centos.x86_64 有已安装冲突 freeipa-client: ipa-client-4.4.0-12.el7.centos.x86_64 ipa-client-common-4.4.0-12.el7.centos.noarch 有已安装冲突 freeipa-client-common: ipa-client-common-4.4.0-12.el7.centos.noarch ipa-common-4.4.0-12.el7.centos.noarch 有已安装冲突 freeipa-common: ipa-common-4.4.0-12.el7.centos.noarch javapackages-tools-3.4.1-11.el7.noarch 有缺少的需求 python-javapackages = ('0', '3.4.1', '11.el7') jline-1.0-8.el7.noarch 有缺少的需求 java >= ('0', '1.5', None) 1:libreoffice-core-5.0.6.2-3.el7.x86_64 有缺少的需求 java-headless >= ('1', '1.6', None) 1:libreoffice-ure-5.0.6.2-3.el7.x86_64 有缺少的需求 libjvm.so()(64bit)

linux 下图形界面编程gtk_layout_new()参数的设置是怎么发挥效用的呢?

GtkWidget*gtk_layout_new(GtkAdjustment*hadjustment,GtkAdjustment*vhadjustment); 参数hadjustment,vadjustment设置怎么发挥影响? 下面的列子(layout里放置一个按钮)怎么没有影响 1 #include<gtk/gtk.h> 2 int main(int argc,char**argv) 3 { 4 GtkObject*adjustment; 5 GtkWidget*button; 6 GtkWidget*window; 7 GtkWidget*layout; 8 GtkObject*adjustment2; 9 gtk_init(&argc,&argv); 10 window=gtk_window_new(GTK_WINDOW_TOPLEVEL); 11 gtk_window_set_default_size(GTK_WINDOW(window),400,200); 12 layout=gtk_layout_new(GTK_ADJUSTMENT(adjustment),GTK_ADJUSTMENT(adjustment2)); 13 //layout=gtk_layout_new(NULL,NULL); 14 adjustment=gtk_adjustment_new(200,100,300,50,50,100); 15 /* 16 GtkAdjustment*gtk_adjustment_new(gdouble value,gdouble lower,gdouble upper,gdouble step_increment,gdouble page_increment,gdouble page_size); 17 create a new GtkAdjustment 18 */ 19 button=gtk_button_new_with_label("Private"); 20 adjustment2=gtk_adjustment_new(200,100,300,50,50,100); 21 gtk_layout_put(GTK_LAYOUT(layout),button,100,100); 22 /*void gtk_layout_put(GtkLayout*layout,GtkWidget*widget); 23 add child GtkLayout to position(x,y) */ 24 gtk_container_add(GTK_CONTAINER(window),layout); 25 gtk_widget_show_all(window); 26 gtk_main(); 27 return 0; 28 }

linux gtk gtk_widget_set_has_window有什么作用呢?

void gtk_widget_set_has_window(GtkWidget*widget,gboolean has_window); 是使本来无法匹配X窗口的构件,可以与window结合吗?

gtk+环境出现下面错误提示,搜索了下,:notebook未实例化,怎么破?

Gtk-CRITICAL **: IA__gtk_notebook_remove_page: assertion 'GTK_IS_NOTEBOOK (notebook)' failed #include 2 #include 3 GtkWidget*entry; 4 void notebook_remove(GtkWidget*button,gpointer notebook) 5 { 6 gint page; 7 gchar buffer[20]; 8 page=gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook)); 9 snprintf(buffer,20,"It is the %dth page",page); 10 gtk_entry_set_text(GTK_ENTRY(entry),buffer); 11 gtk_notebook_remove_page(GTK_NOTEBOOK(notebook),page); 12 } 13 int main(int argc,char**argv) 14 { 15 GtkWidget*window; 16 GtkWidget*tabel; 17 GtkWidget*notebook; 18 GtkWidget*button; 19 GtkWidget*label; 20 gchar bufferl[40]; 21 gint i; 22 gtk_init(&argc,&argv); 23 window=gtk_dialog_new(); 24 gtk_window_set_default_size(GTK_WINDOW(window),600,200); 25 notebook=gtk_notebook_new(); 26 for(i=0;ivbox),notebook,FALSE,FALSE,0); 33 entry=gtk_entry_new(); 34 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox),entry,FALSE,FALSE,0); 35 gtk_entry_set_text(GTK_ENTRY(entry),"Nothing happens"); 36 button=gtk_button_new_with_mnemonic("remove"); 37 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->action_area),button,FALSE,FALSE,0); 38 g_signal_connect_swapped(GTK_OBJECT(button),"clicked",G_CALLBACK(notebook_remove),notebook); 39 button=gtk_button_new_with_label("close app"); 40 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->action_area),button,FALSE,FALSE,0); 41 g_signal_connect(GTK_OBJECT(button),"clicked",G_CALLBACK(gtk_main_quit),NULL); 42 gtk_widget_show_all(window); 43 gtk_main(); 44 return 0; 45 } 46

尝试在Win8.1 64位的Golang中使用mattn / go-gtk

<div class="post-text" itemprop="text"> <p>Trying to use the mattn/go-gtk in golang, <a href="https://github.com/mattn/go-gtk/" rel="nofollow">https://github.com/mattn/go-gtk/</a> on Win8.1 64bit. I use LiteIDE X to write code and build.</p> <p>While build this test code <a href="http://mattn.github.io/go-gtk/" rel="nofollow">http://mattn.github.io/go-gtk/</a> I got those errors in the output window:</p> <pre><code>c:/go/bin/go.exe build [C:/GoProjects/src/gtk_test] # github.com/mattn/go-gtk/pango c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpango-1.0.dll.a when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pango-1.0.lib when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpango-1.0.dll.a when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pango-1.0.lib when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\pango-1.0.lib when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgobject-2.0.dll.a when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgobject-2.0.dll.a when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgmodule-2.0.dll.a when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gmodule-2.0.lib when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgmodule-2.0.dll.a when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gmodule-2.0.lib when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gmodule-2.0.lib when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgthread-2.0.dll.a when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgthread-2.0.dll.a when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libglib-2.0.dll.a when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libglib-2.0.dll.a when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libintl.dll.a when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libintl.dll.a when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lintl collect2.exe: error: ld returned 1 exit status # github.com/mattn/go-gtk/glib c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgobject-2.0.dll.a when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgobject-2.0.dll.a when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgthread-2.0.dll.a when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgthread-2.0.dll.a when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libglib-2.0.dll.a when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libglib-2.0.dll.a when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libintl.dll.a when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libintl.dll.a when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lintl collect2.exe: error: ld returned 1 exit status # github.com/mattn/go-gtk/gdk c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgdk-win32-2.0.dll.a when searching for -lgdk-win32-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gdk-win32-2.0.lib when searching for -lgdk-win32-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgdk-win32-2.0.dll.a when searching for -lgdk-win32-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gdk-win32-2.0.lib when searching for -lgdk-win32-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gdk-win32-2.0.lib when searching for -lgdk-win32-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdk-win32-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpangowin32-1.0.dll.a when searching for -lpangowin32-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pangowin32-1.0.lib when searching for -lpangowin32-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpangowin32-1.0.dll.a when searching for -lpangowin32-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pangowin32-1.0.lib when searching for -lpangowin32-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\pangowin32-1.0.lib when searching for -lpangowin32-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpangowin32-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpangocairo-1.0.dll.a when searching for -lpangocairo-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pangocairo-1.0.lib when searching for -lpangocairo-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpangocairo-1.0.dll.a when searching for -lpangocairo-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pangocairo-1.0.lib when searching for -lpangocairo-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\pangocairo-1.0.lib when searching for -lpangocairo-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpangocairo-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgdk_pixbuf-2.0.dll.a when searching for -lgdk_pixbuf-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gdk_pixbuf-2.0.lib when searching for -lgdk_pixbuf-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgdk_pixbuf-2.0.dll.a when searching for -lgdk_pixbuf-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gdk_pixbuf-2.0.lib when searching for -lgdk_pixbuf-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gdk_pixbuf-2.0.lib when searching for -lgdk_pixbuf-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgdk_pixbuf-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpango-1.0.dll.a when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pango-1.0.lib when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libpango-1.0.dll.a when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/pango-1.0.lib when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\pango-1.0.lib when searching for -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpango-1.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libcairo.dll.a when searching for -lcairo c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/cairo.lib when searching for -lcairo c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libcairo.dll.a when searching for -lcairo c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/cairo.lib when searching for -lcairo c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\cairo.lib when searching for -lcairo c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lcairo c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgmodule-2.0.dll.a when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gmodule-2.0.lib when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgmodule-2.0.dll.a when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gmodule-2.0.lib when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gmodule-2.0.lib when searching for -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgmodule-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgobject-2.0.dll.a when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgobject-2.0.dll.a when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gobject-2.0.lib when searching for -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgobject-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgthread-2.0.dll.a when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libgthread-2.0.dll.a when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\gthread-2.0.lib when searching for -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgthread-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libglib-2.0.dll.a when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libglib-2.0.dll.a when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\glib-2.0.lib when searching for -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglib-2.0 c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libintl.dll.a when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/libintl.dll.a when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib/intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/GTK/lib\intl.lib when searching for -lintl c:/tdm-gcc-64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lintl collect2.exe: error: ld returned 1 exit status Error: process exited with code 2. </code></pre> <p>I use gtk+-bundle_2.24.10-20120208_win32 should I use the gtk3? If yes 64 or 32 bit? Does anyone has run go-gtk on windows 8.1 64bit? Step by step guide?</p> <p>Thanks in advance.</p> </div>

gtk_progress_bar_pulse,怎么用?

gtk_progress_bar_pulse,怎么用?

gtk_list 第一次运行固定了行数,第二次不显示多余行数,可能我描述的不够清楚 ,看下面

我要实现的是从数据库查询数据然后显示在这个list表格中,然后我发现如果我在不退出本次程序的情况下返回上层界面向数据库添加了新的数据,此时再点击按钮进入list时无法显示新插入的那条数据,查看数据库后发现插入是成功的,下面是list部分代码。是在一个按钮回调中 ,感觉像是list第一次运行时固定了行数,后面运行没有多余的行显示新的数据, 求大佬门帮忙 GtkListStore *store = gtk_list_store_new(COLUMNS,G_TYPE_STRING, G_TYPE_STRING,G_TYPE_STRING,G_TYPE_STRING,G_TYPE_STRING,G_TYPE_STRING); /*向模式中添加数据*/ for(i=0;i<nrow;i++) { list_outin.id=list_in[i].id; list_outin.name=list_in[i].name; list_outin.unit=list_in[i].unit; list_outin.price=list_in[i].price; list_outin.number=list_in[i].number; list_outin.time=list_in[i].time; gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, ID, (char*)list_outin.id, NAME, (char*)list_outin.name, UNIT, (char*)list_outin.unit, PRICE, (char*)list_outin.price, NUMBER, (char*)list_outin.number, TIME, (char*)list_outin.time, -1); } i =0; gtk_tree_view_set_model(GTK_TREE_VIEW(treeview), GTK_TREE_MODEL(store)); g_object_unref(store); GtkWidget *scrolled_win = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_win), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_container_add(GTK_CONTAINER(scrolled_win), treeview); gtk_table_attach_defaults (GTK_TABLE (table_in_check1), scrolled_win,0, 10, 0, 14);

gtk+图形编程的时候出现的错误,怎么破?invalid cast

用GtkButton发出“clicked”信号传递GtkNotebook参数,以在回调函数中调用gtk_notebook_remove_page函数,出错 GLib-GObject-WARNING **: invalid cast from 'GtkButton' to 'GtkNotebook' 源码: button=gtk_button_new_with_label("tab_os"); 119 g_signal_connect_swapped(GTK_OBJECT(button),"clicked",G_CALLBACK(tab_po),notebook); 120 gtk_table_attach_defaults(GTK_TABLE(table),button,2,3,1,2); 回调函数: void tab_po(GtkWidget*widget,gpointer notebook) 24 { 25 gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook),GTK_POS_BOTTOM); 26 } 用GtkButton发出“clicked”信号传递GtkNotebook参数,以在回调函数中调用gtk_notebook_remove_page函数,出错 1 #include 2 #include 3 GtkWidget*entry; 4 void notebook_remove(GtkWidget*button,gpointer notebook) 5 { 6 gint page; 7 gchar buffer[20]; 8 page=gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook)); 9 snprintf(buffer,20,"It is the %dth page",page); 10 gtk_entry_set_text(GTK_ENTRY(entry),buffer); 11 gtk_notebook_remove_page(GTK_NOTEBOOK(notebook),page); 12 } 13 int main(int argc,char**argv) 14 { 15 GtkWidget*window; 16 GtkWidget*tabel; 17 GtkWidget*notebook; 18 GtkWidget*button; 19 GtkWidget*label; 20 gchar bufferl[40]; 21 gint i; 22 gtk_init(&argc,&argv); 23 window=gtk_dialog_new(); 24 gtk_window_set_default_size(GTK_WINDOW(window),600,200); 25 notebook=gtk_notebook_new(); 26 for(i=0;ivbox),notebook,FALSE,FALSE,0); 33 entry=gtk_entry_new(); 34 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->vbox),entry,FALSE,FALSE,0); 35 gtk_entry_set_text(GTK_ENTRY(entry),"Nothing happens"); 36 button=gtk_button_new_with_mnemonic("remove"); 37 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->action_area),button,FALSE,FALSE,0); 38 g_signal_connect_swapped(GTK_OBJECT(button),"clicked",G_CALLBACK(notebook_remove),notebook); 39 button=gtk_button_new_with_label("close app"); 40 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(window)->action_area),button,FALSE,FALSE,0); 41 g_signal_connect(GTK_OBJECT(button),"clicked",G_CALLBACK(gtk_main_quit),NULL); 42 gtk_widget_show_all(window); 43 gtk_main(); 44 return 0; 45 } 46

gtk+里面label的问题,求教大神

我想请问大家一下,我在vc6下面,运行gtk程序,点击按钮后可以显示"Hello",然后我单步调试。 将这行语句运行完了 gtk_label_set_text(label, "Hello"); 可是对话框上面不能显示 "Hello" ,如果继续单步, 就进入汇编了 。是什么原因,程序一点错都没有,就是单步调试, 不是很懂。我用的是我用的是show_all()函数

gtk中文乱码 已经用了现有的方法解决 还是不行

在服务器上运行的 ,服务器系统位cemtos7 ,字符集已经修改为为zh_CN.UTF-8,用的是 MobaXterm远程连接,语言也设置成立utf——8; 部分代码如下: gtk_window_set_title(GTK_WINDOW(window2), g_convert("中文",-1,"UTF-8","GB2312",NULL,NULL,NULL));//可以正常显示 GtkWidget *label=gtk_label_new(g_convert("中文",-1,"UTF-8","GB2312",NULL,NULL,NULL));//显示为方块乱码如下图 ![图片说明](https://img-ask.csdn.net/upload/201907/05/1562291177_76861.png) 用g_locale_to_utf8则是会显示空白 如下图 ![图片说明](https://img-ask.csdn.net/upload/201907/05/1562291121_844387.png) 标题设置就是正常,怎么回事啊 求助各位da'lao

mac下编译GTK+3.0的“Hello,World”程序出错

我用homebrew下载安装好了gtk+3,然后试着编译了一个网上的示例代码: ``` #include <stdio.h> #include <stdlib.h> #include <gtk/gtk.h> static gboolean delete_event(GtkWidget * widget, GdkEvent * event, gpointer data) { gtk_main_quit(); return FALSE; } int main(int argc, char *argv[]) { GtkWidget *window; GtkWidget *label; gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER); gtk_window_set_title(GTK_WINDOW(window), "RobberPhex"); gtk_window_set_default_size(GTK_WINDOW(window), 400, 300); g_signal_connect(window, "delete-event", G_CALLBACK(delete_event), NULL); gtk_container_set_border_width(GTK_CONTAINER(window), 10); label = gtk_label_new("Hello GTK!"); gtk_container_add(GTK_CONTAINER(window), label); gtk_widget_show(label); gtk_widget_show(window); gtk_main(); return 0; } ``` 用gcc编译: ``` gcc testGTK.c -o testGTK `pkg-config --cflags --libs gtk+-3.0` ``` 结果运行的时候出错了,错误信息是: ``` Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! (testGTK:62547): Gtk-WARNING **: cannot open display: ``` 结果在Google找了好久都没找到为什么会这样 T T

gtk drawing_area中如何放置图片 并一起显示在主window 求实例代码

在主window创建一个drawing_area,然后在drawing_area中把PIXBUF中的图片添加进去设置背景,求一个代码示例,困扰好久了

gtk textview 文本显示

GtkTextIter iter; gtk_text_buffer_get_start_iter(buffer, &iter); gchar buf[1200]; char *sen; sen=(char *)malloc(sizeof(char)*(strlen(psen->sen)+1)); strcpy(sen,psen->sen); sprintf(buf,"%-3d\t%s\n",i,sen); gtk_text_buffer_insert(buffer, &iter, buf, -1); 只要是: psen->sen="The so-called ice-bucket challenge—dump ice water on yourself, post and tag yourself on social media and challenge others to do the same—got its start among golfers as a way to support pet charities." 就不会显示出来,其他时候会显示。输出就像下面,第1、3、5、7都是上面那句话,都没显示。 8 results have been found! ----e:\dealt_data3.txt 2 As of Thursday, the ALS Association had raised $7.6 million in donations in two weeks. ----e:\dealt_data3.txt ----e:\dealt_data3.txt 4 As of Thursday, the ALS Association had raised $7.6 million in donations in two weeks. ----e:\dealt_data3.txt ----e:\dealt_data3.txt 6 As of Thursday, the ALS Association had raised $7.6 million in donations in two weeks. ----e:\dealt_data3.txt ----e:\dealt_data3.txt 8 As of Thursday, the ALS Association had raised $7.6 million in donations in two weeks. ----e:\dealt_data3.txt

如何在PHP-GTK2中找到GTK版本?

<div class="post-text" itemprop="text"> <p>This one is driving me nuts. According to GTK's site, there exists GTK_MAJOR_VERSION, GTK_MINOR_VERSION, and GTK_MICRO_VERSION constants. However, none of these work:</p> <p>echo GTK_MAJOR_VERSION; echo GtK::MAJOR_VERISON; echo Gtk::GTK_MAJOR_VERSION; etc</p> <p>Also, Gtk::check_version(2,12,0) always fails even though I have a higher version.</p> <p>I'd like to simply get the actual version number and not rely on check_version, which seems unreliable.</p> <p>How can I do this? I need to do it within PHP, platform independent.</p> </div>

GTK,用到了GtkBuilder,在从GtkBuilder获取对象的时候,

GTK,用到了GtkBuilder,在从GtkBuilder获取对象的时候, window=GTK_WIDGET(gtk_builder_get_object(builder,"window")); 检测到这句为失败,及window=NULL,怎么回事?怎么解决?

ubuntu16.04安装opencv时,make不通过该怎么办?

cmake已经完成,情况如下: ``` cmake .. -- Detected version of GNU GCC: 54 (504) -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Checking for module 'gstreamer-base-1.0' -- No package 'gstreamer-base-1.0' found -- Checking for module 'gstreamer-video-1.0' -- No package 'gstreamer-video-1.0' found -- Checking for module 'gstreamer-app-1.0' -- No package 'gstreamer-app-1.0' found -- Checking for module 'gstreamer-riff-1.0' -- No package 'gstreamer-riff-1.0' found -- Checking for module 'gstreamer-pbutils-1.0' -- No package 'gstreamer-pbutils-1.0' found -- Checking for module 'gstreamer-base-0.10' -- No package 'gstreamer-base-0.10' found -- Checking for module 'gstreamer-video-0.10' -- No package 'gstreamer-video-0.10' found -- Checking for module 'gstreamer-app-0.10' -- No package 'gstreamer-app-0.10' found -- Checking for module 'gstreamer-riff-0.10' -- No package 'gstreamer-riff-0.10' found -- Checking for module 'gstreamer-pbutils-0.10' -- No package 'gstreamer-pbutils-0.10' found -- Looking for linux/videodev.h -- Looking for linux/videodev.h - not found -- Looking for linux/videodev2.h -- Looking for linux/videodev2.h - found -- Looking for sys/videoio.h -- Looking for sys/videoio.h - not found -- Checking for module 'libavresample' -- No package 'libavresample' found -- Looking for libavformat/avformat.h -- Looking for libavformat/avformat.h - found -- Looking for ffmpeg/avformat.h -- Looking for ffmpeg/avformat.h - not found -- Checking for module 'libgphoto2' -- No package 'libgphoto2' found -- found IPP (ICV version): 9.0.1 [9.0.1] -- at: /home/quxutao/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx -- CUDA detected: 7.5 -- CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_30,code=compute_30 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.6" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3.4" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3.2" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) -- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- Caffe: NO -- Protobuf: YES -- Glog: NO -- HDF5: YES -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags -- Tesseract: NO -- HDF5: YES -- Build libprotobuf from sources: -- The protocol buffer compiler not found -- Tesseract: NO -- -- General configuration for OpenCV 3.1.0 ===================================== -- Version control: unknown -- -- Platform: -- Host: Linux 4.15.0-47-generic x86_64 -- CMake: 3.5.1 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: RELEASE -- -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/bin/c++ (ver 5.4.0) -- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/cc -- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release): -- Linker flags (Debug): -- Precompiled headers: YES -- Extra dependencies: /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libjasper.so /usr/lib/x86_64-linux-gnu/libjpeg.so gtk-3 gdk-3 pangocairo-1.0 pango-1.0 atk-1.0 cairo-gobject cairo gdk_pixbuf-2.0 gio-2.0 gobject-2.0 gthread-2.0 glib-2.0 dc1394 v4l1 v4l2 avcodec-ffmpeg avformat-ffmpeg avutil-ffmpeg swscale-ffmpeg /usr/lib/x86_64-linux-gnu/libbz2.so /usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib/libhdf5.so /usr/lib/x86_64-linux-gnu/libsz.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libdl.so /usr/lib/x86_64-linux-gnu/libm.so dl m pthread rt cudart nppc nppi npps cufft -L/usr/lib/x86_64-linux-gnu -- 3rdparty dependencies: libwebp IlmImf libprotobuf -- -- OpenCV modules: -- To be built: cudev core cudaarithm flann hdf imgproc ml reg surface_matching video cudabgsegm cudafilters cudaimgproc cudawarping dnn fuzzy imgcodecs photo shape videoio cudacodec highgui objdetect plot ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo datasets rgbd stereo structured_light superres tracking videostab xfeatures2d ximgproc aruco optflow stitching -- Disabled: world contrib_world -- Disabled by dependency: - -- Unavailable: java python2 python3 viz cvv matlab sfm -- -- GUI: -- QT: NO -- GTK+ 3.x: YES (ver 3.18.9) -- GThread : YES (ver 2.48.2) -- GtkGlExt: NO -- OpenGL support: NO -- VTK support: NO -- -- Media I/O: -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8) -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver ) -- WEBP: build (ver 0.3.1) -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.54) -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 - 4.0.6) -- JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1) -- OpenEXR: build (ver 1.7.1) -- GDAL: NO -- -- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: YES (ver 2.2.4) -- FFMPEG: YES -- codec: YES (ver 56.60.100) -- format: YES (ver 56.40.101) -- util: YES (ver 54.31.100) -- swscale: YES (ver 3.1.101) -- resample: NO -- gentoo-style: YES -- GStreamer: NO -- OpenNI: NO -- OpenNI PrimeSensor Modules: NO -- OpenNI2: NO -- PvAPI: NO -- GigEVisionSDK: NO -- UniCap: NO -- UniCap ucil: NO -- V4L/V4L2: Using libv4l1 (ver 1.10.0) / libv4l2 (ver 1.10.0) -- XIMEA: NO -- Xine: NO -- gPhoto2: NO -- -- Parallel framework: pthreads -- -- Other third-party libraries: -- Use IPP: 9.0.1 [9.0.1] -- at: /home/quxutao/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx -- Use IPP Async: NO -- Use VA: NO -- Use Intel VA-API/OpenCL: NO -- Use Eigen: NO -- Use Cuda: YES (ver 7.5) -- Use OpenCL: YES -- Use custom HAL: NO -- -- NVIDIA CUDA -- Use CUFFT: YES -- Use CUBLAS: NO -- USE NVCUVID: NO -- NVIDIA GPU arch: 20 21 30 35 -- NVIDIA PTX archs: 30 -- Use fast math: NO -- -- OpenCL: -- Version: dynamic -- Include path: /home/quxutao/opencv-3.1.0/3rdparty/include/opencl/1.2 -- Use AMDFFT: NO -- Use AMDBLAS: NO -- -- Python 2: -- Interpreter: NO -- -- Python 3: -- Interpreter: NO -- -- Python (for build): NO -- -- Java: -- ant: NO -- JNI: NO -- Java wrappers: NO -- Java tests: NO -- -- Matlab: Matlab not found or implicitly disabled -- -- Documentation: -- Doxygen: NO -- PlantUML: NO -- -- Tests and samples: -- Tests: YES -- Performance tests: YES -- C/C++ Examples: YES -- -- Install path: /usr/local -- -- cvconfig.h is in: /home/quxutao/opencv-3.1.0/build -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /home/quxutao/opencv-3.1.0/build ``` 但是make的时候,就报错: ``` make [ 4%] Built target libwebp [ 4%] Built target IlmImf [ 4%] Built target opencv_cudev [ 4%] Built target opencv_core_pch_dephelp [ 4%] Built target pch_Generate_opencv_core [ 4%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’: /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope return (char *) memcpy (__dest, __src, __n) + __n; ^ CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:266 (message): Error generating file /home/quxutao/opencv-3.1.0/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o modules/core/CMakeFiles/opencv_core.dir/build.make:399: recipe for target 'modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o' failed make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o] Error 1 CMakeFiles/Makefile2:2307: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 ``` 弄了一下午了,没有找到相关的解决办法。我的cuda是7.5,其实不用GPU也可以的,我只是想用KAZE滤波。。。跪求大神帮忙。。。

linux gtk 比列框架标签的位置怎么修改不了?一直在初始位置

1#include<gtk/gtk.h> 2int main(int argc, char*argv[]) { 3GtkWidget*window; 4GtkWidget*aspect_frame; 5GtkWidget*drawing_area; 6gtk_init(&argc,&argv); 7window=gtk_window_new(GTK_WINDOW_TOPLEVEL); 8gtk_window_set_title(GTK_WINDOW(window),"AspectFrame"); 9g_signal_connect(G_OBJECT(window),"destroy", 10G_CALLBACK(gtk_main_quit),NULL); 11gtk_container_set_border_width(GTK_CONTAINER(window),10); 12/*创建一个比例框架,将它添加到顶级窗口中*/ 13aspect_frame=gtk_aspect_frame_new("3*2",1,0, 2, FALSE); 14 gtk_aspect_frame_set(GTK_ASPECT_FRAME(aspect_frame),0,1,4,FALSE); 15gtk_container_add(GTK_CONTAINER(window),aspect_frame); 16gtk_widget_show(aspect_frame); 17/*添加一个子构件到比例框架中*/ 18drawing_area=gtk_drawing_area_new(); 19/*要求一个200×200的窗口,但是比例框架会给出一个200×100 *的窗口, 20因为已经指定了2×1的比例值*/ 21gtk_widget_set_size_request(drawing_area,200,200); 22gtk_container_add(GTK_CONTAINER(aspect_frame),drawing_area); 23gtk_widget_show(drawing_area); 24gtk_widget_show(window); 25gtk_main(); 26return 0; 27} 28

ubuntu基于gtk编译的程序在没有安装gtk的机器上可以运行吗

ubuntu基于gtk编译的程序在没有安装gtk的机器上可以运行吗, 我首先安装了gtk的安装包(apt-get),之后编译生成的可执行 程序可以在没有安装gtk的机器上运行不?如果不行,那我这种情况 应该如何发布自己基于gtk的应用程序?

一个关于gtk控件显示的问题

我最近做项目有这样一个需求:需要将gtk控件 ”截图“。具体的”截图“代码现在不在手边,明天发上来。 我在调用gtk_widget_show()方法将一个控件(例如一个GtkButton)显示后,马上调用截图的代码,期望得到这个控件的图片。 现在有一个问题,就是截图这段代码能够工作,但是截下来的图不正确。一个刚刚new出来的控件,我对它进行截图,截出来的基本就是一片空白。但是当控件在屏幕上完全显示出来后,再调用一次截图的代码,这次截出来的图是正确的,是这个控件的图片。现象看起来好像就是我调用了gtk_widget_show()方法后,控件并没有马上重绘,而是异步地在后台去重绘了,而我紧接着就截图了,导致此时截出来的图有问题。 我曾经试过这样做:在主线程中先调用gtk_widget_show()显示控件,然后起一个子线程,在子线程中先sleep一会,然后再截图,此时截出来的图是正确的。 由于项目特殊性,我必须在show这个控件后马上调用截图的代码。现在想问各位大神: 1、gtk_widget_show()这个方法是不是异步的? 2、如果gtk_widget_show()是异步的,有没有其它方法可以让一个控件同步地绘制出来? 3、我曾经试过,编写了 expose事件的回调函数,即这样写 g_signal_connect(button, "expose_event", G_CALLBACK(callback), NULL)。我以为调用到这个事件的回调时,控件应该绘制完成了,这时再截图应该就没有问题了。奇怪的是,我写了这个回调函数后,这个button就再也不显示了。这是什么原因呢? 没有金币了,没法悬赏。恳请各位大神不吝赐教啊~~~

java jdk 8 帮助文档 中文 文档 chm 谷歌翻译

JDK1.8 API 中文谷歌翻译版 java帮助文档 JDK API java 帮助文档 谷歌翻译 JDK1.8 API 中文 谷歌翻译版 java帮助文档 Java最新帮助文档 本帮助文档是使用谷

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

汽车行驶工况构建2019 D题.zip

1. 标记0与0之间的片段位置 2.标记所之间的毛刺数的位置 3.去掉毛刺数据 速度 并生成 新的数组 4.标记时间段 5. 0与0之间 如果有不连续的时间片段 置零 先找到时间间隔 再看间隔时间对应

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

专为程序员设计的数学课

<p> 限时福利限时福利,<span>15000+程序员的选择!</span> </p> <p> 1、原价 115 元,限时特价仅需 49 元!<br> 2、购课后添加学习助手(微信号:csdnxy68),按提示消息领取编程大礼包!并获取讲师答疑服务! </p> <p> <br> </p> <p> 套餐中一共包含5门程序员必学的数学课程(共47讲) </p> <p> 课程1:《零基础入门微积分》 </p> <p> 课程2:《数理统计与概率论》 </p> <p> 课程3:《代码学习线性代数》 </p> <p> 课程4:《数据处理的最优化》 </p> <p> 课程5:《马尔可夫随机过程》 </p> <p> <br> </p> <p> 哪些人适合学习这门课程? </p> <p> 1)大学生,平时只学习了数学理论,并未接触如何应用数学解决编程问题; </p> <p> 2)对算法、数据结构掌握程度薄弱的人,数学可以让你更好的理解算法、数据结构原理及应用; </p> <p> 3)看不懂大牛代码设计思想的人,因为所有的程序设计底层逻辑都是数学; </p> <p> 4)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; </p> <p> 5)想修炼更好的编程内功,在遇到问题时可以灵活的应用数学思维解决问题。 </p> <p> <br> </p> <p> 在这门「专为程序员设计的数学课」系列课中,我们保证你能收获到这些:<br> <br> <span> </span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">①价值300元编程课程大礼包</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">②应用数学优化代码的实操方法</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">③数学理论在编程实战中的应用</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">④程序员必学的5大数学知识</span> </p> <p class="ql-long-24357476"> <span class="ql-author-24357476">⑤人工智能领域必修数学课</span> </p> <p> <br> 备注:此课程只讲程序员所需要的数学,即使你数学基础薄弱,也能听懂,只需要初中的数学知识就足矣。<br> <br> 如何听课? </p> <p> 1、登录CSDN学院 APP 在我的课程中进行学习; </p> <p> 2、登录CSDN学院官网。 </p> <p> <br> </p> <p> 购课后如何领取免费赠送的编程大礼包和加入答疑群? </p> <p> 购课后,添加助教微信:<span> csdnxy68</span>,按提示领取编程大礼包,或观看付费视频的第一节内容扫码进群答疑交流! </p> <p> <img src="https://img-bss.csdn.net/201912251155398753.jpg" alt=""> </p>

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

IE主页被篡改修复

IE主页修复。IE主页被篡改修复。一键修复IE主页

我说我不会算法,阿里把我挂了。

不说了,字节跳动也反手把我挂了。

土豆SDK(Java版)-非官方

由于土豆SDK一直建设中,最近几天抽空写了一套java的SDK。包含了现有的所有请求协议。本套SDK中仅提供了oAuth的方式(引用oAuth.net的java版示例),并没有在框架中实现,涉及到登录

Java8零基础入门视频教程

这门课程基于主流的java8平台,由浅入深的详细讲解了java SE的开发技术,可以使java方向的入门学员,快速扎实的掌握java开发技术!

【数据结构与算法综合实验】欢乐连连看(C++ & MFC)案例

这是武汉理工大学计算机学院数据结构与算法综合实验课程的第三次项目:欢乐连连看(C++ & MFC)迭代开发代码。运行环境:VS2017。已经实现功能:开始游戏、消子、判断胜负、提示、重排、计时、帮助。

数学建模竞赛D题“汽车行驶工况构建

第十六届“华为杯”数学建模竞赛D题“汽车行驶工况构建”论文。论文获得比赛国家二等奖,论文为原创,仅供参考。 关键词:数据处理;降维;聚类。

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

Android音视频开发全套

Android平台音视频开发全套,涉及:FFmpeg软解码解码、Mediacodec硬解码编码、Openssl音频播放、OpenGL ES视频渲染、RTMP推流等核心重要知识点。

设计模式(JAVA语言实现)--20种设计模式附带源码

课程亮点: 课程培训详细的笔记以及实例代码,让学员开始掌握设计模式知识点 课程内容: 工厂模式、桥接模式、组合模式、装饰器模式、外观模式、享元模式、原型模型、代理模式、单例模式、适配器模式 策略模式、模板方法模式、观察者模式、迭代器模式、责任链模式、命令模式、备忘录模式、状态模式、访问者模式 课程特色: 笔记设计模式,用笔记串连所有知识点,让学员从一点一滴积累,学习过程无压力 笔记标题采用关键字标识法,帮助学员更加容易记住知识点 笔记以超链接形式让知识点关联起来,形式知识体系 采用先概念后实例再应用方式,知识点深入浅出 提供授课内容笔记作为课后复习以及工作备查工具 部分图表(电脑PC端查看):

极简JAVA学习营第四期(报名以后加助教微信:eduxy-1)

想学好JAVA必须要报两万的培训班吗? Java大神勿入 如果你: 零基础想学JAVA却不知道从何入手 看了一堆书和视频却还是连JAVA的环境都搭建不起来 囊中羞涩面对两万起的JAVA培训班不忍直视 在职没有每天大块的时间专门学习JAVA 那么恭喜你找到组织了,在这里有: 1. 一群志同道合立志学好JAVA的同学一起学习讨论JAVA 2. 灵活机动的学习时间完成特定学习任务+每日编程实战练习 3. 热心助人的助教和讲师及时帮你解决问题,不按时完成作业小心助教老师的家访哦 上一张图看看前辈的感悟: &nbsp; &nbsp; 大家一定迫不及待想知道什么是极简JAVA学习营了吧,下面就来给大家说道说道: 什么是极简JAVA学习营? 1. 针对Java小白或者初级Java学习者; 2. 利用9天时间,每天1个小时时间; 3.通过 每日作业 / 组队PK / 助教答疑 / 实战编程 / 项目答辩 / 社群讨论 / 趣味知识抢答等方式让学员爱上学习编程 , 最终实现能独立开发一个基于控制台的‘库存管理系统’ 的学习模式 极简JAVA学习营是怎么学习的? &nbsp; 如何报名? 只要购买了极简JAVA一:JAVA入门就算报名成功! &nbsp;本期为第四期极简JAVA学习营,我们来看看往期学员的学习状态: 作业看这里~ &nbsp; 助教的作业报告是不是很专业 不交作业打屁屁 助教答疑是不是很用心 &nbsp; 有奖抢答大家玩的很嗨啊 &nbsp; &nbsp; 项目答辩终于开始啦 &nbsp; 优秀者的获奖感言 &nbsp; 这是答辩项目的效果 &nbsp; &nbsp; 这么细致的服务,这么好的氛围,这样的学习效果,需要多少钱呢? 不要1999,不要199,不要99,只要9.9 是的你没听错,只要9.9以上所有就都属于你了 如果你: 1、&nbsp;想学JAVA没有基础 2、&nbsp;想学JAVA没有整块的时间 3、&nbsp;想学JAVA没有足够的预算 还等什么?赶紧报名吧,抓紧抢位,本期只招300人,错过只有等时间待定的下一期了 &nbsp; 报名请加小助手微信:eduxy-1 &nbsp; &nbsp;

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

web网页制作期末大作业

分享思维,改变世界. web网页制作,期末大作业. 所用技术:html css javascript 分享所学所得

手把手实现Java图书管理系统(附源码)

【超实用课程内容】 本课程演示的是一套基于Java的SSM框架实现的图书管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的java人群。详细介绍了图书管理系统的实现,包括:环境搭建、系统业务、技术实现、项目运行、功能演示、系统扩展等,以通俗易懂的方式,手把手的带你从零开始运行本套图书管理系统,该项目附带全部源码可作为毕设使用。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27513 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化 下载方式:电脑登录https://edu.csdn.net/course/detail/27513,点击右下方课程资料、代码、课件等打包下载

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

2019 Python开发者日-培训

本次活动将秉承“只讲技术,拒绝空谈”的理念,邀请十余位身处一线的Python技术专家,重点围绕Web开发、自动化运维、数据分析、人工智能等技术模块,分享真实生产环境中使用Python应对IT挑战的真知灼见。此外,针对不同层次的开发者,大会还安排了深度培训实操环节,为开发者们带来更多深度实战的机会。

C++语言基础视频教程

C++语言基础视频培训课程:本课与主讲者在大学开出的程序设计课程直接对接,准确把握知识点,注重教学视频与实践体系的结合,帮助初学者有效学习。本教程详细介绍C++语言中的封装、数据隐藏、继承、多态的实现等入门知识;主要包括类的声明、对象定义、构造函数和析构函数、运算符重载、继承和派生、多态性实现等。 课程需要有C语言程序设计的基础(可以利用本人开出的《C语言与程序设计》系列课学习)。学习者能够通过实践的方式,学会利用C++语言解决问题,具备进一步学习利用C++开发应用程序的基础。

零基础学C#编程—C#从小白到大咖

本课程从初学者角度出发,提供了C#从入门到成为程序开发高手所需要掌握的各方面知识和技术。 【课程特点】 1 由浅入深,编排合理; 2 视频讲解,精彩详尽; 3 丰富实例,轻松易学; 4 每章总结配有难点解析文档。 15大章节,228课时,1756分钟与你一同进步!

编程实现学生基本信息管理程序

编程实现学生基本信息管理程序。学生基本信息包括:学号、姓名、性别、年龄、班级、学院、专业等。具体实现的管理功能如下: (1) 输入并显示多个学生的基本信息; (2) 可根据需要实现学生信息的添加; (

android 漂亮的UI界面 完整的界面设计

声明:这也是我学习时在网上下载的,鉴于分享精神,并且觉得很不错才上传上来的。。。。。 android 漂亮的UI界面 完整的界面设计 这是一个完整的UI设计,但是没写动作,这是一个公司程序员的公司任务

Anaconda详细安装及使用教程(带图文)

Anacond的介绍 Anaconda指的是一个开源的Python发行版本,其包含了conda、Python等180多个科学包及其依赖项。 因为包含了大量的科学包,Anaconda 的下载文件比较大(约 531 MB),如果只需要某些包,或者需要节省带宽或存储空间,也可以使用Miniconda这个较小的发行版(仅包含conda和 Python)。 Conda是一个开源的包、环境管理器,可以用于...

DirectX修复工具V4.0增强版

DirectX修复工具(DirectX Repair)是一款系统级工具软件,简便易用。本程序为绿色版,无需安装,可直接运行。 本程序的主要功能是检测当前系统的DirectX状态,如果发现异常则进行修复

相关热词 c# 开发接口 c# 中方法上面的限制 c# java 时间戳 c#单元测试入门 c# 数组转化成文本 c#实体类主外键关系设置 c# 子函数 局部 c#窗口位置设置 c# list 查询 c# 事件 执行顺序
立即提问
相关内容推荐