Compilation fails on Debian GNU/Linux 10 (buster)

Having trouble installing or compiling FreeCAD? Get help here.
fcaduser
Posts: 314
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Compilation fails on Debian GNU/Linux 10 (buster)

Postby fcaduser » Tue Sep 15, 2020 11:05 am

Hello FC team.

Last FC code pulled today, here is the necessary information :

cmake output

Code: Select all

-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/mpic++
-- Check for working CXX compiler: /usr/bin/mpic++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: GNU, version: 8.3.0
-- Looking for GL/gl.h
-- Looking for GL/gl.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- prefix: /home/mainuser/softwares/freecad_2020-09-15
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.13.4
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
-- Found PythonInterp: /usr/bin/python3.7 (found version "3.7.3") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found suitable exact version "3.7.3") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   regex
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- Found Xerces-C: /usr/lib/x86_64-linux-gnu/libxerces-c.so
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
-- PyCXX found:
--   Headers:  /home/mainuser/softwares/freecad_source/src
--   Sources:  /home/mainuser/softwares/freecad_source/src/CXX
--   Version:  6.2.8
-- Found OCC: /home/mainuser/softwares/occt-88610df/include/opencascade (found version "7.4.1") 
-- -- Found OCE/OpenCASCADE version: 7.4.1
-- -- OCE/OpenCASCADE include directory: /home/mainuser/softwares/occt-88610df/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /home/mainuser/softwares/occt-88610df/lib
-- 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.

-- 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") 
-- 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 SWIG: /usr/bin/swig3.0 (found version "3.0.12") 
-- 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.9.1") 
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found OpenGLU: /usr/lib/x86_64-linux-gnu/libGLU.so
-- Checking for module 'Coin'
--   No package 'Coin' found
-- Coin3D libraries found
-- Found Spnav: /usr/lib/libspnav.so  
-- Shiboken2Config: Using default python: -python2.7.x86_64-linux-gnu
-- libshiboken built for Release
-- PYTHON_CONFIG_SUFFIX: .cpython-37m-x86_64-linux-gnu
-- libshiboken built for Release
-- ===============================================
PySide2 Python module found at /usr/lib/python3/dist-packages/PySide2.
===============================================

-- -- matplotlib-3.0.2 has been found.
-- 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/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/TypePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/BaseClassPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/BoundBoxPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/CoordinateSystemPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/PersistencePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/VectorPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/MatrixPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/RotationPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/PlacementPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/AxisPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/UnitPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Base/QuantityPy.cpp
-- Found zipios++: 
-- Found zipios++ headers.
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/DocumentPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/DocumentObjectPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/ExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/ExtensionContainerPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/DocumentObjectExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/GroupExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/LinkBaseExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/DocumentObjectGroupPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/GeoFeaturePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/GeoFeatureGroupExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/OriginGroupExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/PartPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/ComplexGeoDataPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/PropertyContainerPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/App/MaterialPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Points/App/PointsPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Mesh/App/FacetPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Mesh/App/MeshPointPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Mesh/App/MeshPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Mesh/Gui/ViewProviderMeshPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ArcPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ArcOfConicPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ArcOfCirclePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ArcOfParabolaPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/BodyBasePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ConicPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/CirclePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ArcOfEllipsePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/EllipsePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/HyperbolaPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ParabolaPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/OffsetCurvePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometryPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometryExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometryIntExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometryStringExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometryBoolExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometryDoubleExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometryCurvePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/BoundedCurvePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TrimmedCurvePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/GeometrySurfacePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/LinePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/LineSegmentPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/PointPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/BezierCurvePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/BSplineCurvePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/PlanePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ConePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/CylinderPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/SpherePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/ToroidPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/BezierSurfacePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/BSplineSurfacePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/OffsetSurfacePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/PlateSurfacePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/PartFeaturePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/AttachExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Part2DObjectPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/AttachEnginePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeFacePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeShellPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/TopoShapeWirePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/BezierCurve2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Circle2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Conic2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Ellipse2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Geometry2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Hyperbola2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Curve2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Line2dSegmentPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Line2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Part/App/Geom2d/Parabola2dPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/PartDesign/App/BodyPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/PartDesign/App/FeaturePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/PartDesign/Gui/ViewProviderPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Sketcher/App/ConstraintPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Sketcher/App/SketchPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Robot/App/Robot6AxisPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Robot/App/TrajectoryPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Robot/App/WaypointPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/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/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Import/App/StepShapePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Fem/App/FemMeshPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Fem/App/FemPostPipelinePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Spreadsheet/App/SheetPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/App/CommandPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/App/PathPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/App/ToolPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/App/TooltablePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/App/FeaturePathCompoundPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/App/AreaPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/App/FeatureAreaPy.cpp
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   python37
-- found Boost: 1_67
-- boost-incude dirs are: /usr/include
-- boost-python lib is: 
-- boost_LIBRARY_DIRS is: /usr/lib/x86_64-linux-gnu
-- Boost_LIBRARIES is: /usr/lib/x86_64-linux-gnu/libboost_python37.so
-- area module (for Path Workbench) will be installed to: lib
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Path/PathSimulator/App/PathSimPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/Measure/App/MeasurementPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawPagePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewPartPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawTemplatePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawParametricTemplatePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawSVGTemplatePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewClipPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewDimensionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewDimExtentPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawHatchPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawGeomHatchPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewCollectionPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawProjGroupPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawProjGroupItemPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawViewAnnotationPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawLeaderLinePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawRichAnnoPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/GeomFormatPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/CenterLinePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/CosmeticEdgePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/CosmeticVertexPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawTilePy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawTileWeldPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/DrawWeldSymbolPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Mod/TechDraw/App/CosmeticExtensionPy.cpp
Created file /home/mainuser/softwares/freecad_source/build_2020-09-15/doc/freecad.qch
-- Coin3D doc is not installed
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/DocumentPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/PythonWorkbenchPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/ViewProviderPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/WorkbenchPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/SelectionObjectPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/LinkViewPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/ViewProviderLinkPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/AxisOriginPy.cpp
-- /home/mainuser/softwares/freecad_source/build_2020-09-15/src/Gui/CommandPy.cpp
-- 
==============
Summary report
==============

-- Build type:          Release
-- Compiler:            /usr/bin/mpic++ (8.3.0)
-- Flags:               -Wall -Wextra -Wno-write-strings -I/usr/include/hdf5/openmpi -I/usr/include/mpi
-- Standard:            Requires C++11
-- Python:              [/usr/bin/python3.7] [.cpython-37m-x86_64-linux-gnu]
-- PCL:                 not enabled
-- pybind11:            not enabled
-- Boost:               106700
-- XercesC:             [/usr/lib/x86_64-linux-gnu/libxerces-c.so] [/usr/include]
-- ZLIB:                1.2.11
-- PyCXX:               [/home/mainuser/softwares/freecad_source/src]
-- OCC:                 7.4.1 [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBin;TKBool;TKBO;TKCDF;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEP;TKSTEPBase;TKSTEPAttr;TKHLR;TKFeat]
-- SMESH:               build internal
--  MEDFile:            [/usr/lib/x86_64-linux-gnu/libmedC.so] [/usr/include]
--  HDF5:               1.10.4
--  VTK:                7.1.1
-- NETGEN:              not enabled
-- SWIG:                3.0.12
-- Eigen3               3.3.7
-- Qt5Core:             5.11.3
-- Qt5Network:          5.11.3
-- Qt5Xml:              5.11.3
-- Qt5XmlPatterns:      5.11.3
-- Qt5Widgets:          5.11.3
-- Qt5PrintSupport:     5.11.3
-- Qt5OpenGL:           5.11.3
-- Qt5Svg:              5.11.3
-- Qt5UiTools:          5.11.3
-- Qt5Concurrent:       5.11.3
-- Qt5WebKitWidgets:    5.212.0
-- Shiboken2:           5.11.2 [/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.11.2] [/usr/include/shiboken2]
-- PySide2:             5.11.2 [/usr/include/PySide2]
-- PySide2Tools:        [/usr/bin/pyside2-uic] [/usr/bin/pyside2-rcc]
-- Freetype:            2.9.1
-- OpenGLU:             /usr/lib/x86_64-linux-gnu/libGLU.so [/usr/lib/x86_64-linux-gnu/libGLU.so][/usr/include]
-- Coin3D:              [/usr/lib/x86_64-linux-gnu/libCoin.so] [/usr/include]
-- SPNAV:               [/usr/lib/libspnav.so] [/usr/include]
-- Matplotlib:          3.0.2
-- Rift:                not enabled (BUILD_VR)
-- Doxygen:             1.8.13
--  Language:           English
--  Coin3D_DOC:         not found
=================================================
Now run 'cmake --build /home/mainuser/softwares/freecad_source/build_2020-09-15' to build FreeCAD
=================================================

-- Configuring done
-- Generating done
-- Build files have been written to: /home/mainuser/softwares/freecad_source/build_2020-09-15
make output

Code: Select all

mainuser@station1:~/softwares/freecad_source/build_2020-09-15$ make
[  0%] Built target MEFISTO2
[  1%] Built target SMDS
[  1%] Built target SMESHDS
[  1%] Built target Driver
[  1%] Built target DriverSTL
[  2%] Built target DriverDAT
[  2%] Built target DriverUNV
[  3%] Built target SMESH
[  4%] Built target StdMeshers
[  5%] Built target lazy_loader
[  7%] Built target FreeCADBase
[  7%] Generating version_check
git
/home/mainuser/softwares/freecad_source/build_2020-09-15/src/Build/Version.h.out written
[  7%] Generating Version.h
[  7%] Built target fc_version
[  9%] Built target FreeCADApp
[  9%] Built target FreeCADMainCmd
[ 22%] Built target FreeCADGui
[ 22%] Built target FreeCADMain
[ 22%] Built target FreeCADGuiPy
[ 22%] Built target FreeCADMainPy
[ 22%] Built target Points
[ 22%] Built target PointsGui
[ 23%] Built target Complete
[ 23%] Built target CompleteGui
[ 23%] Built target Test
[ 24%] Built target QtUnitGui
[ 24%] Built target ImageScripts
[ 25%] Built target Image
[ 25%] Built target ImageGui
[ 25%] Built target MeshScripts
[ 28%] Built target Mesh
[ 30%] Built target MeshGui
[ 31%] Built target PartScripts
[ 31%] Building CXX object src/Mod/Part/App/CMakeFiles/Part.dir/ImportIges.cpp.o
/home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp: In function ‘int Part::ImportIgesParts(App::Document*, const char*)’:
/home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:89:73: error: invalid new-expression of abstract class type ‘Part::ProgressIndicator’
         Handle(Message_ProgressIndicator) pi = new ProgressIndicator(100);
                                                                         ^
In file included from /home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:59:
/home/mainuser/softwares/freecad_source/src/Mod/Part/App/ProgressIndicator.h:33:18: note:   because the following virtual functions are pure within ‘Part::ProgressIndicator’:
 class PartExport ProgressIndicator : public Message_ProgressIndicator
                  ^~~~~~~~~~~~~~~~~
In file included from /home/mainuser/softwares/occt-88610df/include/opencascade/Message_ProgressRange.hxx:105,
                 from /home/mainuser/softwares/occt-88610df/include/opencascade/XSControl_Controller.hxx:34,
                 from /home/mainuser/softwares/occt-88610df/include/opencascade/IGESControl_Controller.hxx:24,
                 from /home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:30:
/home/mainuser/softwares/occt-88610df/include/opencascade/Message_ProgressIndicator.hxx:112:16: note: 	‘virtual void Message_ProgressIndicator::Show(const Message_ProgressScope&, Standard_Boolean)’
   virtual void Show (const Message_ProgressScope& theScope,
                ^~~~
/home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:90:13: error: ‘class Message_ProgressIndicator’ has no member named ‘NewScope’
         pi->NewScope(100, "Reading IGES file...");
             ^~~~~~~~
/home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:91:18: error: no matching function for call to ‘Message_ProgressIndicator::Show()’
         pi->Show();
                  ^
In file included from /home/mainuser/softwares/occt-88610df/include/opencascade/Message_ProgressRange.hxx:105,
                 from /home/mainuser/softwares/occt-88610df/include/opencascade/XSControl_Controller.hxx:34,
                 from /home/mainuser/softwares/occt-88610df/include/opencascade/IGESControl_Controller.hxx:24,
                 from /home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:30:
/home/mainuser/softwares/occt-88610df/include/opencascade/Message_ProgressIndicator.hxx:112:16: note: candidate: ‘virtual void Message_ProgressIndicator::Show(const Message_ProgressScope&, Standard_Boolean)’
   virtual void Show (const Message_ProgressScope& theScope,
                ^~~~
/home/mainuser/softwares/occt-88610df/include/opencascade/Message_ProgressIndicator.hxx:112:16: note:   candidate expects 2 arguments, 0 provided
/home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:92:36: error: ‘class Transfer_TransientProcess’ has no member named ‘SetProgress’
         aReader.WS()->MapReader()->SetProgress(pi);
                                    ^~~~~~~~~~~
/home/mainuser/softwares/freecad_source/src/Mod/Part/App/ImportIges.cpp:98:13: error: ‘class Message_ProgressIndicator’ has no member named ‘EndScope’
         pi->EndScope();
             ^~~~~~~~
make[2]: *** [src/Mod/Part/App/CMakeFiles/Part.dir/build.make:2197: src/Mod/Part/App/CMakeFiles/Part.dir/ImportIges.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1959: src/Mod/Part/App/CMakeFiles/Part.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
The last OCCT code used (issue 0031228) : http://git.dev.opencascade.org/gitweb/? ... a=shortlog

Thank you.
Last edited by fcaduser on Tue Sep 15, 2020 2:53 pm, edited 2 times in total.
wmayer
Site Admin
Posts: 16315
Joined: Thu Feb 19, 2009 10:32 am

Re: Compilation fails on Debian GNU/Linux 10 (buster)

Postby wmayer » Tue Sep 15, 2020 2:46 pm

-- Found OCC: /home/mainuser/softwares/occt-88610df/include/opencascade (found version "7.4.1")
-- -- Found OCE/OpenCASCADE version: 7.4.1
Apparently there are some API changes with OCC 7.4.1
fcaduser
Posts: 314
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: Compilation fails on Debian GNU/Linux 10 (buster)

Postby fcaduser » Tue Sep 15, 2020 2:57 pm

It seems indeed. I like to report future adjustments required by OCCT as soon as possible.
wmayer
Site Admin
Posts: 16315
Joined: Thu Feb 19, 2009 10:32 am

Re: Compilation fails on Debian GNU/Linux 10 (buster)

Postby wmayer » Tue Sep 15, 2020 3:00 pm

This is the commit of the dev version of OCC: https://git.dev.opencascade.org/gitweb/ ... 46d6339cec

It's from 3 days ago and changed a lot of things. Since this is the dev version I don't see a reason why to port FreeCAD to it because the API can change every day. So, please get the last official release (7.4.0) of OCC and build FreeCAD with that. If you cloned the OCC repo then checkout V7_4_0.
fcaduser
Posts: 314
Joined: Wed Feb 19, 2014 6:53 pm
Location: Near Paris, France

Re: Compilation fails on Debian GNU/Linux 10 (buster)

Postby fcaduser » Tue Sep 15, 2020 3:28 pm

OK, I didn't think about the API in this code could still be subject to a little wandering before final setting.

Note that I'm not hysterical about wanting the latest features, it's just that I often see bug fixes. And I like it.