A PCRE internal error occured. This might be caused by a faulty plugin
====== Differences ====== This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
applications:graphics:freecad [2016/07/05 03:17] admin [FreeCAD .deb Compilation] |
applications:graphics:freecad [2016/07/05 03:57] (current) admin [Make an Out-of-Source Build] |
||
|---|---|---|---|
| Line 68: | Line 68: | ||
| <Code:bash |Install compile environment and third party libraries> | <Code:bash |Install compile environment and third party libraries> | ||
| - | > sudo apt-get install \\ | + | > apt-get install \\ |
| build-essential \\ | build-essential \\ | ||
| cmake \\ | cmake \\ | ||
| Line 90: | Line 90: | ||
| python-pyside \\ | python-pyside \\ | ||
| pyside-tools \\ | pyside-tools \\ | ||
| - | liboce*-dev \\ | + | liboce-foundation-dev \\ |
| + | liboce-modeling-dev \\ | ||
| + | liboce-ocaf-dev \\ | ||
| + | liboce-visualization-dev \\ | ||
| + | liboce-ocaf-lite-dev \\ | ||
| oce-draw \\ | oce-draw \\ | ||
| libeigen3-dev \\ | libeigen3-dev \\ | ||
| Line 101: | Line 105: | ||
| libfreetype6 \\ | libfreetype6 \\ | ||
| libfreetype6-dev \\ | libfreetype6-dev \\ | ||
| - | | + | libsimage-dev \\ |
| + | python-pivy \\ | ||
| + | python-qt4 \\ | ||
| + | libspnav-dev \\ | ||
| + | libmedc-dev \\ | ||
| + | libvtk6-dev \\ | ||
| + | libproj-dev | ||
| </Code> | </Code> | ||
| + | The following packages are required if we want to create a Debian package: | ||
| + | <Code:bash |Additional packages> | ||
| + | > apt-get install dh-make devscripts lintian | ||
| + | </Code> | ||
| + | ==== Make an Out-of-Source Build ==== | ||
| + | <Code:bash |Build FreeCAD out-of-source> | ||
| + | > mkdir freecad-build | ||
| + | > cd freecad-build | ||
| + | > cmake ../free-cad-code -DCMAKE_BUILD_TYPE=Release | ||
| + | > make | ||
| + | </Code> | ||
| + | |||
| + | The FreeCAD executable now resides in the''bin'' folder, we can launch it with: | ||
| + | <Code:bash |Launch FreeCAD> | ||
| + | > ./bin/FreeCAD | ||
| + | </Code> | ||
