Getting Started/Build/Windows/additional libraries

< Getting Started‎ | Build‎ | Windows
Revision as of 18:26, 31 August 2007 by SaroEngels (Talk | contribs) (New page: 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...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

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

Content is available under Creative Commons License SA 4.0 unless otherwise noted.