MacOS 11 crash

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

MacOS 11 crash

Post by OficineRobotica »

This is a response to this thread http://forum.freecadweb.org/viewtopic.p ... 3&start=10

Kurt Kremitzky recently picked up a Mac to better support packaging on Mac os. I think he could be of great help with this issue
https://twitter.com/thekurtwk/status/13 ... 72774?s=19 Sorry, I can't remember his name here on the forum.

I'm posting here because somehow I'm not able to do it in the appropriate thread(blocked) . After the interested persons get the info this thread can be pretty much deleted. Just trying to give a helping hand. Cheers
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: MacOS 11 crash

Post by vocx »

OficineRobotica wrote: Tue Sep 22, 2020 6:23 am Kurt Kremitzky recently picked up a Mac to better support packaging on Mac os...
Wiki Directions for Mac Compile via Homebrew Not working
kkremitzki wrote: Sat Sep 19, 2020 2:58 pm I recently picked up a used Mac Mini to try to fix things up on that platform, specifically Homebrew, since that is perhaps the de facto FOSS distribution method, and hopefully after that getting it signed so people don't have to bypass an error message on installation, and possibly even into the app store.
vejmarie wrote: Tue Sep 22, 2020 12:28 am Just made a massive update to the homebrew formula. You shall be able to compile on Catalina with XCode 11.x without too many issues.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: MacOS 11 crash

Post by looo »

today I went to a mac shop, but actually there was no MacOS 11 available. So I tested on 10.15.6 and everything worked as expected.
Anyway there is already a conda qt5.15 package available which targets newer osx versions. As updating to qt5.15 is planned anyway I think marcos 11 support via conda-packages is not far away.

Anyway it would be nice if homebrew is going to be updated and fill the gap for macos11.

But announcing a macos crash on twitter smells a little bit strange to me :)
leonard shelby
Posts: 28
Joined: Sun Jun 21, 2015 9:57 am

Re: MacOS 11 crash

Post by leonard shelby »

Here's the QT Version from the last working git build on macOS 11 beta: 5.12.5
The QT Version from the latest, non working, git release: 5.12.9

I guess chances are high, that is already fixed until final macOS release with the next Qt update :)
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: MacOS 11 crash

Post by vejmarie »

If you want to give it a try you can test latest homebrew package which runs with Qt 5.15.1
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: MacOS 11 crash

Post by chrisb »

vejmarie wrote: Mon Sep 28, 2020 5:41 am If you want to give it a try you can test latest homebrew package which runs with Qt 5.15.1
Does this mean the Compile on MacOS wiki page is (more or less) valid again? That would be great.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
vejmarie
Posts: 713
Joined: Mon Jan 04, 2016 4:52 pm
Location: Somewhere between France, USA and Taiwan
Contact:

Re: MacOS 11 crash

Post by vejmarie »

Yes it means that the compile on MacOS page is more or less valid. I might be needing to review it, as I refactor some dependencies but the main principale is here. brew install -s freecad will work after taping the freecad/freecad formula ;). I do not have wiki access, otherwise I could update it.
chrisb
Veteran
Posts: 54302
Joined: Tue Mar 17, 2015 9:14 am

Re: MacOS 11 crash

Post by chrisb »

vejmarie wrote: Mon Sep 28, 2020 2:39 pm Yes it means that the compile on MacOS page is more or less valid.
I will give it a try during the next days.

Concerning wiki access: send a PM (private message) with your email address to
yorik and jmaustpc and Kunda1.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: MacOS 11 crash

Post by sgrogan »

chrisb wrote: Mon Sep 28, 2020 10:56 pm I will give it a try during the next days.
Holy smokes. Watch out FreeCAD world :)
"fight the good fight"
leonard shelby
Posts: 28
Joined: Sun Jun 21, 2015 9:57 am

Re: MacOS 11 crash

Post by leonard shelby »

I have tried to build with homebrew but it fails like this:

Code: Select all

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 1 formula.

Warning: You are using macOS 11.0.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.

==> Installing freecad from freecad/freecad
==> Cloning https://github.com/vejmarie/FreeCAD.git
Updating /Users/turbo/Library/Caches/Homebrew/freecad--git
==> Checking out branch cloud
Already on 'cloud'
Your branch is up to date with 'origin/cloud'.
HEAD is now at f550504 Fix MacOS build with boost 1.73 and updated Homebrew packages
==> cmake -DBUILD_QT5=ON -DUSE_PYTHON3=1 -DCMAKE_CXX_FLAGS='-std=c++14' -DBUILD_FEM_NETGEN=1 -DBUILD_FEM=1 -DCMA
Last 15 lines from /Users/turbo/Library/Logs/Homebrew/freecad/01.cmake:
  * libboost_python38-mt.a (3.8, Boost_PYTHON_VERSION=2.7)

  * libboost_python38.dylib (3.8, Boost_PYTHON_VERSION=2.7)

  * libboost_python38.a (3.8, Boost_PYTHON_VERSION=2.7)

Call Stack (most recent call first):
  /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake:258 (boost_find_component)
  /usr/local/Cellar/cmake/3.18.3/share/cmake/Modules/FindBoost.cmake:448 (find_package)
  src/Mod/Path/libarea/CMakeLists.txt:26 (find_package)


-- Configuring incomplete, errors occurred!
See also "/tmp/freecad-20200929-34437-18ivk33/Build/CMakeFiles/CMakeOutput.log".
See also "/tmp/freecad-20200929-34437-18ivk33/Build/CMakeFiles/CMakeError.log".

Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
Auto-bottling for homebrew-freecad tap formulae https://github.com/FreeCAD/homebrew-freecad/issues/63
Installation of freecad/qtwebkit fails on Mojave. https://github.com/FreeCAD/homebrew-freecad/issues/95

Error: You are using macOS 11.0.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.
Post Reply