FreeCAD 0.19: macOS Big Sur: stuck on launch

Having trouble installing or compiling FreeCAD? Get help here.
Anno Me Nuehm
Posts: 9
Joined: Tue Oct 20, 2020 8:50 am

FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby Anno Me Nuehm » Tue Oct 20, 2020 9:00 am

Hi,

I'm running macOS 11.0 Beta (Big Sur) on my Mac for some time now. Prior to upgrading to Big Sur I had macOS Catalina deployed, in conjunction with FreeCAD 0.19.

FreeCAD 0.19 with Catalina worked like a charm, but after migrating to Big Sur, FreeCAD 0.19 ceased to work. Whenever launching FC it is getting stuck. Reverting to FC 0.18, and all is working perfectly fine.

When digging into the system logs, some FC-related lines pop up.

Code: Select all

Oct 20 10:18:20 My-Mac freecad[83655]: getattrlist failed for /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsGLDriver: #2: No such file or directory
Oct 20 10:18:20 My-Mac-03 freecad[83655]: getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
Having a look around in the directories listed, the directories can be found, but the files mentioned are missing.

Is there anything I can do to tackle this one and get FC 0.19 up & running again?

-- Anno
chrisb
Posts: 30703
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby chrisb » Tue Oct 20, 2020 11:54 am

Hi and welcome to the forum!

Apple doesn't support OpenGL anymore. On their official list of supported hardware are some computers already missing. I'm afraid you are a victim of that politic, and the fact that 0.19 uses different libraries.
You need at least FreeCAD 0.19.23300 to edit my current sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Anno Me Nuehm
Posts: 9
Joined: Tue Oct 20, 2020 8:50 am

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby Anno Me Nuehm » Tue Oct 20, 2020 1:59 pm

Thanks!

Question begging: is FC 0.18 not using OpenGL?

If it does then how comes FC 0.18 is working on macOS 11, but FC 0.19 doesn't?

I understand that the assembly4 workbench requires FC 0.19? So sticking with FC 0.18 wouldn't be an option, would it?
chrisb
Posts: 30703
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby chrisb » Tue Oct 20, 2020 4:10 pm

Anno Me Nuehm wrote:
Tue Oct 20, 2020 1:59 pm
Question begging: is FC 0.18 not using OpenGL?
It does use OpenGL as well
If it does then how comes FC 0.18 is working on macOS 11, but FC 0.19 doesn't?
I am neither familiar with the Appl-OpenGL politics not am I an OpenGL specialist or an Qt expert. But I can imagine that with 0.19 the libraries use different functions. Many things concerning driver issues have vanished in 0.19, so they shure changed some internals. For more details you may ask Apple about their OpenGL support.
You need at least FreeCAD 0.19.23300 to edit my current sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
vejmarie
Posts: 706
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby vejmarie » Tue Oct 20, 2020 6:39 pm

How did you installed 0.19 ? I am interested to have a look to this issue. I am running 0.19 on Big Sur beta without any issue, but I am using a MacPro (the bathroom trashcan)
Anno Me Nuehm
Posts: 9
Joined: Tue Oct 20, 2020 8:50 am

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby Anno Me Nuehm » Tue Oct 20, 2020 7:00 pm

Hi,

I've just downloaded the dmg from the FC web site, copied the FC app to a local directory, and launched it from there. Then I had to accept an exception to the privacy rules as the app originated from an unidentified developer.

On my Mac Mini I'm having installed several things, amongst others home brew & pyenv.
chrisb
Posts: 30703
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby chrisb » Tue Oct 20, 2020 7:01 pm

The MacPro 2019 is still listed here, while the current MacBookPro is not: https://support.apple.com/de-de/HT202823.
You need at least FreeCAD 0.19.23300 to edit my current sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Posts: 30703
Joined: Tue Mar 17, 2015 9:14 am

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby chrisb » Tue Oct 20, 2020 7:08 pm

This program may help to identify the capabilities concerning OpenGL: https://apps.apple.com/de/app/opengl-ex ... 2073?mt=12.

This is what it shows on my MacBook Pro with MacOS 10.15.7:
Attachments
Bildschirmfoto 2020-10-20 um 21.09.53.png
Bildschirmfoto 2020-10-20 um 21.09.53.png (88.69 KiB) Viewed 3471 times
You need at least FreeCAD 0.19.23300 to edit my current sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
vejmarie
Posts: 706
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby vejmarie » Tue Oct 20, 2020 11:22 pm

Anno Me Nuehm wrote:
Tue Oct 20, 2020 7:00 pm
Hi,

I've just downloaded the dmg from the FC web site, copied the FC app to a local directory, and launched it from there. Then I had to accept an exception to the privacy rules as the app originated from an unidentified developer.

On my Mac Mini I'm having installed several things, amongst others home brew & pyenv.
I suspect this is more an XCode / OS build time related issue than anything else especially if 0.18 works. If you want to give a try to the homebrew build and let me know if that works better. be aware that the installation might be requiring that your recompile opencascade and freecad to support properly BigSur. It take times, but it will work I am pretty convinced.
Anno Me Nuehm
Posts: 9
Joined: Tue Oct 20, 2020 8:50 am

Re: FreeCAD 0.19: macOS Big Sur: stuck on launch

Postby Anno Me Nuehm » Wed Oct 21, 2020 4:03 am

vejmarie wrote:
Tue Oct 20, 2020 11:22 pm
I suspect this is more an XCode / OS build time related issue than anything else especially if 0.18 works. If you want to give a try to the homebrew build and let me know if that works better. be aware that the installation might be requiring that your recompile opencascade and freecad to support properly BigSur. It take times, but it will work I am pretty convinced.
Do I need the qt5 development files (headers, libraries) for the re-compiling of FC?

How would I go about tapping the FC 0.19 branch?