glib Questions
3
Solved
The GLib docs recommend use of the GLib Slice Allocator over malloc:
"For newly written code it is recommended to use the new g_slice API instead of g_malloc() and friends, as long as objects ar...
8
I am facing this error when I start my flask application on Python3 and Mac OS:
OSError: cannot load library 'gobject-2.0-0': dlopen(gobject-2.0-0, 2): image not found. Additionally, ctypes.util.f...
Bracing asked 8/9, 2021 at 4:58
4
Solved
In gatomic.c of glib there are several function declarations that look like this:
gboolean
(g_atomic_int_compare_and_exchange_full) (gint *atomic,
gint oldval,
gint newval,
gint *preval)
{
retu...
Confiscate asked 16/7, 2023 at 12:22
2
Solved
What is the reasoning behind types to be redefined in GLib? Why do they turn char into gchar, int into gint, etc.?
1
I downloaded the glib-2.56 and configured it with ./configure --prefix=/usr and make and make install. But still I get this error when I try to compile qemu.
I'm using Ubuntu 16.04 LTS.
root@ubuntu...
Pleochroism asked 16/6, 2022 at 18:18
3
I'm trying to install glib in a non-standard prefix but I get the following when running make install:
/bin/sh ../libtool --mode=install /usr/bin/install -c libgthread-2.0.la '/root/build/lib'
lib...
Shockey asked 23/4, 2012 at 11:40
4
Following instructions on http://docs.gstreamer.com/display/GstSDK/Installing+on+Windows to install GStreamer and compile tutorials/examples on Windows 7, for compilation using Visual Studio 2010.
...
Irreverent asked 21/1, 2014 at 17:52
3
Solved
https://developer.gnome.org/glib/unstable/glib-GVariant.html#g-variant-ref-sink
I have read the above glib manual which says: "GVariant uses a floating reference count system. All functions with n...
Avenge asked 15/4, 2015 at 23:16
3
Solved
I have a library written in C with glib/gobject. It produces significant number of debugging information via g_debug() call. This info is very helpful for troubleshooting, however I do not want it ...
3
I am trying to install sharp on Ubuntu 16.04 LTS.
I originally did not have vips, so I installed
sudo apt-get install libvips-dev
That fixed the first error, but now I get another error that ...
2
Solved
I have a problem using Glib. I want to subscribe to a dbus signal without launching the mainloop with g_main_loop_run.
I create the connection to the correct bus and call the function g_dbus_conne...
2
I have started programming in Rust recently and I love it <3.
I want to make a small desktop application with Rust and GTK. I am on a Windows machine, but I am facing a problem while setting up ...
3
I recently use valgrind with glib(with gobject), it doesn't work very well.
I have added G_SLICE=always-malloc G_DEBUG=gc-friendly in the command line,
but there's still many "possibly lost" repor...
3
2
Solved
I am trying to get the pointer position on screen in Gdk and found gdk_display_get_pointer(), which works fine, but it's marked as deprecated and refers to gdk_device_get_position() now.
But how d...
Antiperspirant asked 19/7, 2014 at 20:5
3
When I execute
#!/usr/bin/env python
import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.show()
(and more complex examples) I get
/usr/local/lib/python3.4/dist-packages/
matplotlib/bac...
Jarredjarrell asked 9/4, 2015 at 14:7
2
I am writing a plugin for Rhythmbox, wherein a signal raised is passing in an object of type GArray. The documentation for GLib Arrays shows me a few methods I am interested in, but am unable to ac...
Theotokos asked 17/5, 2013 at 21:51
2
Solved
I have been looking into the source code of python-mpdor and it mentions that it is
gobject-based, for easy event handling (in the high-level client
class).
Can someone explain to me in simpl...
2
Solved
what are differences in the strength and features in gnulib glib and glibc
Thanks!
2
Solved
I've been reading some code which uses gtk+ and I've encountered types like gboolean and gunichar.
As long as I can understand the point of using gunichar instead of wchar_t (glib gunichar and wch...
6
Solved
Id like to use GLib in my C application which uses CMake as the build system.
Now, I'm somehow confused how I should enable GLib in my CMakeLists.txt. Basically, you add libraries in cmake using t...
2
I'm writing a python program with matplotlib, and I'm getting this error:
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications....
Fugazy asked 15/8, 2016 at 21:30
3
I am looking at this webpage
http://mathieu.carbou.free.fr/wiki/index.php?title=Glib_for_Win32
And it tells me I need to run the following commands.
./configure
make
make install
How do I actu...
1
I'm fairly new to Gtk programming. I'm using the Gtkmm library to write a simple GUI for my application.
The GUI is part of a larger application, which actually compiles to two separate executable...
5
I have managed to install the meld 3.14.2 and all the dependency packages, by compiling each package from source and all are installed on a NFS share with --prefix=<base>/meldfor the meld too...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.