If built against opencascade-7.8.0, FreeCAD-0.21.2_2 fails with the following errors: ld: error: unable to find library -lTKIGES ld: error: unable to find library -lTKSTL ld: error: unable to find library -lTKSTEPBase ld: error: unable to find library -lTKSTEPAttr ld: error: unable to find library -lTKSTEP209 ld: error: unable to find library -lTKSTEP ld: error: unable to find library -lTKXDESTEP ld: error: unable to find library -lTKXDEIGES c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [lib/libMEFISTO2.so] Error code 1
I have not seen a new release, but this commit should fix it: <https://github.com/FreeCAD/FreeCAD/pull/11909/commits/8d94e48921be080de4e0b44abeb642d57d38512f> Would you prefer to apply it to the port, or maybe just upgrade to the corresponding tag?
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7204a27e234abe2f5179f8b10af2c904b33c9f13 commit 7204a27e234abe2f5179f8b10af2c904b33c9f13 Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2024-03-21 17:43:34 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2024-03-21 18:01:19 +0000 cad/freecad: upgrade to 0.22.0dev and support OCCT 7.8.0 Upgrade to the tag corresponding to #11909, in order to support OpenCascade 7.8.0. <https://github.com/FreeCAD/FreeCAD/pull/11909/files> PR: 277315 Approved by: maintainer’s time-out cad/freecad/Makefile | 12 +- cad/freecad/distinfo | 6 +- ...h-cMake_FreeCAD__Helpers_SetupSalomeSMESH.cmake | 4 +- ...h-src_3rdParty_libE57Format_src_CheckedFile.cpp | 4 +- ...arty_salomesmesh_src_SMDS_SMDS__Mesh.cpp (gone) | 11 - cad/freecad/files/patch-src_Gui_CMakeLists.txt | 4 +- cad/freecad/files/patch-src_Gui_Selection.h | 4 +- .../files/patch-src_Gui_SoFCCSysDragger.cpp | 18 +- cad/freecad/pkg-plist | 528 ++++++++++++++------- 9 files changed, 380 insertions(+), 211 deletions(-)
Just committed, with an upgrade including the needed patches.