Windows/Build/additional libraries: Difference between revisions
m (moved Getting Started/Build/KDE4/Windows/additional libraries to Windows/Imported From TechBase/Build/additional libraries: Reorg, we only have KDE4 now so it's redundant) |
m (3 revisions imported) |
(No difference)
|
Revision as of 13:35, 11 March 2016
there are some libraries which are not included but which are still usefull for some kde sub projects. Since there are no packages yet, you can find the build instructions for some of them below.
pkg-config 0.20:
seems to be building out of the box, but in fact 0.21 and 0.22 do not. you need glib and glib-devel to make it compiling though. poppler 0.6: be sure that you have installed fontconfig and freetype2 2.3.5 which can be obtained somewhere in the net.
get pkg-config, at least the above version.
set up the following vars in a msys shellscript:
#!/bin/sh mykdedir=/d/kde export mykdedir PKG_CONFIG_PATH=/lib/pkgconfig; export PKG_CONFIG_PATH; FONTCONFIG_CFLAGS=-I/include; FONTCONFIG_LIBS=-L/lib\ -lfontconfig FREETYPE_CFLAGS=-I/include/freetype2\ -I/include FREETYPE_LIBS=-L/lib\ -L/bin\ -lfreetype\ -lfreetype6 POPPLER_QT4_CFLAGS="-I$mykdedir/include" POPPLER_QT4_LIBS="-L$mykdedir/lib\ -L$mykdedir/bin\ -lQt3Support4\ -lQtAssistantClient4\ -lQtCore4\ -lQtDBus4\ -lQtGui4\ -lQtNetwork4\ -lQtOpenGL4\ -lQtScript4\ -lQtSql4\ -lQtSvg4\ -lQtTest4\ -lQtXml4" CXXFLAGS="-I/include -I/include/freetype2" LIBS="$FREETYPE_LIBS" export FONTCONFIG_CFLAGS export FONTCONFIG_LIBS export POPPLER_QT4_CFLAGS export POPPLER_QT4_LIBS export CXXFLAGS; export LIBS; ./configure --disable-abiword-output --disable-cairo-output --disable-poppler-glib --disable-gtk-test --prefix="$mykdedir" mingw32-make mingw32-make install
if you need some packages, try this site: [1]