From 9dcd7924ab16be14bef788912cc7b805187883db Mon Sep 17 00:00:00 2001 From: CHARRAS Date: Tue, 29 Jan 2008 22:36:00 +0000 Subject: [PATCH] ugly fix to build minizip under windows: how-to-build-kicad.txt rectification. --- how-to-build-kicad.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/how-to-build-kicad.txt b/how-to-build-kicad.txt index 21024e18ec..c3313c7d15 100644 --- a/how-to-build-kicad.txt +++ b/how-to-build-kicad.txt @@ -88,6 +88,28 @@ alternative is to build static libaries from source. Verify that wx-config is in your path by running it from a command prompt. Linux users then go to next step. +----------------------------------------------------------------------------- + +5) Install zlib [and build it if on windows]. +If on windows, download http://www.zlib.net/zlib123.zip or a newer version. +Start msys so you have a bash shell. Decide where your zlib build directory +will be. It must be where you can access it from within the msys environment, +such as home/. Edit your msys/1.0/etc/fstab file if needed to provide +access to this build directory from msys. Unzip the zlib123.zip file into this +build directory. Change directories into there, and then: + ./configure (CHANGES NEEDED!!!) + make + make install + + +If linux, use your package manager to install zlib pre-built binaries. + +Note (JP Charras): + Under Linux, zlib is usually installed. + if not found by wxWidget installation, wxWidgets creates an alternate zlib + Under Windows, zlib is not installed, so my cmake buld try to use the wxWidgets zlib build. + So, under windows kicad build should work without zlib install. + ----------------------------------------------------------------------------- 6) Install CMAKE.