Chris

Results 260 comments of Chris

it looks like `spacenavcfg` is built on top of `spacenavd` (please correct me if i'm wrong) and spacenavd is not macos compatible https://github.com/FreeSpacenav/spacenavd/issues/70

@luzpaz are you asking for option to build/compile freecad with IfcOpenShell support? a quick search, and i came across this, https://github.com/IfcOpenShell/IfcOpenShell/issues/1074 and i assume you're looking for something along the...

https://gitlab.kitware.com/cmake/cmake/-/issues/21854 may be helpful as well, https://stackoverflow.com/a/71753248/708807 https://successfulsoftware.net/2012/08/30/how-to-sign-your-mac-os-x-app-for-gatekeeper/ https://github.com/OpenBoardView/OpenBoardView/issues/239 https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html https://stackoverflow.com/questions/24023639/xcode-command-usr-bin-codesign-failed-with-exit-code-1-errsecinternalcomponen

it seems there is a similar take on how mac app bundling is done, but the below approach uses a shell script instead of python but seems the project is...

following the instructions on their README ``` cmake \ -DOCC_LIBRARY_DIR=$bp/opt/opencascade/lib \ -DOCC_INCLUDE_DIR=$bp/opt/opencascade/include/opencascade \ -DCOLLADA_SUPPORT=0 \ -DCGAL_INCLUDE_DIR=$bp/opt/cgal/include \ -DGMP_LIBRARY_DIR=$bp/opt/gmp/lib \ -DMPFR_LIBRARY_DIR=$bp/opt/mpfr/lib \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=../../installs/v0.7.0 \ -L \ ../../src/cmake; make -j...

@ageeye you care to share cmake commands you're using to build a self contained mac app bundle for `FreeCAD.app` ?

> > progress... > > I'm running into the same problem. How did you get the app to open? Manually using `codesign`? by not updating the loader paths for the...

> ah. Is there a cmake option to skip that step? not that i'm aware of.

@MatthiasWM ``` + qt_path = [] + #qt_path.append("/opt/homebrew/Cellar/qt@5/5.15.5_2/lib/" + lib_name + ".framework") + qt_path.append("/opt/homebrew/Cellar/qt/6.3.1_3/lib/" + lib_name + ".framework") + if not path: + path = get_path(lib_name, qt_path) ``` you might...