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

Advertisements

One thought on “Compiling FreeCAD from source on Arch Linux

  1. Pingback: Compiling FreeCAD on Ubuntu 16.04 | Mandeep Singh

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s