New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

Error when building goldendict from git in Arch 64 bit

Report bugs here

Error when building goldendict from git in Arch 64 bit

Postby vjjustin » Wed Feb 08, 2012 8:03 pm

When building goldendict from git, I get an error.

Distro: Archlinux
Arch: 64 bit

Code: Select all
xdxf.cc:775:52: error: cannot convert ‘uint32_t* {aka unsigned int*}’ to ‘size_t* {aka long unsigned int*}’ for argument ‘2’ to ‘void Xdxf::{anonymous}::checkArticlePosition(Xdxf::{anonymous}::GzippedFile&, size_t*, size_t*)’
xdxf.cc: In function ‘std::vector<sptr<Dictionary::Class> > Xdxf::makeDictionaries(const std::vector<std::basic_string<char> >&, const string&, Dictionary::Initializing&)’:
xdxf.cc:1270:11: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘qint64 {aka long long int}’ [-Wformat]
make: *** [build/xdxf.o] Error 1


It could be something with the dependencies, I guess. Can someone please help?
vjjustin
 
Posts: 45
Joined: Wed Feb 08, 2012 7:59 pm

Re: Error when building goldendict from git in Arch 64 bit

Postby Abs62 » Wed Feb 08, 2012 8:26 pm

Fixed in git.
Abs62
 
Posts: 631
Joined: Mon Jun 14, 2010 11:51 am

Re: Error when building goldendict from git in Arch 64 bit

Postby vjjustin » Thu Feb 09, 2012 12:17 am

That was fast!!! It is working. It was indeed a type mismatch, I guess. I thought something missing from my side.

Another doubt: When doing make install, goldendict is installing itself to usr/local/share/applications (the .desktop file). It doesn't show in desktop search or menus.
All other applications are installed to usr/share/applications. Is this intended behaviour?

also, is it possible to copy my goldendict profile (dictionary locations, groups and settings) from one install to another one?

Thanks for the wonderful program,
Justin
vjjustin
 
Posts: 45
Joined: Wed Feb 08, 2012 7:59 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 25 guests

cron