Error FreeCAD compile on Mac

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
amrit3701
Posts: 343
Joined: Mon Jun 13, 2016 5:37 pm

Error FreeCAD compile on Mac

Post by amrit3701 »

Hi,

I am compiling FreeCAD on MacOS with Python3 but getting below error:

Code: Select all

λ ~/Documents/FreeCAD/build/ master* cmake -DCMAKE_BUILD_TYPE="Release" \
  -DBUILD_QT5=1 \
  -DCMAKE_PREFIX_PATH="/usr/local/Cellar/qt/5.14.1/lib/cmake;/usr/local/Cellar/qtwebkit/5.212-72cfbd_3/lib/cmake" \
  -DPYTHON_EXECUTABLE="/usr/local/bin/python3.7" \ -DPYTHON_INCLUDE_DIR="/usr/local/lib/python3.7" \
..
-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/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: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: AppleClang, version: 11.0.0.11000033
-- Looking for GL/gl.h
-- Looking for GL/gl.h - not 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
-- Force BOOST_PP_VARIADICS=1 for clang
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.16.5
-- Detected Homebrew install at /usr/local
CMake Error at cMake/FreeCAD_Helpers/SetupPython.cmake:81 (message):
  Failed to determine PYTHON_INCLUDE_DIR
Call Stack (most recent call first):
  CMakeLists.txt:52 (SetupPython)


CMake Error at cMake/FreeCAD_Helpers/SetupPython.cmake:93 (string):
  string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
  CMakeLists.txt:52 (SetupPython)


CMake Error at cMake/FreeCAD_Helpers/SetupPython.cmake:95 (message):
  Failed to determine PYTHON_LIBRARY
Call Stack (most recent call first):
  CMakeLists.txt:52 (SetupPython)


CMake Error at cMake/FreeCAD_Helpers/SetupPython.cmake:104 (string):
  string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
  CMakeLists.txt:52 (SetupPython)


CMake Error at cMake/FreeCAD_Helpers/SetupPython.cmake:106 (message):
  Failed to determine PYTHON_LIBRARY
Call Stack (most recent call first):
  CMakeLists.txt:52 (SetupPython)


-- Found PythonInterp: /usr/local/bin/python3.7
-- Found PythonLibs: /usr/lib/libpython.dylib (found version "2.7.16")
CMake Warning at /usr/local/lib/cmake/boost_filesystem-1.72.0/libboost_filesystem-variant-shared.cmake:64 (message):
  Target Boost::filesystem already has an imported location
  '/usr/local/lib/libboost_filesystem-mt.dylib', which will be overwritten
  with '/usr/local/lib/libboost_filesystem.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_filesystem-1.72.0/boost_filesystem-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  cMake/FreeCAD_Helpers/SetupBoost.cmake:7 (find_package)
  CMakeLists.txt:55 (SetupBoost)


CMake Warning at /usr/local/lib/cmake/boost_program_options-1.72.0/libboost_program_options-variant-shared.cmake:64 (message):
  Target Boost::program_options already has an imported location
  '/usr/local/lib/libboost_program_options-mt.dylib', which will be
  overwritten with '/usr/local/lib/libboost_program_options.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_program_options-1.72.0/boost_program_options-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  cMake/FreeCAD_Helpers/SetupBoost.cmake:7 (find_package)
  CMakeLists.txt:55 (SetupBoost)


CMake Warning at /usr/local/lib/cmake/boost_regex-1.72.0/libboost_regex-variant-shared.cmake:64 (message):
  Target Boost::regex already has an imported location
  '/usr/local/lib/libboost_regex-mt.dylib', which will be overwritten with
  '/usr/local/lib/libboost_regex.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_regex-1.72.0/boost_regex-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  cMake/FreeCAD_Helpers/SetupBoost.cmake:7 (find_package)
  CMakeLists.txt:55 (SetupBoost)


CMake Warning at /usr/local/lib/cmake/boost_system-1.72.0/libboost_system-variant-shared.cmake:64 (message):
  Target Boost::system already has an imported location
  '/usr/local/lib/libboost_system-mt.dylib', which will be overwritten with
  '/usr/local/lib/libboost_system.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_system-1.72.0/boost_system-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  cMake/FreeCAD_Helpers/SetupBoost.cmake:7 (find_package)
  CMakeLists.txt:55 (SetupBoost)


-- Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found suitable version "1.72.0", minimum required is "1.48") found components: filesystem program_options regex system thread
-- Found Xerces-C: /usr/local/lib/libxerces-c.so
-- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.11")
-- PyCXX found:
--   Headers:  /Users/ambu/Documents/FreeCAD/src
--   Sources:  /Users/ambu/Documents/FreeCAD/src/CXX
--   Version:  6.2.8
-- Found OCC: /usr/local/include/opencascade (found version "7.4.0")
-- -- Found OCE/OpenCASCADE version: 7.4.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) ...
-- Found MEDFile: /usr/local/include
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found HDF5: /usr/local/Cellar/hdf5/1.12.0/lib/libhdf5.dylib;/usr/local/opt/szip/lib/libsz.dylib;/usr/lib/libz.dylib;/usr/lib/libdl.dylib;/usr/lib/libm.dylib (found version "1.12.0")
-- Checking for one of the modules 'ompi-cxx'
CMake Warning at cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:105 (message):
  mpi.h was not found.  Check for error above.
Call Stack (most recent call first):
  CMakeLists.txt:60 (SetupSalomeSMESH)


-- Found SWIG: /usr/local/bin/swig (found version "4.0.1")
-- Found Eigen3: /usr/local/include/eigen3 (found suitable version "3.3.7", minimum required is "2.91.0")
-- Found Freetype: /usr/local/lib/libfreetype.dylib (found version "2.10.1")
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework
-- Found OpenGLU: /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework
-- Coin3D libraries found
-- Could NOT find Spnav (missing: SPNAV_LIBRARY SPNAV_INCLUDE_DIR)
-- Shiboken2Config: Using default python: -python2.7
-- libshiboken built for Release
-- PYTHON_CONFIG_SUFFIX: .cpython-37m-darwin
-- libshiboken built for Release
=======================
PySide2Tools not found.
=======================

=====================================================
matplotlib not found, Plot module won't be available.
=====================================================

-- Platform is 64-bit, set -D_OCC64
-- /Users/ambu/Documents/FreeCAD/build/src/Base/TypePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/BaseClassPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/BoundBoxPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/CoordinateSystemPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/PersistencePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/VectorPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/MatrixPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/RotationPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/PlacementPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/AxisPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/UnitPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Base/QuantityPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/DocumentPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/DocumentObjectPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/ExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/ExtensionContainerPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/DocumentObjectExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/GroupExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/LinkBaseExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/DocumentObjectGroupPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/GeoFeaturePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/GeoFeatureGroupExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/OriginGroupExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/PartPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/ComplexGeoDataPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/PropertyContainerPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/App/MaterialPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Points/App/PointsPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Mesh/App/FacetPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Mesh/App/MeshFeaturePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Mesh/App/MeshPointPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Mesh/App/MeshPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Mesh/Gui/ViewProviderMeshPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ArcPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ArcOfConicPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ArcOfCirclePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ArcOfParabolaPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/BodyBasePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ConicPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/CirclePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ArcOfEllipsePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/EllipsePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/HyperbolaPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ParabolaPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/OffsetCurvePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometryPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometryExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometryIntExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometryStringExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometryBoolExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometryDoubleExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometryCurvePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/BoundedCurvePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TrimmedCurvePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/GeometrySurfacePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/LinePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/LineSegmentPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/PointPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/BezierCurvePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/BSplineCurvePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/PlanePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ConePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/CylinderPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/SpherePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/ToroidPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/BezierSurfacePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/BSplineSurfacePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/OffsetSurfacePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/PlateSurfacePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/PartFeaturePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/AttachExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Part2DObjectPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/AttachEnginePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeCompoundPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeEdgePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeFacePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeShellPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeSolidPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeVertexPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/TopoShapeWirePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/BezierCurve2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Circle2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Conic2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Ellipse2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Geometry2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Hyperbola2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Curve2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Line2dSegmentPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Line2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Part/App/Geom2d/Parabola2dPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/PartDesign/App/BodyPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/PartDesign/App/FeaturePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/PartDesign/Gui/ViewProviderPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Sketcher/App/SketchObjectPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Sketcher/App/ConstraintPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Sketcher/App/SketchPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Robot/App/Robot6AxisPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Robot/App/TrajectoryPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Robot/App/WaypointPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Robot/App/RobotObjectPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Import/App/StepShapePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Fem/App/FemMeshPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Fem/App/FemPostPipelinePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Spreadsheet/App/SheetPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/App/CommandPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/App/PathPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/App/ToolPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/App/TooltablePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/App/FeaturePathCompoundPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/App/AreaPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/App/FeatureAreaPy.cpp
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
CMake Warning at /usr/local/lib/cmake/boost_python-1.72.0/libboost_python-variant-shared-py3.7.cmake:74 (message):
  Target Boost::python already has an imported location
  '/usr/local/lib/libboost_python37-mt.dylib', which will be overwritten with
  '/usr/local/lib/libboost_python37.dylib'
Call Stack (most recent call first):
  /usr/local/lib/cmake/boost_python-1.72.0/boost_python-config.cmake:57 (include)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package)
  /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/FindBoost.cmake:443 (find_package)
  src/Mod/Path/libarea/CMakeLists.txt:20 (find_package)


-- Found Boost: /usr/local/lib/cmake/Boost-1.72.0/BoostConfig.cmake (found version "1.72.0") found components: python
-- found Boost: 1_72
-- boost-incude dirs are: /usr/local/include
-- boost-python lib is: Boost::python
-- boost_LIBRARY_DIRS is: /usr/local/lib
-- Boost_LIBRARIES is: Boost::python
-- area module (for Path Workbench) will be installed to: lib
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Path/PathSimulator/App/PathSimPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/Measure/App/MeasurementPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawPagePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewPartPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawTemplatePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawParametricTemplatePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawSVGTemplatePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewClipPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewDimensionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewDimExtentPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawHatchPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawGeomHatchPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewCollectionPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawProjGroupPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawProjGroupItemPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawViewAnnotationPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawLeaderLinePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawRichAnnoPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/GeomFormatPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/CenterLinePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/CosmeticEdgePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/CosmeticVertexPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawTilePy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawTileWeldPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/DrawWeldSymbolPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Mod/TechDraw/App/CosmeticExtensionPy.cpp
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/DocumentPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/PythonWorkbenchPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/ViewProviderPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/WorkbenchPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/SelectionObjectPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/LinkViewPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/ViewProviderLinkPy.cpp
-- /Users/ambu/Documents/FreeCAD/build/src/Gui/AxisOriginPy.cpp
--
==============
Summary report
==============

-- Build type:          Release
-- Compiler:            /Library/Developer/CommandLineTools/usr/bin/c++ (11.0.0.11000033)
-- Flags:               -Wall -Wextra -Wpedantic -Wno-write-strings  -Wno-undefined-var-template
-- Standard:            Requires C++11
-- Python:              [/usr/local/bin/python3.7] [.cpython-37m-darwin]
-- PCL:                 not enabled
-- pybind11:            not enabled
-- Boost:               1.72.0
-- XercesC:             [/usr/local/lib/libxerces-c.so] [/usr/local/include]
-- ZLIB:                1.2.11
-- PyCXX:               [/Users/ambu/Documents/FreeCAD/src]
-- OCC:                 7.4.0 [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/local/lib/libmedC.dylib;/usr/local/lib/libmed.dylib] [/usr/local/include]
--  HDF5:               1.12.0
--  VTK:                8.2.0
-- NETGEN:              not enabled
-- SWIG:                4.0.1
-- Eigen3               3.3.7
-- Qt5Core:             5.14.1
-- Qt5Network:          5.14.1
-- Qt5Xml:              5.14.1
-- Qt5XmlPatterns:      5.14.1
-- Qt5Widgets:          5.14.1
-- Qt5PrintSupport:     5.14.1
-- Qt5OpenGL:           5.14.1
-- Qt5Svg:              5.14.1
-- Qt5UiTools:          5.14.1
-- Qt5Concurrent:       5.14.1
-- Qt5WebEngineWidgets: 5.14.1
-- Shiboken2:           5.11.2 [/usr/local/lib/cmake/Shiboken2-5.11.2] [/usr/local/Cellar/shiboken2/5.11.2/include/shiboken2]
-- PySide2:             5.11.2 [/usr/local/Cellar/pyside2/5.11.2/include/PySide2]
-- PySide2Tools:        not found
-- Freetype:            2.10.1
-- OpenGLU:             /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework][/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework]
-- Coin3D:              [/usr/local/lib/libCoin.dylib] [/usr/local/include]
-- SPNAV:               [SPNAV_LIBRARY-NOTFOUND] [SPNAV_INCLUDE_DIR-NOTFOUND]
-- Matplotlib:          not found
-- Rift:                not enabled (BUILD_VR)
-- Doxygen:             not found
=================================================
Now run 'cmake --build /Users/ambu/Documents/FreeCAD/build' to build FreeCAD
=================================================

-- Configuring incomplete, errors occurred!
See also "/Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeOutput.log".
See also "/Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeError.log".
CMakeError.log

Code: Select all

Determining if the include file GL/gl.h exists failed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_7689f/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_7689f.dir/build.make CMakeFiles/cmTC_7689f.dir/build
Building C object CMakeFiles/cmTC_7689f.dir/CheckIncludeFile.c.o
/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_7689f.dir/CheckIncludeFile.c.o   -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: 'GL/gl.h' file not found
#include <GL/gl.h>
         ^~~~~~~~~
1 error generated.
make[1]: *** [CMakeFiles/cmTC_7689f.dir/CheckIncludeFile.c.o] Error 1
make: *** [cmTC_7689f/fast] Error 2
From CMakeError.log, it looks like cmake unable to find GL but from summary report of cmake it looks like cmake found OpenGL. Also, can we find in which CPP file I am getting this error?

Maybe in some CPP file, #ifdef FC_OS_MACOSX check is missing?

Code: Select all

#ifdef FC_OS_MACOSX
# include <OpenGL/gl.h>
#else
# include <GL/gl.h>
#endif
Thanks in advance!
Amritpal Singh
Github, Like my work, sponsor me!
User avatar
amrit3701
Posts: 343
Joined: Mon Jun 13, 2016 5:37 pm

Re: Error FreeCAD compile on Mac

Post by amrit3701 »

CMakeOutput.log

Code: Select all

The system is: Darwin - 19.3.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /Library/Developer/CommandLineTools/usr/bin/cc 
Build flags: 
Id flags:  

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"

The C compiler identification is AppleClang, found in "/Users/ambu/Documents/FreeCAD/build/CMakeFiles/3.16.5/CompilerIdC/a.out"

Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /Library/Developer/CommandLineTools/usr/bin/c++ 
Build flags: 
Id flags:  

The output was:
0


Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"

The CXX compiler identification is AppleClang, found in "/Users/ambu/Documents/FreeCAD/build/CMakeFiles/3.16.5/CompilerIdCXX/a.out"

Determining if the C compiler works passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_95087/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_95087.dir/build.make CMakeFiles/cmTC_95087.dir/build
Building C object CMakeFiles/cmTC_95087.dir/testCCompiler.c.o
/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_95087.dir/testCCompiler.c.o   -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_95087
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_95087.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_95087.dir/testCCompiler.c.o  -o cmTC_95087 



Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_f071a/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_f071a.dir/build.make CMakeFiles/cmTC_f071a.dir/build
Building C object CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o
/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -v -Wl,-v -o CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o   -c /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCCompilerABI.c
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
 "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -coverage-notes-file /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o -x c /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCCompilerABI.c
clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin19.3.0
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/local/include"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
 /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include
 /Library/Developer/CommandLineTools/usr/include
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks (framework directory)
End of search list.
Linking C executable cmTC_f071a
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f071a.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o  -o cmTC_f071a 
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -o cmTC_f071a -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld  PROJECT:ld64-530
BUILD 18:57:17 Dec 13 2019
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
	/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib
Framework search paths:
	/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/



Parsed C implicit include dir info from above output: rv=done
  found start of include info
  found start of implicit include info
    add: [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include]
    add: [/Library/Developer/CommandLineTools/usr/include]
    add: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]
  end of search list found
  collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include]
  collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include]
  collapse include dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]
  implicit include dirs: [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command(s):/usr/bin/make cmTC_f071a/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_f071a.dir/build.make CMakeFiles/cmTC_f071a.dir/build]
  ignore line: [Building C object CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o]
  ignore line: [/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -v -Wl -v -o CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o   -c /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCCompilerABI.c]
  ignore line: [Apple clang version 11.0.0 (clang-1100.0.33.17)]
  ignore line: [Target: x86_64-apple-darwin19.3.0]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
  ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]]
  ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -coverage-notes-file /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o -x c /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCCompilerABI.c]
  ignore line: [clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin19.3.0]
  ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/local/include"]
  ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/Library/Frameworks"]
  ignore line: [#include "..." search starts here:]
  ignore line: [#include <...> search starts here:]
  ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include]
  ignore line: [ /Library/Developer/CommandLineTools/usr/include]
  ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]
  ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks (framework directory)]
  ignore line: [End of search list.]
  ignore line: [Linking C executable cmTC_f071a]
  ignore line: [/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f071a.dir/link.txt --verbose=1]
  ignore line: [/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl -search_paths_first -Wl -headerpad_max_install_names  -v -Wl -v CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o  -o cmTC_f071a ]
  ignore line: [Apple clang version 11.0.0 (clang-1100.0.33.17)]
  ignore line: [Target: x86_64-apple-darwin19.3.0]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
  link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -o cmTC_f071a -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a]
    arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-lto_library] ==> ignore, skip following value
    arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library
    arg [-dynamic] ==> ignore
    arg [-arch] ==> ignore
    arg [x86_64] ==> ignore
    arg [-macosx_version_min] ==> ignore
    arg [10.15.0] ==> ignore
    arg [-syslibroot] ==> ignore
    arg [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_f071a] ==> ignore
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-v] ==> ignore
    arg [CMakeFiles/cmTC_f071a.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [-lSystem] ==> lib [System]
    arg [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a]
  Library search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib]
  Framework search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/]
  remove lib [System]
  remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a]
  collapse library dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib]
  collapse framework dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks]
  implicit libs: []
  implicit dirs: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib]
  implicit fwks: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks]


Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_1dbb6/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_1dbb6.dir/build.make CMakeFiles/cmTC_1dbb6.dir/build
Building CXX object CMakeFiles/cmTC_1dbb6.dir/testCXXCompiler.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_1dbb6.dir/testCXXCompiler.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_1dbb6
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1dbb6.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_1dbb6.dir/testCXXCompiler.cxx.o  -o cmTC_1dbb6 



Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_fc2dd/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_fc2dd.dir/build.make CMakeFiles/cmTC_fc2dd.dir/build
Building CXX object CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -v -Wl,-v -o CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]
 "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -coverage-notes-file /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -stdlib=libc++ -internal-isystem /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1 -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdeprecated-macro -fdebug-compilation-dir /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp
clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin19.3.0
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/v1"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/local/include"
ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/Library/Frameworks"
#include "..." search starts here:
#include <...> search starts here:
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1
 /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include
 /Library/Developer/CommandLineTools/usr/include
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
 /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks (framework directory)
End of search list.
Linking CXX executable cmTC_fc2dd
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc2dd.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -v -Wl,-v CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_fc2dd 
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin19.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -o cmTC_fc2dd -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld  PROJECT:ld64-530
BUILD 18:57:17 Dec 13 2019
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
Library search paths:
	/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib
Framework search paths:
	/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/



Parsed CXX implicit include dir info from above output: rv=done
  found start of include info
  found start of implicit include info
    add: [/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1]
    add: [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include]
    add: [/Library/Developer/CommandLineTools/usr/include]
    add: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]
  end of search list found
  collapse include dir [/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1] ==> [/Library/Developer/CommandLineTools/usr/include/c++/v1]
  collapse include dir [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include] ==> [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include]
  collapse include dir [/Library/Developer/CommandLineTools/usr/include] ==> [/Library/Developer/CommandLineTools/usr/include]
  collapse include dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]
  implicit include dirs: [/Library/Developer/CommandLineTools/usr/include/c++/v1;/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include;/Library/Developer/CommandLineTools/usr/include;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]


Parsed CXX implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command(s):/usr/bin/make cmTC_fc2dd/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_fc2dd.dir/build.make CMakeFiles/cmTC_fc2dd.dir/build]
  ignore line: [Building CXX object CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o]
  ignore line: [/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -v -Wl -v -o CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [Apple clang version 11.0.0 (clang-1100.0.33.17)]
  ignore line: [Target: x86_64-apple-darwin19.3.0]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
  ignore line: [clang: warning: -Wl -v: 'linker' input unused [-Wunused-command-line-argument]]
  ignore line: [ "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCXXCompilerABI.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 530 -v -coverage-notes-file /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.gcno -resource-dir /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -stdlib=libc++ -internal-isystem /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1 -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdeprecated-macro -fdebug-compilation-dir /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -fstack-check -mdarwin-stkchk-strong-link -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fcxx-exceptions -fexceptions -fmax-type-align=16 -fdiagnostics-show-option -o CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o -x c++ /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
  ignore line: [clang -cc1 version 11.0.0 (clang-1100.0.33.17) default target x86_64-apple-darwin19.3.0]
  ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/v1"]
  ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/local/include"]
  ignore line: [ignoring nonexistent directory "/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/Library/Frameworks"]
  ignore line: [#include "..." search starts here:]
  ignore line: [#include <...> search starts here:]
  ignore line: [ /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1]
  ignore line: [ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/include]
  ignore line: [ /Library/Developer/CommandLineTools/usr/include]
  ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include]
  ignore line: [ /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks (framework directory)]
  ignore line: [End of search list.]
  ignore line: [Linking CXX executable cmTC_fc2dd]
  ignore line: [/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fc2dd.dir/link.txt --verbose=1]
  ignore line: [/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl -search_paths_first -Wl -headerpad_max_install_names  -v -Wl -v CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o  -o cmTC_fc2dd ]
  ignore line: [Apple clang version 11.0.0 (clang-1100.0.33.17)]
  ignore line: [Target: x86_64-apple-darwin19.3.0]
  ignore line: [Thread model: posix]
  ignore line: [InstalledDir: /Library/Developer/CommandLineTools/usr/bin]
  link line: [ "/Library/Developer/CommandLineTools/usr/bin/ld" -demangle -lto_library /Library/Developer/CommandLineTools/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -o cmTC_fc2dd -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a]
    arg [/Library/Developer/CommandLineTools/usr/bin/ld] ==> ignore
    arg [-demangle] ==> ignore
    arg [-lto_library] ==> ignore, skip following value
    arg [/Library/Developer/CommandLineTools/usr/lib/libLTO.dylib] ==> skip value of -lto_library
    arg [-dynamic] ==> ignore
    arg [-arch] ==> ignore
    arg [x86_64] ==> ignore
    arg [-macosx_version_min] ==> ignore
    arg [10.15.0] ==> ignore
    arg [-syslibroot] ==> ignore
    arg [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_fc2dd] ==> ignore
    arg [-search_paths_first] ==> ignore
    arg [-headerpad_max_install_names] ==> ignore
    arg [-v] ==> ignore
    arg [CMakeFiles/cmTC_fc2dd.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
    arg [-lc++] ==> lib [c++]
    arg [-lSystem] ==> lib [System]
    arg [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a]
  Library search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib]
  Framework search paths: [;/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/]
  remove lib [System]
  remove lib [/Library/Developer/CommandLineTools/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a]
  collapse library dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib]
  collapse framework dir [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/] ==> [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks]
  implicit libs: [c++]
  implicit dirs: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/lib]
  implicit fwks: [/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks]


Determining if the include file istream exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_ba0e8/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_ba0e8.dir/build.make CMakeFiles/cmTC_ba0e8.dir/build
Building CXX object CMakeFiles/cmTC_ba0e8.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_ba0e8.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_ba0e8
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ba0e8.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_ba0e8.dir/CheckIncludeFile.cxx.o  -o cmTC_ba0e8 



Determining if the include file ostream exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_325c5/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_325c5.dir/build.make CMakeFiles/cmTC_325c5.dir/build
Building CXX object CMakeFiles/cmTC_325c5.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_325c5.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_325c5
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_325c5.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_325c5.dir/CheckIncludeFile.cxx.o  -o cmTC_325c5 



Determining if the include file fstream exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_fd295/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_fd295.dir/build.make CMakeFiles/cmTC_fd295.dir/build
Building CXX object CMakeFiles/cmTC_fd295.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_fd295.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_fd295
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fd295.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_fd295.dir/CheckIncludeFile.cxx.o  -o cmTC_fd295 



Determining if the include file sstream exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_7dd81/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_7dd81.dir/build.make CMakeFiles/cmTC_7dd81.dir/build
Building CXX object CMakeFiles/cmTC_7dd81.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_7dd81.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_7dd81
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7dd81.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_7dd81.dir/CheckIncludeFile.cxx.o  -o cmTC_7dd81 



Determining if the include file ios exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_38090/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_38090.dir/build.make CMakeFiles/cmTC_38090.dir/build
Building CXX object CMakeFiles/cmTC_38090.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_38090.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_38090
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_38090.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_38090.dir/CheckIncludeFile.cxx.o  -o cmTC_38090 



Determining if the include file iostream exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_af047/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_af047.dir/build.make CMakeFiles/cmTC_af047.dir/build
Building CXX object CMakeFiles/cmTC_af047.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_af047.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_af047
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_af047.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_af047.dir/CheckIncludeFile.cxx.o  -o cmTC_af047 



Determining if the include file iomanip exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_00752/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_00752.dir/build.make CMakeFiles/cmTC_00752.dir/build
Building CXX object CMakeFiles/cmTC_00752.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_00752.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_00752
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_00752.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_00752.dir/CheckIncludeFile.cxx.o  -o cmTC_00752 



Determining if the include file iostream exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_6ccf5/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_6ccf5.dir/build.make CMakeFiles/cmTC_6ccf5.dir/build
Building CXX object CMakeFiles/cmTC_6ccf5.dir/CheckIncludeFile.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_6ccf5.dir/CheckIncludeFile.cxx.o -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
Linking CXX executable cmTC_6ccf5
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6ccf5.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_6ccf5.dir/CheckIncludeFile.cxx.o  -o cmTC_6ccf5 



Determining if the CXX compiler has std namespace passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_f040c/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_f040c.dir/build.make CMakeFiles/cmTC_f040c.dir/build
Building CXX object CMakeFiles/cmTC_f040c.dir/TestForSTDNamespace.cxx.o
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_f040c.dir/TestForSTDNamespace.cxx.o -c /usr/local/Cellar/cmake/3.16.5/share/cmake/Modules/TestForSTDNamespace.cxx
Linking CXX executable cmTC_f040c
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f040c.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/c++    -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_f040c.dir/TestForSTDNamespace.cxx.o  -o cmTC_f040c 



Determining if the include file pthread.h exists passed with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_ba28b/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_ba28b.dir/build.make CMakeFiles/cmTC_ba28b.dir/build
Building C object CMakeFiles/cmTC_ba28b.dir/CheckIncludeFile.c.o
/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_ba28b.dir/CheckIncludeFile.c.o   -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
Linking C executable cmTC_ba28b
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ba28b.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc   -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_ba28b.dir/CheckIncludeFile.c.o  -o cmTC_ba28b 



Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD succeeded with the following output:
Change Dir: /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_20069/fast && /Library/Developer/CommandLineTools/usr/bin/make -f CMakeFiles/cmTC_20069.dir/build.make CMakeFiles/cmTC_20069.dir/build
Building C object CMakeFiles/cmTC_20069.dir/src.c.o
/Library/Developer/CommandLineTools/usr/bin/cc   -DCMAKE_HAVE_LIBC_PTHREAD -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk   -o CMakeFiles/cmTC_20069.dir/src.c.o   -c /Users/ambu/Documents/FreeCAD/build/CMakeFiles/CMakeTmp/src.c
Linking C executable cmTC_20069
/usr/local/Cellar/cmake/3.16.5/bin/cmake -E cmake_link_script CMakeFiles/cmTC_20069.dir/link.txt --verbose=1
/Library/Developer/CommandLineTools/usr/bin/cc  -DCMAKE_HAVE_LIBC_PTHREAD -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/cmTC_20069.dir/src.c.o  -o cmTC_20069 


Source file was:
#include <pthread.h>

void* test_func(void* data)
{
  return data;
}

int main(void)
{
  pthread_t thread;
  pthread_create(&thread, NULL, test_func, NULL);
  pthread_detach(thread);
  pthread_join(thread, NULL);
  pthread_atfork(NULL, NULL, NULL);
  pthread_exit(NULL);

  return 0;
}

Amritpal Singh
Github, Like my work, sponsor me!
User avatar
ipatch
Posts: 112
Joined: Wed Apr 08, 2020 3:40 pm
Location: dfw
Contact:

Re: Error FreeCAD compile on Mac

Post by ipatch »

pretty sure Apple stopped supporting OpenGL on 10.15 and deprecated it on 10.14, and 10.13 is the last version of macOS that did not have OpenGL deprecated.

I run macOS 10.13 myself for one of these many reasons.

on my system, the Apple provided header

Code: Select all

gl.h
is at the following path

Code: Select all

/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/gl.h
and presently i don't have access to a 10.15 system / box to see if this header is located in the above path.
Last edited by ipatch on Wed Apr 22, 2020 3:55 pm, edited 1 time in total.
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Error FreeCAD compile on Mac

Post by kkremitzki »

Yep, the 'Headers' directory is missing in the path you mentioned on 10.15. (I recently picked up a Mac Mini to help w/ FreeCAD stuff.)
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
ipatch
Posts: 112
Joined: Wed Apr 08, 2020 3:40 pm
Location: dfw
Contact:

Re: Error FreeCAD compile on Mac

Post by ipatch »

kkremitzki wrote: Wed Apr 22, 2020 1:32 am Yep, the 'Headers' directory is missing in the path you mentioned on 10.15. (I recently picked up a Mac Mini to help w/ FreeCAD stuff.)
Curious are you able to compile latest master branch of freecad on 10.15? ie. does freecad support metal API/ABI ? and if not what work arounds are you doing to get freecad to compile on 10.15?
User avatar
kkremitzki
Veteran
Posts: 2511
Joined: Thu Mar 03, 2016 9:52 pm
Location: Illinois

Re: Error FreeCAD compile on Mac

Post by kkremitzki »

I haven't gotten that far yet. This is my first Mac hardware purchase, so I'm not too familiar with the platform, and thus far I've mainly been looking at virtualization options and building software on it in general.
Like my FreeCAD work? I'd appreciate any level of support via Patreon, Liberapay, or PayPal! Read more about what I do at my blog.
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Error FreeCAD compile on Mac

Post by Gift »

From one moment to the next, I get

Code: Select all

CheckIncludeFile.c:1:10: fatal error: 'GL/gl.h' file not found
Is it a problem from CMake?

On my system the files:

Code: Select all

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/OpenGL.framework/Headers
edit:// Forget it, my tryouts with bundle was problem. Whatever.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Error FreeCAD compile on Mac

Post by Kunda1 »

Lots of issues in that log.
Missing Pyside2
Salome SMESH issues...
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Error FreeCAD compile on Mac

Post by Gift »

Kunda1 wrote: Fri Apr 29, 2022 12:49 pm Lots of issues in that log.
Missing Pyside2
Salome SMESH issues...
It seems to be normal. Maybe we should create a issue about this. Otherwise forum will get irrelevant section of the logs.
Post Reply