Skip to content

Updating installation requirments for opencascade and cmake version  #968

@fslurrehman

Description

@fslurrehman

Hi,

Two updates are required.

  1. Version in install.md for opencascade
  2. cmake version

There is need of updating installation requirement for opencascade version from 7.4.0 to 7.5.0. The compilation requires 7.5.0. It confused me as I downloaded and compiled 7.4 and then faced this issue in compilation of pythonocc.

Also the cmake_policy(SET CMP0086 OLD) in CMakeList.txt is not recognized in cmake 3.12 and 3.13.4 (which I have in debian). Also there is error of some missing target in cmake building processing when cmake run code at line 261 for Model Toolkits. There are many errors regarding swig like:
Cmake Error at /usr/share/cmake-3.13/Modules/Use SWIG.cmake:665 (add_library):Target "_ShapeProcess" links to target "Python3::Module" but the target wasnot found. Perhaps a find_package() call is missing for an IMPORTEDtarget, or an ALIAS target is missing

These error of old cmake policy and target were resolved when I downloaded and used latest version of cmake.org.

I was compiling source from github.

Regards,

FR

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions