kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #16636
Re: Boost 1.57
I thought I would have a go with your tap
The first time I did the brew install kicad --HEAD, it did take awhile
(I think it was the downloading of kicad - no progress messages though).
After the download, there was a file copy stage (seemed to be..), but
all of the file movements were conflicted with something else on my disk
- need to work that out.
On the second time - doing brew reinstall kicad --HEAD, your patch file
(the boost.patch) is not finding the file it needs to patch and is failing.
Any guidance on what I might look for?
Bob G
On 01/30/2015 01:50 AM, Collin Anderson wrote:
On newer versions of OS X (maybe only Yosemite), building fails (and
running a binary build on another, earlier system will crash on
yosemite) if boost 1.54 is used, if I recall, it was something about
this combo that made wxPython displeased and stop working.
So I have been building using -DKICAD_SKIP_BOOST and linking to my own
system install of boost 1.57. This is also the strategy I use in the
homebrew tap for KiCad.
Thanks to the helpful replies from bleeding-edge enthusiasts on the
http://kicad.info forums, I discovered that this was a fatal mistake,
as the 'mysterious' (to me) minkowski patch was vital so boost's
handling of pointers doesn't make the push and shove router crash as
soon as you have to go around a corner.
The rest of the patches have been merged with boost 1.57, so I
modified the download_boost cmake module to use boost 1.57 and apply
only the minkowski patch to it. After that, I've been push and
shoving my heart out without a single issue! :D That router is
amazing, by the way. I had to stop and route half a board I've been
working on before I got around to making a proper branch.
I also cleaned up the mac sections a little and removed a bunch of PPC
binary checks that are no longer needed (The last version of OS X to
support PPC architectures was 10.5).
This change is only if the APPLE flag is set, it is isolated from the
other platforms. Oh, and it's agnostic to and works for an all libc++
or all libstdc++ build of wxpython and boost (10.7-10.8 use libstdc++,
while 10.9+ uses libc++ I believe). I've made a branch
(~metacollin/kicad/boosting_boost) and merge request, but if anyone
has issue with this, let me know and I'll do what is needed to address
it. Thanks!
--
"Violence is the last refuge of the incompetent." - Isaac Asimov
_______________________________________________
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