Cmake Error FC 0.18 (SMESH and ZIPIOS)

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
HarryvL
Veteran
Posts: 1337
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Cmake Error FC 0.18 (SMESH and ZIPIOS)

Post by HarryvL »

I have just moved from Ubuntu 16.04 to Windows 10 and am trying re-build FC 0.18 with CMake 3.12.0 using libPack FreeCADLibs_11.8_x64_VC12. I get two errors in the configuration, one related to SMESH and the other to ZIPIOS. In both cases the relevant directory is not found:

Code: Select all

CMake Deprecation Warning at CMakeLists.txt:22 (cmake_policy):
  The OLD behavior for policy CMP0050 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


Compiler: MSVC, version: 18.0.31101.0
prefix: C:/Program Files/FreeCAD_trunk
datadir: data
docdir: doc
includedir: include
libdir: lib
PyCXX found:
  Headers:  C:/Users/hvlan/OneDrive/FC_Dev/FC_Master/Source/FreeCAD/src
  Sources:  C:/Users/hvlan/OneDrive/FC_Dev/FC_Master/Source/FreeCAD/src/CXX
  Version:  6.2.8
Boost version: 1.55.0
Found the following Boost libraries:
  filesystem
  program_options
  regex
  signals
  system
  thread
  chrono
  date_time
Found Xerces-C: C:/Users/hvlan/OneDrive/FC_Dev/Libraries/FreeCADLibs_11.8_x64_VC12/lib/xerces-c_3.lib
PyCXX found:
  Headers:  C:/Users/hvlan/OneDrive/FC_Dev/FC_Master/Source/FreeCAD/src
  Sources:  C:/Users/hvlan/OneDrive/FC_Dev/FC_Master/Source/FreeCAD/src/CXX
  Version:  6.2.8
-- OpenCASCADE Community Edition has been found.
-- Found OCE/OpenCASCADE version: 7.1.0
-- OCE/OpenCASCADE include directory: C:/Users/hvlan/OneDrive/FC_Dev/Libraries/FreeCADLibs_11.8_x64_VC12/lib/cmake/../../include/oce
-- OCE/OpenCASCADE shared libraries directory: 
VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
Could NOT find SMESH (missing: SMESH_DIR)
ERROR================
SMESH not found.
================

Could NOT find Netgen (missing: Netgen_DIR)
Found NETGEN version 5.3, calculated: 328448
CMake Warning at CMakeLists.txt:795 (message):
  Disable module flatmesh because it requires minimum Eigen3 version 3.3.1
  but version 3.2.5 was found


Using default python: -python2.7
libshiboken built for Release
Found PySide Tools: C:/Users/hvlan/OneDrive/FC_Dev/Libraries/FreeCADLibs_11.8_x64_VC12/bin/pyside-uic, C:/Users/hvlan/OneDrive/FC_Dev/Libraries/FreeCADLibs_11.8_x64_VC12/bin/pyside-rcc.exe
-- matplotlib-1.4.2 has been found.
Platform is 64-bit, set -D_OCC64
git
C:/Users/hvlan/OneDrive/FC_Dev/FC_Master/Build/src/Build/Version.h written

CMake Error at src/Base/CMakeLists.txt:365 (message):
  Using external zipios++ was specified but was not found.


Configuring incomplete, errors occurred!
See also "C:/Users/hvlan/OneDrive/FC_Dev/FC_Master/Build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/hvlan/OneDrive/FC_Dev/FC_Master/Build/CMakeFiles/CMakeError.log".
Could somebody please push me in the right direction?

Thanks, Harry
User avatar
HarryvL
Veteran
Posts: 1337
Joined: Sat Jan 06, 2018 7:38 pm
Location: Netherlands

Re: Cmake Error FC 0.18 (SMESH and ZIPIOS)

Post by HarryvL »

OOPS ... I must have accidentally ticked FREECAD_BUILD_DEBIAN. After switching this off CMake does the job. :oops: :D
Post Reply