How to build on macOS ARM?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: How to build on macOS ARM?
On a different note: I'm working on getting my Homebrew/Xcode build working again, to give app signing and App Store distribution another go round. I'm not there yet, but so far the big thing I had to fight with was getting a version of libTbb working: to do so I had to grab a copy of the Ruby file for Tbb@2020, copy it into freecad/freecad/Tbb@2020 and remove the line that marks it as deprecated. I also had to fight with CMake a bit to get it to find nglib, I ended up manually setting all of the NGLIB-related variables to the various things that SMESH needs.
Re: How to build on macOS ARM?
Has anyone of you looked into using CMakePresets.json files for a shared build setup? Maybe this is a viable way to reach a unified macOS build env.
See:
https://cmake.org/cmake/help/latest/man ... ets.7.html
https://binghanlin.github.io/2022/CMake ... nd-VSCode/
https://pspdfkit.com/blog/2021/cmake-pr ... -practice/
See:
https://cmake.org/cmake/help/latest/man ... ets.7.html
https://binghanlin.github.io/2022/CMake ... nd-VSCode/
https://pspdfkit.com/blog/2021/cmake-pr ... -practice/
Re: How to build on macOS ARM?
Has anybody succeeded in building a working FreeCAD for ARM that really uses the SpaceMouse? My build runs and I can see the settings for the SpaceMouse, but no events come through.
Re: How to build on macOS ARM?
Has anybody succeeded in building a working FreeCAD for ARM that really uses the SpaceMouse? My build runs and I can see the settings for the SpaceMouse, but no events come through. If so, could you please post the steps to build and the generated configurations? Or does someone have a hint what may be wrong? My Mouse is also recognized in the log file...
Re: How to build on macOS ARM?
I am convinced that this isn't working as expected on macOS at this time. I can confirm that the SpaceMouse works fine in other applications and the demos. I do not yet know the underlying problem, but I believe that it is not simply a build configuration issue.
Re: How to build on macOS ARM?
If I understood correctly, @chennes wrote he had the SpaceMouse working on his M2 Mac (in this thread), so I figure it is possible somehow.
Re: How to build on macOS ARM?
Now, I got it working by using the 3Dconnexion drivers 10.7.0. Link is here: https://download.3dconnexion.com/driver ... _r3411.dmg
Re: How to build on macOS ARM?
I can confirm that it works with 10.7.0, but not with later versions of the driver.
Re: How to build on macOS ARM?
So, for me it remains to be able to build a Mac app image again. How is this done?
Re: How to build on macOS ARM?
Not sure if your message is regarding a specifically packaged app, or just to get FreeCAD running on an arm Mac? For the later, I've had very good luck following the instructions that @oursland created here: https://github.com/oursland/FreeCAD-Build-Notes
To make a launch-able Mac app, I used Automator, as described in the section "Creating a macOS Application from a Conda Installation" from this set of instructions here: https://www.makewithtech.com/post/freec ... s-on-macos
John