Jump to content

Getting Started/Build/Windows/additional libraries: Difference between revisions

From KDE TechBase
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...
 
Alexmerry (talk | contribs)
Replaced content with "{{Moved To Community|Windows/Imported From TechBase/Build/{{#titleparts:{{PAGENAME}}||4}}}}"
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
there are some libraries which are not included but which are still usefull for some kde sub projects.
{{Moved To Community|Windows/Imported From TechBase/Build/{{#titleparts:{{PAGENAME}}||4}}}}
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:
 
<pre>
#!/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
</pre>

Latest revision as of 14:09, 11 March 2016

This page is now on the community wiki.