Kicad

Building kicad with push-and-shove autorouting under debian/ubuntu/whatever


 * install wxwidgets 2.9.4 something like this: from: https://gist.github.com/carlohamalainen/4138775

sudo apt-get install bzrtools apt-file screen git build-essential gcc g++ tcl8.5-dev tk8.5 tk8.5-dev tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev tcl8.5 libreadline6{,-dev} zlib1g-dev liblz-dev libx11-dev libbz2-dev sqlite3 libsqlite3-dev libgdbm-dev libgtk2.0-dev mesa-common-dev libglu1-mesa-dev python-setuptools python-dev libssl-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libgconf2-dev git clone https://github.com/wxWidgets/wxWidgets.git git checkout WX_2_9_4 cd wxWidgets-2.9.4 export WXDIR=`pwd` rm -fr bld mkdir bld cd bld ../configure --prefix=/opt/sw/64bit/debian/wxpython/2.9.4 \ --with-gtk \ --with-gnomeprint \ --with-opengl \ --enable-debug \ --enable-debug_gdb \ --enable-geometry \ --enable-graphics_ctx \ --enable-sound --with-sdl \ --enable-mediactrl \ --enable-display \ --enable-unicode make sudo make install bzr branch lp:~cern-kicad/kicad/kicad-pns-tom cd kicad-pns-tom mkdir build cd build cmake -DKICAD_TESTING_VERSION=ON ..
 * Get the new stuff with bzr
 * Make a build directory and run cmake
 * Add dependancy required to build/cvpcb/CMakeFiles/cvpcb.dir/link.txt

It should look like: /usr/bin/c++   -fPIC -pthread ../common/CMakeFiles/common.dir/tool/tool_dispatcher.cpp.o   CMakeFiles/cvpcb.dir/__/common/base_units.cpp.o ......

You'll need to add

../common/CMakeFiles/common.dir/tool/tool_dispatcher.cpp.o

after -pthread


 * Make it!

In kicad-pns-tom/build type:

make

and wait!

If it doesn't find the right wxwidgets, edit build/CMakeCache.txt to point at it. For mine:

//Path to a program. wxWidgets_CONFIG_EXECUTABLE:FILEPATH=/opt/sw/64bit/debian/wxpython/2.9.4/bin/wx-config

//Path to a program. wxWidgets_wxrc_EXECUTABLE:FILEPATH=/opt/sw/64bit/debian/wxpython/2.9.4/bin/wxrc

I changed the paths from /usr/bin/.... to /opt/sw/64bit/debian/wxpython/2.9.4/bin/... after using locate wx-config to find the new version build in step 1