Compiling FreeCAD from source on Arch Linux

Getting the source:

git clone https://github.com/FreeCAD/FreeCAD free-cad-code

Getting the dependencies:

You will need the following libraries from the official repositories:

Just use:

sudo pacman -Syu  boost-libs curl hicolor-icon-theme libspnav opencascade python2-pivy python2-matplotlib python2-pyside python2-shiboken qtwebkit shared-mime-info xerces-c boost cmake coin desktop-file-utils eigen gcc-fortran swig xerces-c

And one with yaourt:

yaourt -S python2-pyside-tools

Compiling:

cd free-cad-code (the folder where you cloned the freecad source)

For a Release build:

$ cmake -DFREECAD_USE_EXTERNAL_PIVY=1 -DCMAKE_BUILD_TYPE=Release .
$ make -j4
Execution:
Execute using the following command:
./bin/FreeCAD

 

Source: http://www.freecadweb.org/wiki/?title=CompileOnUnix

1 thought on “Compiling FreeCAD from source on Arch Linux

Leave a comment

search previous next tag category expand menu location phone mail time cart zoom edit close