DE:Build System

From KiCad

Jump to: navigation, search
Image:Localized.png Česky Deutsch English Español Français Polski Português Русский 中文

English KiCad homepage
Mailing lists
Resources
Links

Contents

Einleitung

Es gibt mehrere Möglichkeiten KiCad zu kompilieren:

  • CMake - Die Standardvariante.
  • Autotools - überholt (wird nicht mehr weiterentwickelt).
  • SCons - überholt (wird nicht mehr weiterentwickelt).

Debian (und Derivate)

Folgende Schritte sind nötig, um ein Debian Paket von KiCad aus Subversion zu erstellen:

  • Checkout kicad, kicad-doc & kicad-library in ein Verzeichnis.
svn checkout https://kicad.svn.sourceforge.net/svnroot/kicad/trunk/kicad kicad
  • Checkout Debian Paketquellen in das gleiche Verzeichnis:
cd kicad
svn checkout http://svn.flexserv.de/kicad/trunk/debian debian
  • Bearbeite debian/changelog um dem Paket eine neue Versionsnummer zu geben.
  • Installiere alle Abhängigkeiten, die in debian/control aufgelistet sind. Führe anschließend folgenden Befehl aus:
fakeroot debian/rules binary
  • Wenn du pbuilder/pdebuild (empfolen) benutzt, weißt du sicher schon, was zu tun ist :)
  • Bei Problemen wende dich an rab. Er kümmert sich um die Debian-Build-Quellen und erstellt die offiziellen Debian Pakete.


Slackware GNU Linux

Under Slackware, all tools are availables to compile kicad excepted wxWidgets !

wxWidgets library

Download wxGTK wxWidgets library at wxwidgets, and build it manually or use an SlackBuild

$tar zxvf wxWidgets-2.8.10.tar.gz
$cd wxWidgets-2.8.10

It's important to configure with that options follow, and make:

$./configure --prefix=/usr --sysconfdir=/etc --enable-shared --enable-unicode --with-opengl --infodir=/usr/info --mandir=/usr/man
$make -j2

Process of kicad compilation

Download the kicad by svn and build it manually or use an Slackbuild :

$svn checkout https://kicad.svn.sourceforge.net/svnroot/kicad/trunk/kicad
$cd kicad
$mkdir -p build/release
$cd build/release

configure with Cmake and make:

$cmake -DCMAKE_BUILD_TYPE=Release ../../
$make

you can make program by program (ex: make pcbnew).


--Cfdev 15:10, 10 June 2009 (UTC)


Windows

Here is a description how to compile KiCad with Visual Studio

Here is an additional description how to compile KiCad by Visual Studio 2005 Express Edition.

That second description was tested with version 2008-08-04 and it is based on CMake.