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
18556
Karma
83
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.


System Settings and Device Actions KCM maintainer
Image

 
Reply to topic

Bookmarks



Who is online

Registered users: AGB, airdrik, alake, Alexa [Bot], anditosan, Artmessiah, asevens, Baidu [Spider], belnac, Bing [Bot], colomar, Exabot [Bot], garthecho, Google [Bot], google01103, GreatEmerald, kainz.a, koriun, La Ninje, MiceAreVeryNice, mmistretta, nezumi, parzt, Philippe44, scummos, SeaJey, SurfFalke, Tuukka, wolfi323, Yahoo [Bot]