https://wiki.freecadweb.org/Compile_on_Linux
1. Clone sources from git
Code: Select all
sudo apt install git
git clone https://github.com/FreeCAD/FreeCAD.git freecad-source
2. Set dependices
Build tools:
Code: Select all
sudo apt install build-essential cmake cmake-curses-gui libtool lsb-release
Code: Select all
cmake is already the newest version (3.16.3-1ubuntu1).
libtool is already the newest version (2.4.6-14).
lsb-release is already the newest version (11.1.0ubuntu2).
cmake-curses-gui is already the newest version (3.16.3-1ubuntu1).
build-essential is already the newest version (12.8ubuntu1.1).
Code: Select all
sudo apt install python3 swig
Code: Select all
python3 is already the newest version (3.8.2-0ubuntu2).
swig is already the newest version (4.0.1-5build1).
Code: Select all
sudo apt install libboost-dev libboost-date-time-dev libboost-filesystem-dev libboost-graph-dev libboost-iostreams-dev libboost-program-options-dev libboost-python-dev libboost-regex-dev libboost-serialization-dev libboost-thread-dev
Code: Select all
libboost-dev is already the newest version (1.71.0.0ubuntu2).
libboost-filesystem-dev is already the newest version (1.71.0.0ubuntu2).
libboost-program-options-dev is already the newest version (1.71.0.0ubuntu2).
libboost-thread-dev is already the newest version (1.71.0.0ubuntu2).
libboost-date-time-dev is already the newest version (1.71.0.0ubuntu2).
libboost-graph-dev is already the newest version (1.71.0.0ubuntu2).
libboost-iostreams-dev is already the newest version (1.71.0.0ubuntu2).
libboost-python-dev is already the newest version (1.71.0.0ubuntu2).
libboost-regex-dev is already the newest version (1.71.0.0ubuntu2).
libboost-serialization-dev is already the newest version (1.71.0.0ubuntu2).
Code: Select all
sudo apt install libcoin-dev
Code: Select all
libcoin-dev is already the newest version (4.0.0+ds-1build1).
Code: Select all
sudo apt install libeigen3-dev libgts-bin libgts-dev libkdtree++-dev libmedc-dev libopencv-dev libproj-dev libvtk7-dev libx11-dev libxerces-c-dev libzipios++-dev
Code: Select all
libeigen3-dev is already the newest version (3.3.7-2).
libgts-bin is already the newest version (0.7.6+darcs121130-4).
libgts-dev is already the newest version (0.7.6+darcs121130-4).
libkdtree++-dev is already the newest version (0.7.1+git20101123-5build1).
libmedc-dev is already the newest version (4.0.0+repack-9build1).
libopencv-dev is already the newest version (4.2.0+dfsg-5).
libproj-dev is already the newest version (6.3.1-1).
libvtk7-dev is already the newest version (7.1.1+dfsg2-2ubuntu1).
libxerces-c-dev is already the newest version (3.2.2+debian-1build3).
libzipios++-dev is already the newest version (0.1.5.9+cvs.2007.04.28-11build1).
libx11-dev is already the newest version (2:1.6.9-2ubuntu1.2).
Code: Select all
sudo apt install qtbase5-dev qttools5-dev libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5xmlpatterns5-dev libqt5x11extras5-dev libpyside2-dev libshiboken2-dev pyside2-tools pyqt5-dev-tools python3-dev python3-matplotlib python3-pivy python3-ply python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qtsvg python3-pyside2.qtwidgets
Code: Select all
python3-dev is already the newest version (3.8.2-0ubuntu2).
libpyside2-dev is already the newest version (5.14.0-1~exp1ubuntu5).
libqt5opengl5-dev is already the newest version (5.12.8+dfsg-0ubuntu1).
libqt5svg5-dev is already the newest version (5.12.8-0ubuntu1).
libqt5webkit5-dev is already the newest version (5.212.0~alpha4-1ubuntu2).
libqt5x11extras5-dev is already the newest version (5.12.8-0ubuntu1).
libqt5xmlpatterns5-dev is already the newest version (5.12.8-0ubuntu1).
libshiboken2-dev is already the newest version (5.14.0-1~exp1ubuntu5).
pyqt5-dev-tools is already the newest version (5.14.1+dfsg-3build1).
pyside2-tools is already the newest version (5.14.0-1~exp1ubuntu5).
python3-matplotlib is already the newest version (3.1.2-1ubuntu4).
python3-pivy is already the newest version (0.6.5-1build2).
python3-pyside2.qtcore is already the newest version (5.14.0-1~exp1ubuntu5).
python3-pyside2.qtgui is already the newest version (5.14.0-1~exp1ubuntu5).
python3-pyside2.qtsvg is already the newest version (5.14.0-1~exp1ubuntu5).
python3-pyside2.qtwidgets is already the newest version (5.14.0-1~exp1ubuntu5).
qtbase5-dev is already the newest version (5.12.8+dfsg-0ubuntu1).
qttools5-dev is already the newest version (5.12.8-0ubuntu1).
python3-ply is already the newest version (3.11-3ubuntu0.1).
Code: Select all
sudo apt install python3-pyside2uic
Code: Select all
E: Unable to locate package python3-pyside2uic
Code: Select all
sudo apt install pyqt5-dev-tools
Code: Select all
pyqt5-dev-tools is already the newest version (5.14.1+dfsg-3build1).
Code: Select all
sudo apt install libocct*-dev occt-draw
Code: Select all
libocct-data-exchange-dev is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
libocct-draw-dev is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
libocct-foundation-dev is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
libocct-modeling-algorithms-dev is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
libocct-modeling-data-dev is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
libocct-ocaf-dev is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
libocct-visualization-dev is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
occt-draw is already the newest version (1:7.5.2+dfsg1-0~202107020155~ubuntu20.04.1).
Code: Select all
mkdir freecad-build
cd freecad-build
cmake ../freecad-source
Code: Select all
-- Compiler: GNU, version: 9.3.0
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.16.3
-- PyCXX found:
-- Headers: /home/workspace/freecad-source/src
-- Sources: /home/workspace/freecad-source/src/CXX
-- Version: 6.2.8
CMake Error at cMake/FindOpenCasCade.cmake:101 (file):
file STRINGS file "/usr/include/oce/Standard_Version.hxx" cannot be read.
Call Stack (most recent call first):
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)
CMake Error at cMake/FindOpenCasCade.cmake:104 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)
CMake Error at cMake/FindOpenCasCade.cmake:105 (file):
file STRINGS file "/usr/include/oce/Standard_Version.hxx" cannot be read.
Call Stack (most recent call first):
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)
CMake Error at cMake/FindOpenCasCade.cmake:108 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)
CMake Error at cMake/FindOpenCasCade.cmake:109 (file):
file STRINGS file "/usr/include/oce/Standard_Version.hxx" cannot be read.
Call Stack (most recent call first):
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)
CMake Error at cMake/FindOpenCasCade.cmake:112 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)
-- -- Found OCE/OpenCASCADE version: ..
-- -- OCE/OpenCASCADE include directory: /usr/include/oce
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib64
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so
-- The imported target "vtkParseOGLExt" references the file
"/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "pvtk" references the file
"/usr/bin/pvtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkIOMPIParallel;vtkParallelMPI;vtkhdf5;vtkFiltersParallelDIY2;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- We guess that libmed was built using hdf5-openmpi version
-- Checking for one of the modules 'hdf5-openmpi'
-- Checking for one of the modules 'ompi-cxx'
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found suitable version "1.71.0", minimum required is "1.55") found components: filesystem program_options regex system thread
-- Found SWIG: /usr/bin/swig4.0 (found version "4.0.1")
-- Found Eigen3: /usr/include/eigen3 (found suitable version "3.3.7", minimum required is "2.91.0")
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.10.1")
-- Checking for module 'Coin'
-- No package 'Coin' found
-- Coin3D libraries found
-- Could NOT find Spnav (missing: SPNAV_LIBRARY SPNAV_INCLUDE_DIR)
-- Shiboken2Config: Using default python: .cpython-38-x86_64-linux-gnu
-- Found PythonInterp: /usr/bin/python3.8 (found suitable version "3.8.10", minimum required is "3")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.8.so (found suitable version "3.8.10", minimum required is "3")
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.8'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
-- libshiboken built for RelWithDebInfo
-- PYTHON_CONFIG_SUFFIX: .cpython-38-x86_64-linux-gnu
-- libshiboken built for RelWithDebInfo
-- ===============================================
PySide2 Python module found at /usr/lib/python3/dist-packages/PySide2.
===============================================
-- Found Matplotlib: /usr/lib/python3/dist-packages/matplotlib (found version "3.1.2")
-- Platform is 64-bit, set -D_OCC64
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- /home/workspace/freecad-build/src/Base/TypePy.cpp
-- /home/workspace/freecad-build/src/Base/BaseClassPy.cpp
-- /home/workspace/freecad-build/src/Base/BoundBoxPy.cpp
-- /home/workspace/freecad-build/src/Base/CoordinateSystemPy.cpp
-- /home/workspace/freecad-build/src/Base/PersistencePy.cpp
-- /home/workspace/freecad-build/src/Base/VectorPy.cpp
-- /home/workspace/freecad-build/src/Base/MatrixPy.cpp
-- /home/workspace/freecad-build/src/Base/RotationPy.cpp
-- /home/workspace/freecad-build/src/Base/PlacementPy.cpp
-- /home/workspace/freecad-build/src/Base/AxisPy.cpp
-- /home/workspace/freecad-build/src/Base/UnitPy.cpp
-- /home/workspace/freecad-build/src/Base/QuantityPy.cpp
-- /home/workspace/freecad-build/src/App/DocumentPy.cpp
-- /home/workspace/freecad-build/src/App/DocumentObjectPy.cpp
-- /home/workspace/freecad-build/src/App/ExtensionPy.cpp
-- /home/workspace/freecad-build/src/App/ExtensionContainerPy.cpp
-- /home/workspace/freecad-build/src/App/DocumentObjectExtensionPy.cpp
-- /home/workspace/freecad-build/src/App/GroupExtensionPy.cpp
-- /home/workspace/freecad-build/src/App/LinkBaseExtensionPy.cpp
-- /home/workspace/freecad-build/src/App/DocumentObjectGroupPy.cpp
-- /home/workspace/freecad-build/src/App/GeoFeaturePy.cpp
-- /home/workspace/freecad-build/src/App/GeoFeatureGroupExtensionPy.cpp
-- /home/workspace/freecad-build/src/App/OriginGroupExtensionPy.cpp
-- /home/workspace/freecad-build/src/App/PartPy.cpp
-- /home/workspace/freecad-build/src/App/ComplexGeoDataPy.cpp
-- /home/workspace/freecad-build/src/App/PropertyContainerPy.cpp
-- /home/workspace/freecad-build/src/App/MaterialPy.cpp
-- /home/workspace/freecad-build/src/Mod/Points/App/PointsPy.cpp
-- /home/workspace/freecad-build/src/Mod/Mesh/App/FacetPy.cpp
-- /home/workspace/freecad-build/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- /home/workspace/freecad-build/src/Mod/Mesh/App/MeshPointPy.cpp
-- /home/workspace/freecad-build/src/Mod/Mesh/App/MeshPy.cpp
-- /home/workspace/freecad-build/src/Mod/Mesh/Gui/ViewProviderMeshPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ArcPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ArcOfConicPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ArcOfCirclePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ArcOfParabolaPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BodyBasePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ConicPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/CirclePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ArcOfEllipsePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/EllipsePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/HyperbolaPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ParabolaPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/OffsetCurvePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometryPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometryExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometryIntExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometryStringExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometryBoolExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometryDoubleExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometryCurvePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BoundedCurvePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TrimmedCurvePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeometrySurfacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/LinePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/LineSegmentPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/PointPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BezierCurvePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BSplineCurvePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/PlanePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ConePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/CylinderPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/SpherePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ToroidPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BezierSurfacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BSplineSurfacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/OffsetSurfacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/PlateSurfacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/PartFeaturePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/AttachExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Part2DObjectPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/AttachEnginePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeFacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeShellPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/TopoShapeWirePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/BRepFeat/MakePrismPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/BezierCurve2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Circle2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Conic2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Ellipse2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Geometry2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Hyperbola2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Curve2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Line2dSegmentPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Line2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/Geom2d/Parabola2dPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeomPlate/BuildPlateSurfacePy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeomPlate/CurveConstraintPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/GeomPlate/PointConstraintPy.cpp
-- /home/workspace/freecad-build/src/Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.cpp
-- /home/workspace/freecad-build/src/Mod/PartDesign/App/BodyPy.cpp
-- /home/workspace/freecad-build/src/Mod/PartDesign/App/FeaturePy.cpp
-- /home/workspace/freecad-build/src/Mod/PartDesign/Gui/ViewProviderPy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/GeometryFacadePy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/ExternalGeometryFacadePy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/ConstraintPy.cpp
-- /home/workspace/freecad-build/src/Mod/Sketcher/App/SketchPy.cpp
-- /home/workspace/freecad-build/src/Mod/Robot/App/Robot6AxisPy.cpp
-- /home/workspace/freecad-build/src/Mod/Robot/App/TrajectoryPy.cpp
-- /home/workspace/freecad-build/src/Mod/Robot/App/WaypointPy.cpp
-- /home/workspace/freecad-build/src/Mod/Robot/App/RobotObjectPy.cpp
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- /home/workspace/freecad-build/src/Mod/Import/App/StepShapePy.cpp
-- /home/workspace/freecad-build/src/Mod/Fem/App/FemMeshPy.cpp
-- /home/workspace/freecad-build/src/Mod/Fem/App/FemPostPipelinePy.cpp
-- /home/workspace/freecad-build/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
-- /home/workspace/freecad-build/src/Mod/Spreadsheet/App/SheetPy.cpp
-- /home/workspace/freecad-build/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
-- /home/workspace/freecad-build/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
-- /home/workspace/freecad-build/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
-- /home/workspace/freecad-build/src/Mod/Spreadsheet/Gui/SpreadsheetViewPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/CommandPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/PathPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/ToolPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/TooltablePy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/FeaturePathCompoundPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/AreaPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/FeatureAreaPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/VoronoiPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/VoronoiCellPy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/VoronoiEdgePy.cpp
-- /home/workspace/freecad-build/src/Mod/Path/App/VoronoiVertexPy.cpp
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0") found components: python38
-- found Boost: 1_71
-- boost-incude dirs are: /usr/include
-- boost-python lib is:
-- boost_LIBRARY_DIRS is: /usr/lib/x86_64-linux-gnu
-- Boost_LIBRARIES is: Boost::python
-- area module (for Path Workbench) will be installed to: lib
-- /home/workspace/freecad-build/src/Mod/Path/PathSimulator/App/PathSimPy.cpp
-- /home/workspace/freecad-build/src/Mod/Measure/App/MeasurementPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawPagePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewPartPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawTemplatePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawParametricTemplatePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawSVGTemplatePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewClipPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewDimensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewDimExtentPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawHatchPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawGeomHatchPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewCollectionPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawProjGroupPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawProjGroupItemPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawViewAnnotationPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawLeaderLinePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawRichAnnoPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/GeomFormatPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/CenterLinePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/CosmeticEdgePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/CosmeticVertexPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawTilePy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawTileWeldPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/DrawWeldSymbolPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/App/CosmeticExtensionPy.cpp
-- /home/workspace/freecad-build/src/Mod/TechDraw/Gui/MDIViewPagePy.cpp
Created file /home/workspace/freecad-build/share/doc/FreeCAD/freecad.qch
-- Coin3D doc is not installed
-- /home/workspace/freecad-build/src/Gui/DocumentPy.cpp
-- /home/workspace/freecad-build/src/Gui/PythonWorkbenchPy.cpp
-- /home/workspace/freecad-build/src/Gui/ViewProviderPy.cpp
-- /home/workspace/freecad-build/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /home/workspace/freecad-build/src/Gui/ViewProviderExtensionPy.cpp
-- /home/workspace/freecad-build/src/Gui/WorkbenchPy.cpp
-- /home/workspace/freecad-build/src/Gui/SelectionObjectPy.cpp
-- /home/workspace/freecad-build/src/Gui/LinkViewPy.cpp
-- /home/workspace/freecad-build/src/Gui/ViewProviderLinkPy.cpp
-- /home/workspace/freecad-build/src/Gui/AxisOriginPy.cpp
-- /home/workspace/freecad-build/src/Gui/CommandPy.cpp
--
==============
Summary report
==============
-- Build type:
-- Compiler: /usr/bin/c++ (9.3.0)
-- Flags: -Wall -Wextra -Wno-write-strings
-- Standard: Requires C++17
-- Python: 3.8.10 [/usr/bin/python3.8] [.cpython-38-x86_64-linux-gnu]
-- PCL: not enabled
-- pybind11: not enabled
-- Boost: 1.71.0 (1.71.0)
-- XercesC: 3.2.2 [/usr/lib/x86_64-linux-gnu/libxerces-c.so] [/usr/include]
-- ZLIB: 1.2.11
-- PyCXX: 6.2.8 [/home/workspace/freecad-source/src]
-- OCC: .. [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEPBase;TKSTEPAttr;TKSTEP209;TKSTEP;TKHLR;TKFeat] [/usr/lib64] [/usr/include/oce]
-- SMESH: build internal
-- MEDFile: 4.0.0 [/usr/lib/x86_64-linux-gnu/libmedC.so] [/usr/include]
-- HDF5: 1.10.4
-- VTK: 7.1.1
-- NETGEN: not enabled
-- SWIG: 4.0.1
-- Eigen3 3.3.7
-- Qt5Core: 5.12.8
-- Qt5Network: 5.12.8
-- Qt5Xml: 5.12.8
-- Qt5XmlPatterns: 5.12.8
-- Qt5Widgets: 5.12.8
-- Qt5PrintSupport: 5.12.8
-- Qt5OpenGL: 5.12.8
-- Qt5Svg: 5.12.8
-- Qt5UiTools: 5.12.8
-- Qt5Concurrent: 5.12.8
-- Qt5WebKitWidgets: 5.212.0
-- Shiboken2: 5.14.0 [/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.14.0] [/usr/include/shiboken2;/usr/include/python3.8]
-- PySide2: 5.14.0 [/usr/lib/../include/PySide2]
-- PySide2Tools: [/usr/bin/pyuic5] [/usr/bin/pyrcc5]
-- Freetype: 2.10.1
-- OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- OpenGLU: [/usr/lib/x86_64-linux-gnu/libGLU.so][/usr/include]
-- Coin3D: 4.0.0 [/usr/lib/x86_64-linux-gnu/libCoin.so] [/usr/include]
-- Pivy: 0.6.5
-- SPNAV: [SPNAV_LIBRARY-NOTFOUND] [SPNAV_INCLUDE_DIR-NOTFOUND]
-- Matplotlib: 3.1.2
-- Rift: not enabled (BUILD_VR)
-- Doxygen: 1.8.17
-- Language: English
-- Coin3D_DOC: not found
=================================================
Now run 'cmake --build /home/workspace/freecad-build' to build FreeCAD
=================================================
-- Configuring incomplete, errors occurred!
See also "/home/workspace/freecad-build/CMakeFiles/CMakeOutput.log".
See also "/home/workspace/freecad-build/CMakeFiles/CMakeError.log".
Code: Select all
workspace@workspace-desktop:~/freecad-build$ make -j$(nproc --ignore=2)
make: *** No targets specified and no makefile found. Stop.
Whats wrong?
CMake Error at cMake/FindOpenCasCade.cmake:101 (file):
file STRINGS file "/usr/include/oce/Standard_Version.hxx" cannot be read.
Call Stack (most recent call first):
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)