Page 1 of 1

Error when building goldendict from git in Arch 64 bit

PostPosted: Wed Feb 08, 2012 8:03 pm
by vjjustin
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?

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

PostPosted: Wed Feb 08, 2012 8:26 pm
by Abs62
Fixed in git.

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

PostPosted: Thu Feb 09, 2012 12:17 am
by vjjustin
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