{"action":"created","issue":{"url":"https://api.github.com/repos/mattn/go-gtk/issues/242","labels_url":"https://api.github.com/repos/mattn/go-gtk/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/mattn/go-gtk/issues/242/comments","events_url":"https://api.github.com/repos/mattn/go-gtk/issues/242/events","html_url":"https://github.com/mattn/go-gtk/issues/242","id":82277549,"number":242,"title":"I use 'go get github.com/mattn/go-gtk/gtk' install golang GTK. report  a error","user":{"login":"czxichen","id":9214266,"avatar_url":"https://avatars.githubusercontent.com/u/9214266?v=3","gravatar_id":"","url":"https://api.github.com/users/czxichen","html_url":"https://github.com/czxichen","followers_url":"https://api.github.com/users/czxichen/followers","following_url":"https://api.github.com/users/czxichen/following{/other_user}","gists_url":"https://api.github.com/users/czxichen/gists{/gist_id}","starred_url":"https://api.github.com/users/czxichen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czxichen/subscriptions","organizations_url":"https://api.github.com/users/czxichen/orgs","repos_url":"https://api.github.com/users/czxichen/repos","events_url":"https://api.github.com/users/czxichen/events{/privacy}","received_events_url":"https://api.github.com/users/czxichen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-05-29T05:49:32Z","updated_at":"2015-06-16T07:11:42Z","closed_at":null,"body":"C:\\Users\\czxichen>go get github.com/mattn/go-gtk/gtk\r\n# github.com/mattn/go-gtk/gdk\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_gdk_display_get_default':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go.h:19: undefined reference to\r\n `gdk_display_get_default'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_g_object_ref':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:58: undefined reference to `\r\ng_object_ref'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_color_parse':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:91: undefined reference to `\r\ngdk_color_parse'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_colormap_alloc_color':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:108: undefined reference to\r\n`gdk_colormap_alloc_color'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_cursor_new':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:122: undefined reference to\r\n`gdk_cursor_new'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_arc':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:142: undefined reference to\r\n`gdk_draw_arc'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_drawable':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:159: undefined reference to\r\n`gdk_draw_drawable'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_layout':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:172: undefined reference to\r\n`gdk_draw_layout'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_line':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:186: undefined reference to\r\n`gdk_draw_line'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_pixbuf':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:207: undefined reference to\r\n`gdk_draw_pixbuf'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_rectangle':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:235: undefined reference to\r\n`gdk_draw_rectangle'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_string':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:249: undefined reference to\r\n`gdk_draw_string'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_font_load':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:269: undefined reference to\r\n`gdk_font_load'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_fontset_load':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:282: undefined reference to\r\n`gdk_fontset_load'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_gc_get_colormap':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:295: undefined reference to\r\n`gdk_gc_get_colormap'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_gc_new':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:308: undefined reference to\r\n`gdk_gc_new'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_pixmap_new':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:375: undefined reference to\r\n`gdk_pixmap_new'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_screen_height':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:388: undefined reference to\r\n`gdk_screen_height'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_screen_width':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:401: undefined reference to\r\n`gdk_screen_width'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_window_get_pointer':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:444: undefined reference to\r\n`gdk_window_get_pointer'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `toGdkWindow':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go.h:15: undefined reference to\r\n `gdk_window_object_get_type'\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go.h:15: undefined reference to\r\n `g_type_check_instance_cast'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_g_object_unref':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:69: undefined reference to `\r\ng_object_unref'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_beep':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:78: undefined reference to `\r\ngdk_beep'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_draw_point':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:219: undefined reference to\r\n`gdk_draw_point'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_flush':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:258: undefined reference to\r\n`gdk_flush'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_gc_set_background':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:320: undefined reference to\r\n`gdk_gc_set_background'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_gc_set_clip_rectangle':\r\n\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:330: undefined reference to\r\n`gdk_gc_set_clip_rectangle'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_gc_set_foreground':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:340: undefined reference to\r\n`gdk_gc_set_foreground'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_gc_set_rgb_bg_color':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:350: undefined reference to\r\n`gdk_gc_set_rgb_bg_color'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_gc_set_rgb_fg_color':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:360: undefined reference to\r\n`gdk_gc_set_rgb_fg_color'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_threads_enter':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:412: undefined reference to\r\n`gdk_threads_enter'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_threads_init':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:421: undefined reference to\r\n`gdk_threads_init'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_threads_leave':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:430: undefined reference to\r\n`gdk_threads_leave'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_window_invalidate_rect'\r\n:\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:458: undefined reference to\r\n`gdk_window_invalidate_rect'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_window_raise':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:467: undefined reference to\r\n`gdk_window_raise'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_window_show':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk.go:476: undefined reference to\r\n`gdk_window_show'\r\nC:\\Users\\czxichen\\AppData\\Local\\Temp\\go-build047132695\\github.com\\mattn\\go-gtk\\gdk\\_\r\nobj\\gdk_windows.cgo2.o: In function `_cgo_1fcf25d12d81_Cfunc_gdk_win32_drawable_\r\nget_handle':\r\nD:/go_source/src/github.com/mattn/go-gtk/gdk/gdk_windows.go:39: undefined refere\r\nnce to `gdk_win32_drawable_get_handle'\r\ncollect2.exe: error: ld returned 1 exit status"},"comment":{"url":"https://api.github.com/repos/mattn/go-gtk/issues/comments/112317088","html_url":"https://github.com/mattn/go-gtk/issues/242#issuecomment-112317088","issue_url":"https://api.github.com/repos/mattn/go-gtk/issues/242","id":112317088,"user":{"login":"mattn","id":10111,"avatar_url":"https://avatars.githubusercontent.com/u/10111?v=3","gravatar_id":"","url":"https://api.github.com/users/mattn","html_url":"https://github.com/mattn","followers_url":"https://api.github.com/users/mattn/followers","following_url":"https://api.github.com/users/mattn/following{/other_user}","gists_url":"https://api.github.com/users/mattn/gists{/gist_id}","starred_url":"https://api.github.com/users/mattn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattn/subscriptions","organizations_url":"https://api.github.com/users/mattn/orgs","repos_url":"https://api.github.com/users/mattn/repos","events_url":"https://api.github.com/users/mattn/events{/privacy}","received_events_url":"https://api.github.com/users/mattn/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T07:11:42Z","updated_at":"2015-06-16T07:11:42Z","body":"one more please. `go version`."}}