I’m wondering what’s needed to build kicad on osx? I’m trying to use a fresh clone of https://github.com/KiCad/kicad-mac-builder
The full build output is in http://www.rockgarden.net/download/kicad/screenlog.0.gz
It dies with what seems like a missing XCode 10.13 SDK OpenGL framework. (I’ve installed the 10.13 SDKs on my 10.14 system via XCode.)
I installed/upgraded the list of brew parts listed in the builder repo’s top level readme.md.
Scanning dependencies of target s3d_plugin_idf
[ 86%] Building CXX object plugins/3d/idf/CMakeFiles/s3d_plugin_idf.dir/s3d_plugin_idf.cpp.o
[ 86%] Building CXX object plugins/3d/idf/CMakeFiles/s3d_plugin_idf.dir///__/utils/idftools/vrml_layer.cpp.o
[ 86%] Linking CXX shared module …/…/…/kicad/kicad.app/Contents/PlugIns/3d/libs3d_plugin_idf.so
[ 86%] Built target s3d_plugin_idf
[ 88%] Built target s3d_plugin_vrml
make[5]: *** No rule to make target /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/OpenGL.framework', needed by
kicad/kicad.app/Contents/PlugIns/3d/libs3d_plugin_oce.so’. Stop.
make[4]: *** [plugins/3d/oce/CMakeFiles/s3d_plugin_oce.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [kicad/src/kicad-stamp/kicad-build] Error 2
make[1]: *** [CMakeFiles/kicad.dir/all] Error 2
make: *** [all] Error 2
Error while running make after rebuilding with a single job. Please report this issue if you cannot fix it after reading the README.
build.py argument summary:
build_type: Debug
docs_tarball_url: http://docs.kicad.org/kicad-doc-HEAD.tar.gz
extra_version: None
footprints_ref: origin/master
jobs: 1
kicad_ref: origin/master
macos_min_version: 10.14
packages3d_ref: origin/master
release: False
release_name: None
retry_failed_build: True
symbols_ref: origin/master
target: []
templates_ref: origin/master
translations_ref: origin/master
Traceback (most recent call last):
File “./build.py”, line 223, in
main()
File “./build.py”, line 219, in main
build(parsed_args)
File “./build.py”, line 191, in build
subprocess.check_call(make_command, env=dict(os.environ, PATH=new_path))
File “/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py”, line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘make’, ‘-j1’]’ returned non-zero exit status 2