[Bug 266280] cad/opencascade: cmake fails to discover opencascade
Date: Wed, 07 Sep 2022 18:46:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266280
Bug ID: 266280
Summary: cad/opencascade: cmake fails to discover opencascade
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: yuri@freebsd.org
This CMakeLists.txt:
> cmake_minimum_required(VERSION 3.12)
> find_package(OpenCASCADE REQUIRED)
fails during OpenCASCADE discovery:
> $ cmake -DOpenCASCADE_DIR=/usr/local/lib/cmake .
> CMake Error at /usr/local/lib/cmake/OpenCASCADEFoundationClassesTargets.cmake:79 (message):
> The imported target "TKernel" references the file
>
> "/usr/local/lib${OCCT_INSTALL_BIN_LETTER}/libTKernel.so.7.6.0"
>
> but this file does not exist. Possible reasons include:
>
> * The file was deleted, renamed, or moved to another location.
>
> * An install or uninstall procedure did not complete successfully.
>
> * The installation package was faulty and contained
>
> "/usr/local/lib/cmake/OpenCASCADEFoundationClassesTargets.cmake"
>
> but not all the files it references.
>
> Call Stack (most recent call first):
> /usr/local/lib/cmake/OpenCASCADEConfig.cmake:101 (include)
> CMakeLists.txt:10 (find_package)
opencascade-7.6.0_6
cmake-3.23.3
FreeBSD 13.1
--
You are receiving this mail because:
You are the assignee for the bug.