David I've managed to self compile FC, what would be the next step for testing? Could you point me to a link describing the process?
Thanks Steve.
David I've managed to self compile FC, what would be the next step for testing? Could you point me to a link describing the process?
Excellent.
Code: Select all
cd "folder where you want to have the FreeCAD source"
git clone git@github.com:FreeCAD/FreeCAD.git
Code: Select all
cd FreeCAD
git fetch origin pull/4504/head:pd-fix-pattern
git checkout pd-fix-pattern
Code: Select all
bance@bance-OptiPlex-755:~/freecad-source$ git fetch origin pull/4504/head:pd-fix-pattern
remote: Enumerating objects: 34, done.
remote: Counting objects: 100% (34/34), done.
remote: Total 39 (delta 34), reused 34 (delta 34), pack-reused 5
Unpacking objects: 100% (39/39), 5.22 KiB | 34.00 KiB/s, done.
From https://github.com/FreeCAD/FreeCAD
* [new ref] refs/pull/4504/head -> pd-fix-pattern
Code: Select all
bance@bance-OptiPlex-755:~/freecad-source$ git checkout pd-fix-pattern
Switched to branch 'pd-fix-pattern'
Code: Select all
bance@bance-OptiPlex-755:~/freecad-build$ cmake .
Code: Select all
bance@bance-OptiPlex-755:~/freecad-build$ make -j$(nproc --ignore=2) *****SNIP*****
[100%] Built target Example_data
It seems right until the last step. Now, I am no CMAKE expert. I follow the trial and error approach there. But I suggest that you type something like:
Code: Select all
bance@bance-OptiPlex-755:~/freecad-build$ cmake ../freecad-source
Code: Select all
bance@bance-OptiPlex-755:~/freecad-build$ cmake ../freecad-source -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3