If built against opencascade-7.8.0, kicad-devel-r20230622153548_7 fails with the following error: -- Found OCC: /usr/local/include/OpenCASCADE (found version "7.8.0") *** OpenCascade library missing *** Could not find a library for TKIGES at /usr/local/lib Verify your OpenCascade installation or pass CMake the library directory as '-DOCC_LIBRARY_DIR=<path>' CMake Error at cmake/FindOCC.cmake:192 (message): Call Stack (most recent call first): CMakeLists.txt:784 (find_package) -- Configuring incomplete, errors occurred! *** Error code 1 Remark: same error in cad/kicad.
Created attachment 248764 [details] Patch from Johannes Thyssen Tishman Johannes Thyssen Tishman proposed a patch for the OpenBSD port, available at <https://www.mail-archive.com/ports@openbsd.org/msg123137.html>.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7632031eb3a9c542cdab66527b459790004cdf91 commit 7632031eb3a9c542cdab66527b459790004cdf91 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2024-03-17 14:39:52 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-03-21 18:01:18 +0000 cad/kicad-devel: support of OpenCascade 7.8.0 Patch from OpenBSD by Johannes Thyssen Tishman. PR: 277311 Approved by: maintainer’s time-out cad/kicad-devel/Makefile | 2 +- .../files/patch-cmake_FindOCC.cmake (new) | 35 ++++++++++++++++++++++ cad/kicad-devel/files/patch-include-kiway.h | 4 +-- ...tch-pcbnew_import__gfx_dxf__import__plugin.cpp} | 20 +++++++++---- .../files/patch-thirdparty_glew_CMakeLists.txt | 6 ++-- .../files/patch-thirdparty_nanodbc_CMakeLists.txt | 11 ++----- 6 files changed, 57 insertions(+), 21 deletions(-)
Just committed!