These are the steps I did to compile KiCAD on Debian 8 Sid:
Download the source code:
$ git clone https://github.com/KiCad/kicad-source-mirror
Create a build directory:
$ cd kicad-source-mirror/ $ mkdir -p build/release $ cd build/release
Install the dependences:
$ sudo apt-get install libwxbase3.0-dev libwxgtk3.0-dev libgl1-mesa-dev libglew-dev libglm-dev libcurl4-openssl-dev libboost-dev libboost-thread-dev libboost-system-dev libboost-context-dev libssl-dev wx-common libpython-dev python-wxgtk3.0-dev swig3.0 //create a symbolic link to pretend be swig2.0 for cmake: $ sudo ln -s /usr/bin/swig3.0 /usr/bin/swig2.0
Execute the cmake configuration:
$ cmake -DCMAKE_BUILD_TYPE=Release -DKICAD_SCRIPTING=ON -DKICAD_SCRIPTING_MODULES=ON -DKICAD_SCRIPTING_WXPYTHON=ON ../../ $ make $ sudo checkinstall
Done! Now we have a cutting-edge KiCAD version installed on our system!
Thank you! I kept getting hung up on the dependencies.
Hi Matthew,
you need to analyze the missing dependencies. It is trick, but we got it done at end.