Advertising
advertising
related pastes to tag 'glib'
- 655950 - g_hash_table problem: c glib programming g_hash_table
-
- Here is the problem:
- I have a g_hash_table, using the direct hashing function. This hash table holds string(key)->int(value) pairs. In my program, there are two functions: one takes a hash table, and writes the values to GConf; the other reads the values from GConf and returns a new hash table.
- To test my functions, I create some data and store it in the hash table, using the following code:
- GHashTable *tmp_outputs = g_hash_table_new (NULL, NULL);
- gchar *tmp_output_id = g_strdup ("StringOfLettersWithNoSpaces");
- 591835 - xmingw glib compilation error: mingw gcc glib cross-compiling
-
- /tmp/glib-2.12.12/glib/gutf8.c:402: undefined reference to `__g_locale_get_charset_aliases'
- .libs/gutf8.o: In function `g_get_charset':
- /tmp/glib-2.12.12/glib/gutf8.c:534: undefined reference to `__g_locale_charset_raw'
- /tmp/glib-2.12.12/glib/gutf8.c:467: undefined reference to `__g_locale_charset_unalias'
- /usr/local/20.40-toolchains/gettext/lib/libgettextlib.a(mkdtemp.o):mkdtemp.c:(.text+0x5f): undefined reference to `_gettimeofday'