Hi, Following my earlier post about mac builds I have been trying to build one locally.
I’m using the mac build script from email@example.com:xzcvczx/kicad-app.git, as suggested, on Mac OSX on El Capitan. XCode + cli tools are installed and patched.
The good news: wxWindows compiles ok, and I think wxPython too, as I get lots of python compiles happening. However, I do get:
ImportError: No module named wxversion
towards the end of the build. I suspect this is a result of other issues. The build system is creating under ‘build’ the directory trees
temp.macosx-10.11-x86_64-2.7, but the built process then sets the python module path to:
(which doesn’t exist) prior to calling wxversion: I don’t know of anything that has started to create a kicad.app tree yet.
I’ve attached the latter part of the build log at the end; the other issue is that
OpenMP is not discovered by the build scripts. I did try using a homebrew-build gcc-6, and OpenMP was found fine, but that then failed on some of the apple-specific code in the headers, leaving NSApp undefined. My clang calls itself
$ cc --version Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Thread model: posix
A StackOverflow poster suggested that installing homebrew-llvm might work, but I’m a but reluctant at present as I’ve already got a lot of cruft on my system…
Really hoping for some assistance…
build.log (554.6 KB)