Skip to content

peterlama/homebrew-freecad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebrew-freecad

This is a collection of recipes that make it easier to build FreeCAD and dependencies on OSX.

Installation

These steps have been tested on Mavericks 10.9.2 through 10.10.3 with Xcode 6.3.2.

Common Prerequisites

  • An up-to-date installation of homebrew
  • The homebrew/science tap
  • The patched coin recipe from this tap (see install instructions for release version of FreeCAD vs HEAD version)

It's easy to install the homebrew/science tap

brew tap homebrew/science

Tap this repository (you can safely ignore warnings about coin recipe conflicts)

brew tap sanelson/freecad

Install the coin dependency using the following command

brew install --without-framework --without-soqt sanelson/freecad/coin

Building Current Release Version of FreeCAD

Once the prerequisites are in place you can build FreeCAD. The current STABLE version is v0.15. To build this version, run the following command

brew install sanelson/freecad/freecad

Building HEAD Version of FreeCAD

Then install FreeCAD

brew install --HEAD sanelson/freecad/freecad

Caveats

  • The "Robot" Mod is currently disabled since it seems to have some build issues with Clang and Libc++
  • You will need to run the very latest python 2.7.8+ from homebrew, earlier versions had a bug which causes compilation to fail. See ToDo below for details

ToDo

Here are a few features that I would like to add to the recipe. I'm open to other suggestions, please let me know.

  • Add support for spnav
  • Add custom branching build support, for example the FreeCAD Assembly branch
  • Patch orocos library so the "Robot" module will build cleanly on OSX.
  • Finish setting up OCE / OpenCascade build options and test.

About

Homebrew recipes for FreeCAD

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%