Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Sep 2022 18:46:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266280] cad/opencascade: cmake fails to discover opencascade
Message-ID:  <bug-266280-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266280

            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=3D/usr/local/lib/cmake .
> CMake Error at /usr/local/lib/cmake/OpenCASCADEFoundationClassesTargets.c=
make:79 (message):
>   The imported target "TKernel" references the file
>=20
>      "/usr/local/lib${OCCT_INSTALL_BIN_LETTER}/libTKernel.so.7.6.0"
>=20
>   but this file does not exist.  Possible reasons include:
>=20
>   * The file was deleted, renamed, or moved to another location.
>=20
>   * An install or uninstall procedure did not complete successfully.
>=20
>   * The installation package was faulty and contained
>=20
>      "/usr/local/lib/cmake/OpenCASCADEFoundationClassesTargets.cmake"
>=20
>   but not all the files it references.
>=20
> 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266280-7788>