← Back to team overview

kicad-developers team mailing list archive

Re: Build changes.

 

 I was able to build kicad from this new revision, after some troubles with my Ubuntu.
But I had to modify "kicad-install.sh" so it could keep going forward to a completion or stop when an error happened.  Otherwise, the build script just checkout source, installed a bunch of libray files and doc files _without_ compiling and installing any executables.

Here is my modification:diff ~/Downloads/kicad-install.sh ~/Downloads/kicad-install.sh-wxgtk3.0
105c105
<             libwxgtk2.8-dev \
---
>             libwxgtk3.0-dev \
258c258
<         cmake $OPTS ../
---
>         cmake $OPTS ../ || (echo "cmake failed."; exit 1)
265c265
<     make -j4
---
>     make -j4 || (echo "kicad compiling failed."; exit 1)
--Joe


     On Friday, September 26, 2014 4:09 PM, Wayne Stambaugh <stambaughw@xxxxxxxxxxx> wrote:
   

 I just committed revision r5149 which fails when wxWidgets is less than
version 3.0.0.  I know that the wx3 is not without it's issues but it is
becoming too much of a burden to try to keep the code compatible with
wx2 along the known issues.

I've also added an option when building on OSX that disables downloading
and building all of the dependencies from source by default.  You must
now run CMake with -DUSE_OSX_DEPS_BUILDER=ON if you want to use that
build method.  The are further OSX bundle fixes on the way as well so
please be patient as we transition away from that build philosophy.  I
am working with Bernhard (thanks Bernhard) on getting this issue
resolved so OSX looks for the dependencies on the system and creates OSX
bundles without external scripts.  I have it on good authority that
KiCad will build and run just fine using the installed dependencies.

I am also working on getting stock Boost 1.56 to build KiCad.  It does
appear to work on Linux.  I'm still having some issues on Windows so
hopefully that will be resolved before too long and thus eliminate the
last dependency we will have to build from source.

Wayne

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to    : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help  : https://help.launchpad.net/ListHelp


   

Follow ups

References