sdcv在amd64上编译问题

sdcv是stardict的命令行替代,打算用stardict的字典,所以看看如何从字典中取词,sdcv比较小巧,拿来看挺合适,不过在我机子上编译出现了点问题:

lib.cpp:516: error: no matching function for call to ‘min(long unsigned int, guint32&)’

解决办法:

-fread(wordentry_buf, std::min(sizeof(wordentry_buf), page_size), 1, idxfile);
+fread(wordentry_buf,std::min(sizeof(wordentry_buf),(size_t)page_size),1,idxfile);

——————————————–split—————————————
听说WordPress2.7在后台的UI上变化不小,今天试着升级上来,发现果然是完全改变了以前的UI,大量使用了JS,感觉还不错:-)

好久没有Opera了,因为又出现了无法输入的现象,只好去用了Firefox一段时间,今天换了下Ibus输入法,发现可以在Opera里面使用,赶快换回Opera,firefox的速度还是与Opera无法相比的。对了Ibus这个输入法也不错。

This entry was posted in C, 编程相关 and tagged . Bookmark the permalink.

3 Responses to sdcv在amd64上编译问题

  1. 草儿 says:

    哈哈,现在的后台是不是比以前好用的多~

    ibus默认应该不能在opera里使用吧,我当初可是修改了参数才能用的。

  2. luguo says:

    看来我又该升级wordpress了~~哈哈~

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>