-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
main_event_loop.go:55:10: undefined: SOURCE_REMOVE when running "Custom Drawing" Example Code #3
Comments
So appears to be having issues assigning |
I feel silly, thought the |
Nm still can't build: |
You shouldn't need to run the A good first step would be to run an example. git clone https://github.com/pekim/gobbi.git
cd gobbi
./gobbi example simple_window I've just noticed that there's a typo on that page. All that go run \
-tags " \
cairo_1.12 \
gobject_2.26 \
glib_2.48 \
gdk_3.4 \
gdkpixbuf_2.32 \
gio_2.36 \
gtk_3.18 \
pango_1.38 \
pangocairo_1.22
" \
example/window_simple/main.go I hope that helps. |
I confess that I didn't read the issue's title properly. I now see that the original problem that you were having was with the Do other examples, such as |
gobbi/lib/glib/constant-2.32.go Line 16 in aef82e7
I would speculate that one of the following is the reason for your problem.
So it would appear that https://github.com/pekim/gobbi/blob/master/lib/glib/main_event_loop.go requires a minimum glib version of 2.32. Therefore it could benefit from the addition of this build tag comment to enforce the restriction. // +build glib_2.32 glib_2.34 glib_2.36 glib_2.38 glib_2.40 glib_2.44 glib_2.46 glib_2.48 glib_2.50 glib_2.52 glib_2.54 glib_2.56 I should be able to look in to sorting that out at the weekend. |
I have removed an unnecessary dependency on glib 2.32 or later by |
This is a wonderful project, thank you for investing time into working on this. I'm interested in learning more about GTK and expanding my knowledge so I was experimenting with this and other Go and C GTK software and in my tests I ran into the following error:
I think this is a simple bug fix, I can submit the pull request to fix it if its not already done locally on your machine.
The text was updated successfully, but these errors were encountered: