Hey, I’m stuck compiling FC on macOS Big Sur. The build breaks with an error not finding certain XercesC libraries. But these libraries are installed and the path is even found by the CMake preparation process. I would appreciate if anyone with a similar macOS setup or a Catalina version could verify this error or better yet have a solution.
System Info:
macOS Big Sur version 11.5.1
Homebrew latest version:
Homebrew 3.2.5-15-g13d3eab
Homebrew/homebrew-core (git revision 1de3a2b56c; last commit 2021-07-28)
Homebrew/homebrew-cask (git revision fed1b14854; last commit 2021-07-28)
FreeCAD Version commit master/#d15ae5d804 from 28.07.2021, 23:37
Complete steps for the build prozess:
Code: Select all
# install freecad dependencies via homebrew
brew tap freecad/freecad
brew install eigen
brew install --only-dependencies freecad --with-packaging-utils
# Freecad source is located in folder freecad-source/
# setup the build folder for release and change into newly created folder
mkdir -p freecad-build/release
cd freecad-build/release
# export path to installed dependencies
export PREFIX_PATH="\
/usr/local/Cellar/qt5152/5.15.2/lib/cmake;\
/usr/local/Cellar/nglib/v6.2.2007/Contents/Resources;\
/usr/local/Cellar/vtk@8.2.0/8.2.0_1/lib/cmake/;\
/usr/local/Cellar/coin@4.0.0/4.0.0;\
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake;\
/usr/local/Cellar/boost-python3@1.75.0/1.75.0/lib/cmake"
# initiate build instructions
# added line for python include dir to the actual used python3 version, see https://forum.freecadweb.org/viewtopic.php?p=495520#p495520
cmake \
-DCMAKE_BUILD_TYPE="Release" \
-DBUILD_QT5=1 \
-DWITH_PYTHON3=1 \
-DCMAKE_PREFIX_PATH="$PREFIX_PATH" \
-DPYTHON_EXECUTABLE="/usr/local/bin/python3" \
-DFREECAD_USE_EXTERNAL_KDL=1 \
-DCMAKE_CXX_FLAGS='-std=c++14' \
-DBUILD_FEM_NETGEN=1 \
-DFREECAD_CREATE_MAC_APP=1 \
-DCMAKE_INSTALL_PREFIX="./.." \
-DPYTHON_INCLUDE_DIR=$(python3 -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())") \
../../freecad-source
-- XercesC: 3.2.3 [/usr/local/lib/libxerces-c.dylib] [/usr/local/include]:
Code: Select all
CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy):
The OLD behavior for policy CMP0072 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- Compiler: AppleClang, version: 12.0.5.12050022
-- Force BOOST_PP_VARIADICS=1 for clang
-- prefix: /Users/dirkolbrich/freecad/freecad-build
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.21.1
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
=====================================================
Doxygen not found, will not build documentation.
=====================================================
-- Detected Homebrew install at /usr/local
-- PyCXX found:
-- Headers: /Users/dirkolbrich/freecad/freecad-source/src
-- Sources: /Users/dirkolbrich/freecad/freecad-source/src/CXX
-- Version: 6.2.8
CMake Warning (dev) at /usr/local/Cellar/cmake/3.21.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to `find_package_handle_standard_args` (OCC) does
not match the name of the calling package (OpenCasCade). This can lead to
problems in calling code that expects `find_package` result variables
(e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:120 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
cMake/FreeCAD_Helpers/SetupOpenCasCade.cmake:4 (find_package)
CMakeLists.txt:51 (SetupOpenCasCade)
This warning is for project developers. Use -Wno-dev to suppress it.
-- -- Found OCE/OpenCASCADE version: 7.5.0
-- -- OCE/OpenCASCADE include directory: /usr/local/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/local/lib
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
-- Found Netgen: /usr/local/Cellar/nglib/v6.2.2007/Contents/Resources/CMake
-- Found NETGEN version 6.2, calculated: 395735
-- Coin3D libraries found
-- Could NOT find Spnav (missing: SPNAV_LIBRARY SPNAV_INCLUDE_DIR)
-- Shiboken2Config: Using default python: .cpython-39-darwin
-- Found PythonInterp: /usr/local/Frameworks/Python.framework/Versions/3.9/bin/python3.9 (found suitable version "3.9.6", minimum required is "3")
-- Found PythonLibs: /usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (found suitable version "3.9.6", minimum required is "3")
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: '-undefined dynamic_lookup'
-- libshiboken built for Release
-- PYTHON_CONFIG_SUFFIX: .cpython-39-darwin
-- libshiboken built for Release
-- ===============================================
PySide2 Python module found at /usr/local/lib/python3.9/site-packages/PySide2.
===============================================
-- Found Matplotlib: /usr/local/lib/python3.9/site-packages/matplotlib (found version "2.1.1")
-- 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
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/TypePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/BaseClassPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/BoundBoxPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/CoordinateSystemPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/PersistencePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/VectorPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/MatrixPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/RotationPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/PlacementPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/AxisPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/UnitPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Base/QuantityPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/DocumentPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/DocumentObjectPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/ExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/ExtensionContainerPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/DocumentObjectExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/GroupExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/LinkBaseExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/DocumentObjectGroupPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/GeoFeaturePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/GeoFeatureGroupExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/OriginGroupExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/PartPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/ComplexGeoDataPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/PropertyContainerPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/App/MaterialPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Points/App/PointsPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Mesh/App/FacetPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Mesh/App/MeshPointPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Mesh/App/MeshPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Mesh/Gui/ViewProviderMeshPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ArcPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ArcOfConicPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ArcOfCirclePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ArcOfParabolaPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BodyBasePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ConicPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/CirclePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ArcOfEllipsePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/EllipsePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/HyperbolaPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ParabolaPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/OffsetCurvePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometryPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometryExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometryIntExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometryStringExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometryBoolExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometryDoubleExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometryCurvePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BoundedCurvePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TrimmedCurvePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeometrySurfacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/LinePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/LineSegmentPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/PointPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BezierCurvePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BSplineCurvePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/PlanePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ConePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/CylinderPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/SpherePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ToroidPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BezierSurfacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BSplineSurfacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/OffsetSurfacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/PlateSurfacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/PartFeaturePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/AttachExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Part2DObjectPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/AttachEnginePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeFacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeShellPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/TopoShapeWirePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/BRepFeat/MakePrismPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/BezierCurve2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Circle2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Conic2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Ellipse2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Geometry2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Hyperbola2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Curve2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Line2dSegmentPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Line2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/Geom2d/Parabola2dPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeomPlate/BuildPlateSurfacePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeomPlate/CurveConstraintPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/GeomPlate/PointConstraintPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/PartDesign/App/BodyPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/PartDesign/App/FeaturePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/PartDesign/Gui/ViewProviderPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/GeometryFacadePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/ExternalGeometryFacadePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/ConstraintPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Sketcher/App/SketchPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Robot/App/Robot6AxisPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Robot/App/TrajectoryPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Robot/App/WaypointPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Robot/App/RobotObjectPy.cpp
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Import/App/StepShapePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Fem/App/FemMeshPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Fem/App/FemPostPipelinePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Spreadsheet/App/SheetPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Spreadsheet/Gui/SpreadsheetViewPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/CommandPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/PathPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/ToolPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/TooltablePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/FeaturePathCompoundPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/AreaPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/FeatureAreaPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/VoronoiPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/VoronoiCellPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/VoronoiEdgePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/App/VoronoiVertexPy.cpp
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0
/usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake
find_pacjage called
-- Found Boost: /usr/local/Cellar/boost@1.75.0/1.75.0/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: python39
-- found Boost: 1_75
-- boost-incude dirs are: /usr/local/Cellar/boost@1.75.0/1.75.0/include
-- boost-python lib is:
-- boost_LIBRARY_DIRS is: /usr/local/Cellar/boost@1.75.0/1.75.0/lib
-- Boost_LIBRARIES is: Boost::python
-- area module (for Path Workbench) will be installed to: /Users/dirkolbrich/freecad/freecad-build/FreeCAD.app/Contents/lib
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Path/PathSimulator/App/PathSimPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/Measure/App/MeasurementPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawPagePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewPartPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawTemplatePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawParametricTemplatePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawSVGTemplatePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewClipPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewDimensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewDimExtentPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawHatchPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawGeomHatchPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewCollectionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawProjGroupPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawProjGroupItemPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawViewAnnotationPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawLeaderLinePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawRichAnnoPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/GeomFormatPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/CenterLinePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/CosmeticEdgePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/CosmeticVertexPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawTilePy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawTileWeldPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/DrawWeldSymbolPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/App/CosmeticExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Mod/TechDraw/Gui/MDIViewPagePy.cpp
Created file /Users/dirkolbrich/freecad/freecad-build/release/share/doc/FreeCAD/freecad.qch
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/DocumentPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/PythonWorkbenchPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/ViewProviderPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/ViewProviderExtensionPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/WorkbenchPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/SelectionObjectPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/LinkViewPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/ViewProviderLinkPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/AxisOriginPy.cpp
-- /Users/dirkolbrich/freecad/freecad-build/release/src/Gui/CommandPy.cpp
-- Checking for module 'icu-uc'
-- No package 'icu-uc' found
--
==============
Summary report
==============
-- Build type: Release
-- Compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ (12.0.5.12050022)
-- Flags: -Wall -Wextra -Wpedantic -Wno-write-strings -std=c++14 -Wno-undefined-var-template
-- Standard: Requires C++17
-- Python: 3.9.6 [/usr/local/Frameworks/Python.framework/Versions/3.9/bin/python3.9] [.cpython-39-darwin]
-- PCL: not enabled
-- pybind11: not enabled
-- Boost: 1.75.0 (1.75.0)
-- XercesC: 3.2.3 [/usr/local/lib/libxerces-c.dylib] [/usr/local/include]
-- ZLIB: 1.2.11
-- PyCXX: 6.2.8 [/Users/dirkolbrich/freecad/freecad-source/src]
-- OCC: 7.5.0 [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/local/lib] [/usr/local/include/opencascade]
-- SMESH: build internal
-- MEDFile: 4.0.0 [/usr/local/lib/libmedC.dylib;/usr/local/lib/libmed.dylib] [/usr/local/include]
-- HDF5: 1.12.1
-- VTK: 8.2.0
-- NETGEN: 6.2.2007 (6.2.2007) [-DNO_PARALLEL_THREADS;-DOCCGEOMETRY;-DNETGEN_VERSION=395735] [] [/usr/local/Cellar/nglib/v6.2.2007/Contents/Resources/include/include;/usr/local/Cellar/nglib/v6.2.2007/Contents/Resources/include] [nglib] [/usr/local/Cellar/nglib/v6.2.2007/Contents/Resources/include/include;/usr/local/Cellar/nglib/v6.2.2007/Contents/Resources/include]
-- SWIG: 4.0.2
-- Eigen3 3.3.9
-- Qt5Core: 5.15.2
-- Qt5Network: 5.15.2
-- Qt5Xml: 5.15.2
-- Qt5XmlPatterns: 5.15.2
-- Qt5Widgets: 5.15.2
-- Qt5PrintSupport: 5.15.2
-- Qt5OpenGL: 5.15.2
-- Qt5Svg: 5.15.2
-- Qt5UiTools: 5.15.2
-- Qt5Concurrent: 5.15.2
-- Qt5WebEngineWidgets: 5.15.2
-- Shiboken2: 5.15.2 [/usr/local/lib/cmake/Shiboken2-5.15.2] [/usr/local/include/shiboken2;/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9]
-- PySide2: 5.15.2 [/usr/local/include/PySide2]
-- PySide2Tools: [/usr/local/bin/uic] [/usr/local/bin/rcc]
-- Freetype: 2.11.0
-- OpenGL: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework
-- OpenGLU: [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework][/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/System/Library/Frameworks/OpenGL.framework]
-- Coin3D: 4.0.0 [/usr/local/Cellar/coin@4.0.0/4.0.0/lib/libCoin.dylib] [/usr/local/Cellar/coin@4.0.0/4.0.0/include]
-- Pivy: 0.6.5
-- SPNAV: [SPNAV_LIBRARY-NOTFOUND] [SPNAV_INCLUDE_DIR-NOTFOUND]
-- Matplotlib: 2.1.1
-- Rift: not enabled (BUILD_VR)
-- Doxygen: not found
=================================================
Now run 'cmake --build /Users/dirkolbrich/freecad/freecad-build/release' to build FreeCAD
=================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/dirkolbrich/freecad/freecad-build/release
Code: Select all
# set path to icu4c
# see https://forum.freecadweb.org/viewtopic.php?p=507588#p507588
export LIBRARY_PATH="/usr/local/opt/icu4c/lib"
#start the build according to the last line of the cmake summary report
cmake --build /Users/dirkolbrich/freecad/freecad-build/release
Code: Select all
[ 91%] Building CXX object src/Mod/Measure/App/CMakeFiles/Measure.dir/AppMeasure.cpp.o
In file included from /Users/dirkolbrich/freecad/freecad-source/src/Mod/Measure/App/AppMeasure.cpp:32:
In file included from /Users/dirkolbrich/freecad/freecad-source/src/Mod/Measure/App/Measurement.h:29:
In file included from /Users/dirkolbrich/freecad/freecad-source/src/App/DocumentObject.h:28:
In file included from /Users/dirkolbrich/freecad/freecad-source/src/App/TransactionalObject.h:27:
In file included from /Users/dirkolbrich/freecad/freecad-source/src/App/ExtensionContainer.h:33:
/Users/dirkolbrich/freecad/freecad-source/src/Base/Reader.h:32:10: fatal error: 'xercesc/framework/XMLPScanToken.hpp' file not found
#include <xercesc/framework/XMLPScanToken.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/Mod/Measure/App/CMakeFiles/Measure.dir/AppMeasure.cpp.o] Error 1
make[1]: *** [src/Mod/Measure/App/CMakeFiles/Measure.dir/all] Error 2
make: *** [all] Error 2