Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx build notes #1

Open
hyarion opened this issue Mar 16, 2016 · 0 comments
Open

osx build notes #1

hyarion opened this issue Mar 16, 2016 · 0 comments

Comments

@hyarion
Copy link

hyarion commented Mar 16, 2016

Here are some notes on how I got it up and running on osx (10.10.4) using homebrew to install the required dependencies.

First we need to install oce but due to recent changes to clang we need to build a debug version of oce (more on why here: http://tracker.dev.opencascade.org/view.php?id=26042 )

To do this, edit homebrew-science' oce formula so it looks like this: http://pastebin.com/S3vjFNVv (based on https://github.com/Homebrew/homebrew-science/issues/2764 )
brew edit homebrew/science/oce

Install modified formula
brew install oce --build-from-source
...go do something else while waiting...

Export the path so cmake can find oce when building the kicad_oce_3D plugin
export CMAKE_PREFIX_PATH=/usr/local/opt/oce

Install the rest of the requirements:
brew install wxwidgets glm

Build kicad_oce_3D
mkdir build && cd build && cmake .. && make

Download and install 3d_initial_merge branch of kicad.
This one is old but works good enough to test if kicad_oce_3D works: http://downloads.kicad-pcb.org/osx/testing/3d_initial_merge/

Copy plugin
cp kicad/kicad.app/3d/libs3d_plugin_oce.so /Application/Kicad/KiCad.app/Contents/PlugIns/3d/
and libraries to kicad
cp kicad/kicad.app/Contents/Frameworks/libkicad_3dsg* /Applications/Kicad/kicad.app/Contents/Frameworks/

DONE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant