下载了d4x-2.5.0final源码包,会来解开,然后:
./configure --prefix=/usr
成功,当然需要的依赖包也费了很大事,主要是gtk+-2 ,然后是:
make
出错,提示lod.cc中结构成员引用错误:
lod.cc:179: `struct _GtkCellRendererProgress' has no member named `percent'
lod.cc:182: `struct _GtkCellRendererProgress' has no member named `dwn'
然而源程序中明明是:
struct GtkCellRendererProgress{
GtkCellRenderer parent;
gfloat percent;
tDownload *dwn;
};
...
17 GtkCellRendererProgress *renderer = (GtkCellRendererProgress *)object;
179) renderer->percent=g_value_get_float(value); //出错行