Windows/Build/additional libraries

From KDE Community Wiki
< Windows‎ | Build

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]