Reply to topic

Bulding kdelibs error

Den
Registered Member
Posts
3
Karma
0

Bulding kdelibs error

Fri Jan 25, 2013 6:03 pm
Hello.
I'm building kdelibs and I have errors. I followed these instructions http://community.kde.org/Frameworks/Building to build CMake. There is a talking about CMake 2.10.1, but I found only 2.8.10 version. Where am I wrong? Although, it's not a reason of the post. cmake worked without errors with kdelibs. When I compile them, I got errors:
[ 73%] Building CXX object khtml/CMakeFiles/khtml.dir/imload/decoders/gifloader.o
/home/denis/kdesrc/kde/kdelibs/khtml/imload/decoders/gifloader.cpp: In member function 'virtual int khtmlImLoad::GIFLoader::processEOF()':
/home/denis/kdesrc/kde/kdelibs/khtml/imload/decoders/gifloader.cpp:351:59: error: too few arguments to function 'GifFileType* DGifOpen(void*, InputFunc, int*)'
In file included from /home/denis/kdesrc/kde/kdelibs/khtml/imload/decoders/gifloader.cpp:45:0:
/usr/local/include/gif_lib.h:180:14: note: declared here
/home/denis/kdesrc/kde/kdelibs/khtml/imload/decoders/gifloader.cpp:427:75: error: invalid conversion from 'GifByteType* {aka unsigned char*}' to 'char*' [-fpermissive]
/home/denis/kdesrc/kde/kdelibs/khtml/imload/decoders/gifloader.cpp:303:25: error: initializing argument 1 of 'static unsigned int khtmlImLoad::GIFLoader::decode16Bit(char*)' [-fpermissive]
make[2]: *** [khtml/CMakeFiles/khtml.dir/imload/decoders/gifloader.o] Error 1
make[1]: *** [khtml/CMakeFiles/khtml.dir/all] Error 2
make: *** [all] Error 2

So, how can build this module?
Den
Registered Member
Posts
3
Karma
0

Re: Bulding kdelibs error

Tue Jan 29, 2013 4:57 pm
I got kdelibs from git from scratch. I built Qt5 and tried to build kdelibs against it. I got this error:
[ 2%] Building CXX object tier1/karchive/src/CMakeFiles/karchive.dir/karchive.cpp.o
/home/denis/kdesrc/kde/kdelibs/tier1/karchive/src/karchive.cpp:27:23: fatal error: qsavefile.h: No such file or directory
compilation terminated.

What is QSaveFile? Where can I get it?
Den
Registered Member
Posts
3
Karma
0

Re: Bulding kdelibs error

Fri Feb 01, 2013 4:58 pm
Well, how can I help the KDE project, if nobody can help me with compile it?
User avatar bcooksley
Administrator
Posts
19746
Karma
85
OS

Re: Bulding kdelibs error

Thu Feb 07, 2013 8:48 am
Sorry about the problems you have encountered.

As KDE Frameworks is still very much a moving target, I would suggest asking on kde-frameworks-devel@kde.org regarding your build issues.
For QSaveFile, I suspect you may be using the released version of Qt, rather than the version of Qt currently required which is available in the 'dev' branch of qt5.git.


KDE Sysadmin
[img]http://forum.kde.org/content/bcooksley_sig.png[/img]

 
Reply to topic

Bookmarks



Who is online

Registered users: andreyneshta, animationista, Baidu [Spider], beluga, Bing [Bot], boudewijn, dinosath, einar, Exabot [Bot], ggael, Google [Bot], jstaniek, Kalia, Majestic-12 [Bot], markkorneev, ScionicSpectre, sparhawk, wolfi323, Yahoo [Bot]