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:16] admin [Install checkinstall] |
applications:graphics:freecad [2016/07/05 03:57] (current) admin [Make an Out-of-Source Build] |
||
---|---|---|---|
Line 40: | Line 40: | ||
===== FreeCAD .deb Compilation ===== | ===== FreeCAD .deb Compilation ===== | ||
+ | |||
+ | We will refer to the [[http://www.freecadweb.org/wiki/?title=CompileOnUnix|FreeCAD Website instructions]] to install on Debian Linux. | ||
Let's now ssh into the VM to start our operations: | Let's now ssh into the VM to start our operations: | ||
Line 66: | 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 88: | 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 99: | 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> |