全部博文(489)
分类: LINUX
2012-06-19 19:53:11
代码: levin108-hybrid-f5bd234.tar.gz
$cd levin108-hybrid-f5bd234
$mkdir -p build
$cd build
$cmake ..
$make
#make install
src/preference.c:421: undefined reference to "gtk_table_get_size"
solution:添加如下函数
vim ../src/preference.c 421行所在的函数上面增加如下:
/**
* gtk_table_get_size:
* @table: a #GtkTable
* @rows: (allow-none): (out): return location for the number of
* rows, or %NULL
* @columns: (allow-none): (out): return location for the number
* of columns, or %NULL
*
* Returns the number of rows and columns in the table.
*
* Since: 2.22
**/
void gtk_table_get_size (GtkTable *table, guint *rows, guint *columns)
{
g_return_if_fail (GTK_IS_TABLE (table));
if (rows)
*rows = table->nrows;
if (columns)
*columns = table->ncols;
}
重新make下
参考: