Windows compilation fails on master

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
danpike
Posts: 3
Joined: Fri Apr 09, 2021 8:12 am

Windows compilation fails on master

Post by danpike »

Do any of the developers build the master branch under Windows? I've just started trying to build this and I get errors that imply that the build instructions may be incomplete or something else is wrong with my setup.

I did a pull this morning of the master branch, at:

Code: Select all

cc0af9b4dde98121b1476fe98ab2392d953b9a46 (8 Apr 2021 12:29)
Here are a sample of the 1428 errors that I get when I try to compile BUILD_ALL as a Release build in Visual Studio 16 (2019) v16.9.3:

Code: Select all

...
55>D:\work\libpack\FreeCADLibs_12.5.2_x64_VC17\include\boost/python/detail/unwind_type.hpp(37): error C3861: 'unwind_type': identifier not found
...
5>QuantityParser.c(1568,35): error C2664: 'void Quantity_yyerror(char *)': cannot convert argument 1 from 'const char [13]' to 'char *'
5>QuantityParser.c(1568,16): message : Conversion from string literal loses const qualifier (see /Zc:strictStrings)
...
61>D:\work\libpack\FreeCADLibs_12.5.2_x64_VC17\include\boost\polygon\voronoi_builder.hpp(160,18): error C7626: unnamed class used in typedef name cannot declare members other than non-static data members, member enumerations, or member classes (compiling source file D:\work\github\FreeCAD\src\3rdParty\salomesmesh\src\StdMeshers\SMESH_MAT2d.cpp)
...
68>D:\work\github\FreeCAD\src\Mod\Mesh\App\WildMagic4\Wm4TRational.inl(696,1): error C2446: '<=': no conversion from 'int' to 'unsigned int *'
68>D:\work\github\FreeCAD\src\Mod\Mesh\App\WildMagic4\Wm4TRational.inl(656,26): message : Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
...
67>D:\work\libpack\FreeCADLibs_12.5.2_x64_VC17\include\eigen3\Eigen\src/Core/util/Meta.h(454,25): error C2039: 'result_of': is not a member of 'std'
67>D:\work\github\FreeCAD\src\App/ObjectIdentifier.h(463): message : see declaration of 'std'
...
Here's the output from CMake Configure+Generate:

Code: Select all

Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
The C compiler identification is MSVC 19.28.29913.0
The CXX compiler identification is MSVC 19.28.29913.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Compiler: MSVC, version: 19.28.29913.0
prefix: C:/Program Files (x86)/FreeCAD
bindir: bin
datadir: data
docdir: doc
includedir: include
libdir: lib
cmake: 3.18.0-rc3
PyCXX found:
  Headers:  D:/work/github/FreeCAD/src
  Sources:  D:/work/github/FreeCAD/src/CXX
  Version:  6.2.8
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
=====================================================
Doxygen not found, will not build documentation.     
=====================================================

PyCXX found:
  Headers:  D:/work/github/FreeCAD/src
  Sources:  D:/work/github/FreeCAD/src/CXX
  Version:  6.2.8
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (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: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/inc
-- OCE/OpenCASCADE shared libraries directory: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib
HUHUH: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/cmake/vtk-8.2/VTKTargets.cmake
VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
HUHUH: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/cmake/vtk-8.2/VTKTargets.cmake
Check for medfile (libmed and libmedc) ...
Found Boost: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include (found suitable version "1.67.0", minimum required is "1.55") found components: filesystem program_options regex system thread chrono date_time atomic 
Found Netgen: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/cmake
Found NETGEN version 6.2, calculated: 395734
Coin3D libraries found
Shiboken2Config: Using default python: .cp38-win_amd64
SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: 'D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/bin/include'
SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
libshiboken built for Release
===============================================
PySide2 Python module found at D:\work\libpack\FreeCADLibs_12.5.2_x64_VC17\bin\lib\site-packages\PySide2.
===============================================

Found Matplotlib: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/bin/lib/site-packages/matplotlib (found version "3.3.3")
Platform is 64-bit, set -D_OCC64
D:/work/github/FreeCAD/build/src/Base/TypePy.cpp
D:/work/github/FreeCAD/build/src/Base/BaseClassPy.cpp
D:/work/github/FreeCAD/build/src/Base/BoundBoxPy.cpp
D:/work/github/FreeCAD/build/src/Base/CoordinateSystemPy.cpp
D:/work/github/FreeCAD/build/src/Base/PersistencePy.cpp
D:/work/github/FreeCAD/build/src/Base/VectorPy.cpp
D:/work/github/FreeCAD/build/src/Base/MatrixPy.cpp
D:/work/github/FreeCAD/build/src/Base/RotationPy.cpp
D:/work/github/FreeCAD/build/src/Base/PlacementPy.cpp
D:/work/github/FreeCAD/build/src/Base/AxisPy.cpp
D:/work/github/FreeCAD/build/src/Base/UnitPy.cpp
D:/work/github/FreeCAD/build/src/Base/QuantityPy.cpp
D:/work/github/FreeCAD/build/src/App/DocumentPy.cpp
D:/work/github/FreeCAD/build/src/App/DocumentObjectPy.cpp
D:/work/github/FreeCAD/build/src/App/ExtensionPy.cpp
D:/work/github/FreeCAD/build/src/App/ExtensionContainerPy.cpp
D:/work/github/FreeCAD/build/src/App/DocumentObjectExtensionPy.cpp
D:/work/github/FreeCAD/build/src/App/GroupExtensionPy.cpp
D:/work/github/FreeCAD/build/src/App/LinkBaseExtensionPy.cpp
D:/work/github/FreeCAD/build/src/App/DocumentObjectGroupPy.cpp
D:/work/github/FreeCAD/build/src/App/GeoFeaturePy.cpp
D:/work/github/FreeCAD/build/src/App/GeoFeatureGroupExtensionPy.cpp
D:/work/github/FreeCAD/build/src/App/OriginGroupExtensionPy.cpp
D:/work/github/FreeCAD/build/src/App/PartPy.cpp
D:/work/github/FreeCAD/build/src/App/ComplexGeoDataPy.cpp
D:/work/github/FreeCAD/build/src/App/PropertyContainerPy.cpp
D:/work/github/FreeCAD/build/src/App/MaterialPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Points/App/PointsPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Mesh/App/FacetPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Mesh/App/MeshFeaturePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Mesh/App/MeshPointPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Mesh/App/MeshPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Mesh/Gui/ViewProviderMeshPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ArcPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ArcOfConicPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ArcOfCirclePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ArcOfParabolaPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BodyBasePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ConicPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/CirclePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ArcOfEllipsePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/EllipsePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/HyperbolaPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ArcOfHyperbolaPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ParabolaPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/OffsetCurvePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometryPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometryExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometryIntExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometryStringExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometryBoolExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometryDoubleExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometryCurvePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BoundedCurvePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TrimmedCurvePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeometrySurfacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/LinePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/LineSegmentPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/PointPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BezierCurvePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BSplineCurvePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/PlanePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ConePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/CylinderPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/SpherePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ToroidPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BezierSurfacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BSplineSurfacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/OffsetSurfacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/PlateSurfacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/RectangularTrimmedSurfacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/SurfaceOfExtrusionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/SurfaceOfRevolutionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/PartFeaturePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/AttachExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Part2DObjectPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/AttachEnginePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeCompoundPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeCompSolidPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeEdgePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeFacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeShellPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeSolidPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeVertexPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/TopoShapeWirePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BRepOffsetAPI_MakePipeShellPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BRepOffsetAPI_MakeFillingPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/BRepFeat/MakePrismPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfCircle2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfConic2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfEllipse2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfHyperbola2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/ArcOfParabola2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/BezierCurve2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/BSplineCurve2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Circle2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Conic2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Ellipse2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Geometry2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Hyperbola2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Curve2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Line2dSegmentPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Line2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/OffsetCurve2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/Geom2d/Parabola2dPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeomPlate/BuildPlateSurfacePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeomPlate/CurveConstraintPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/GeomPlate/PointConstraintPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Part/App/ShapeUpgrade/UnifySameDomainPy.cpp
D:/work/github/FreeCAD/build/src/Mod/PartDesign/App/BodyPy.cpp
D:/work/github/FreeCAD/build/src/Mod/PartDesign/App/FeaturePy.cpp
D:/work/github/FreeCAD/build/src/Mod/PartDesign/Gui/ViewProviderPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/SketchObjectSFPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/SketchObjectPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/SketchGeometryExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/ExternalGeometryExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/GeometryFacadePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/ExternalGeometryFacadePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/ConstraintPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Sketcher/App/SketchPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Robot/App/Robot6AxisPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Robot/App/TrajectoryPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Robot/App/WaypointPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Robot/App/RobotObjectPy.cpp
Performing Test _flag_found
Performing Test _flag_found - Failed
Performing Test _flag_found
Performing Test _flag_found - Failed
D:/work/github/FreeCAD/build/src/Mod/Import/App/StepShapePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Fem/App/FemMeshPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Fem/App/FemPostPipelinePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Fem/Gui/ViewProviderFemMeshPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Spreadsheet/App/SheetPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Spreadsheet/App/PropertySheetPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Spreadsheet/App/PropertyColumnWidthsPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Spreadsheet/App/PropertyRowHeightsPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/CommandPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/PathPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/ToolPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/TooltablePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/FeaturePathCompoundPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/AreaPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/FeatureAreaPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/VoronoiPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/VoronoiCellPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/VoronoiEdgePy.cpp
D:/work/github/FreeCAD/build/src/Mod/Path/App/VoronoiVertexPy.cpp
Found Boost: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include (found version "1.67.0") found components: python38 
found Boost: 1_67
boost-incude dirs are: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include
boost-python lib is: 
boost_LIBRARY_DIRS is: D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib
Boost_LIBRARIES is: optimizedD:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/boost_python38-vc141-mt-x64-1_67.libdebugD:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/boost_python38-vc141-mt-gd-x64-1_67.lib
area module (for Path Workbench) will be installed to: lib
D:/work/github/FreeCAD/build/src/Mod/Path/PathSimulator/App/PathSimPy.cpp
D:/work/github/FreeCAD/build/src/Mod/Measure/App/MeasurementPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawPagePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewPartPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewSymbolPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawTemplatePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawParametricTemplatePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawSVGTemplatePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewClipPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewDimensionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewDimExtentPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawHatchPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawGeomHatchPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewCollectionPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawProjGroupPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawProjGroupItemPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawViewAnnotationPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawLeaderLinePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawRichAnnoPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/GeomFormatPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/CenterLinePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/CosmeticEdgePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/CosmeticVertexPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawTilePy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawTileWeldPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/DrawWeldSymbolPy.cpp
D:/work/github/FreeCAD/build/src/Mod/TechDraw/App/CosmeticExtensionPy.cpp
Created file D:/work/github/FreeCAD/build/doc/freecad.qch

D:/work/github/FreeCAD/build/src/Gui/DocumentPy.cpp
D:/work/github/FreeCAD/build/src/Gui/PythonWorkbenchPy.cpp
D:/work/github/FreeCAD/build/src/Gui/ViewProviderPy.cpp
D:/work/github/FreeCAD/build/src/Gui/ViewProviderDocumentObjectPy.cpp
D:/work/github/FreeCAD/build/src/Gui/ViewProviderExtensionPy.cpp
D:/work/github/FreeCAD/build/src/Gui/WorkbenchPy.cpp
D:/work/github/FreeCAD/build/src/Gui/SelectionObjectPy.cpp
D:/work/github/FreeCAD/build/src/Gui/LinkViewPy.cpp
D:/work/github/FreeCAD/build/src/Gui/ViewProviderLinkPy.cpp
D:/work/github/FreeCAD/build/src/Gui/AxisOriginPy.cpp
D:/work/github/FreeCAD/build/src/Gui/CommandPy.cpp

==============
Summary report
==============

Compiler:            C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/cl.exe (19.28.29913.0)
Flags:               /DWIN32 /D_WINDOWS /W3 /GR /EHsc
Standard:            Requires C++20
Python:              3.8.6 [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/bin/python.exe] [.cp38-win_amd64]
PCL:                 not enabled
pybind11:            not enabled
Boost:               1.67.0 (106700)
XercesC:             3.2.2 [optimized;D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/xerces-c_3.lib;debug;D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/xerces-c_3D.lib] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include]
ZLIB:                1.2.11
PyCXX:               6.2.8 [D:/work/github/FreeCAD/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] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/inc]
SMESH:               build internal
 MEDFile:            4.0.0 [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/medC.lib] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include]
 HDF5:               
 VTK:                8.2.0
NETGEN:              6.2.2006 (6.2.2006-19-gb37a3e6c) [-DNO_PARALLEL_THREADS;-DOCCGEOMETRY;-DNETGEN_VERSION=395734] [] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include/include;D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include] [nglib] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include/include;D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include]
SWIG:                4.0.2
Eigen3               3.3.90
Qt5Core:             5.15.1
Qt5Network:          5.15.1
Qt5Xml:              5.15.1
Qt5XmlPatterns:      5.15.1
Qt5Widgets:          5.15.1
Qt5PrintSupport:     5.15.1
Qt5OpenGL:           5.15.1
Qt5Svg:              5.15.1
Qt5UiTools:          5.15.1
Qt5Concurrent:       5.15.1
Qt5WebEngineWidgets: 5.15.1
Qt5WinExtras:        5.15.1
Shiboken2:           5.15.0 [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/cmake/Shiboken2-5.15.0] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include/shiboken2;D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/bin/include]
PySide2:             5.15.0 [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include/PySide2]
PySide2Tools:        [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/bin/uic.exe] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/bin/rcc.exe]
Freetype:            2.10.1
OpenGL:              opengl32
OpenGLU:             [glu32][]
Coin3D:              4.0.1 [optimized;D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/Coin4.lib;debug;D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/lib/Coin4d.lib] [D:/work/libpack/FreeCADLibs_12.5.2_x64_VC17/include]
Pivy:                0.6.6
Matplotlib:          3.3.3
Rift:                not enabled (BUILD_VR)
Doxygen:             not found
=======================================
Copying libpack dependency directories to build directory for Windows MSVC build.

... end copying.
=======================================

=======================================
Copying libpack 'bin' directory to build directory.

... done copying libpack 'bin' directory.
=======================================

=======================================
Copying plugins to build directory.
=======================================
Created install commands for INSTALL target.

=================================================
Now run 'cmake --build D:/work/github/FreeCAD/build' to build FreeCAD
=================================================

Configuring done

Generating done
I've edited the errors above to reduce the noise, but I hope it gives a rough idea. I've checked that it's using c++-std-latest for everything except the Reverse Engineering module. The last one implies that I am missing some configuration in CMake, but I think I've set everything that was documented. Does anyone recognise the problem?

Thanks,

Dan
7ofNine
Posts: 27
Joined: Sat Aug 27, 2016 2:35 pm

Re: Windows compilation fails on master

Post by 7ofNine »

I compile it regularly under Windows and haven't encountered real problems in a while using C++17. Looking at one of the errors I wonder if FreeCad is released for C++20 and/or some of the 3rd-party tools. For Eigen it complains about result_of is not part of std which hint's at a problem with C++20 (at least not without additional configuration.) result_of has been removed from std starting with C++20 and despite the fact that it is a fully release standard full compliance is still lacking.

Cheers
Hartmuth
danpike
Posts: 3
Joined: Fri Apr 09, 2021 8:12 am

Re: Windows compilation fails on master

Post by danpike »

Many thanks for your helpful response.

Reading it all again after a good night's sleep shows that this is indeed all my fault (RTFM). I think that I had read too much documentation that day: causing my brain to freeze badly enough for me to see "FreeCAD 0.20" but think "c++20".

It now compiles and runs just fine for me with C++17 on everything except ReverseEngineering, just as you (and the instructions) say.

With apologies for my error, I'll crawl sheepishly back into my cave.

Dan
Post Reply