FreeCAD 0.20.28574 (Git) DMG app bundle
This release contains a working copy of FreeCAD.app
for x86_64 processors, and should run on macOS Mojave (10.14) and later.
below is the output of the Copy to clipboard from running the bundle on my local macbook.
OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.20.28575 (Git)
Build type: Release
Branch: ipatch.builds.master.head
Hash: 381a7a821fdd685077b7de7fe2dd0327d55e42a9
Python 3.9.10, Qt 5.15.2, Coin 4.0.0, OCC 7.5.3
Locale: English/United States (en_US)
this release contains one additional fix to get the mac app bundling working due to current upstream issues.
Testing on my build box, and daily driver, I did not experience the issues previously mentioned about the Addon Manager, things should just work now. 🤞
pyNastran
thus preventing the test suite from finishing because PyNastron
has a dependency on scipy
and scipy
has an issue when attempting to copy files into the app bundle due to arm64 references on an intel processor. further investigation required from manually testing the workbenches everything seems to load.
mac app bundling error message ❌
- INFO: Bundling /Users/brewmaster/homebrew/lib/libgdbm_compat.4.dylib
-- INFO: Updating dynamic loader paths...
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: no LC_RPATH load command with path: /usr/local/lib found in: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/lib/python3.9/site-packages/scipy/odr/__odrpack.cpython-39-darwin.so (for architecture arm64), required for specified option "-delete_rpath /usr/local/lib"
Traceback (most recent call last):
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeMacBundleRelocatable.py", line 388, in <module>
main()
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeMacBundleRelocatable.py", line 380, in main
graph.visit(add_rpaths, [bundle_path])
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeMacBundleRelocatable.py", line 83, in visit
operation(self, self.graph[node_key], *op_args)
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeacBundleRelocatable.py", line 303, in add_rpaths
check_call(["install_name_tool", "-delete_rpath", rpath, lib])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['install_name_tool', '-delete_rpath', '/usr/local/lib', '/opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/lib/python3.9/site-packages/scipy/odr/__odrpack.cpython-39-darwin.so']' returned non-zero exit status 1
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/License.txt
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/Schenkel.stp
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/draft_test_objects.FCStd
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/EngineBlock.FCStd
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/PartDesignExample.FCStd
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/RobotExample.FCStd
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/ArchDetail.FCStd
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/FemCalculixCantilever2D.FCStd
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/FemCalculixCantilever3D.FCStd
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/FemCalculixCantilever3D_newSolver.FCStdM
freecad test suite error message ❌ without pyNastran installed
test_00print (femtest.app.test_object.TestObjectCreate) ...
****************************************************************************************************
********** run FEM TestObjectCreate tests **********************************************************
****************************************************************************************************
ok
Module to read results not found.
Module pyNastran not found. Writing Mystran solver input will not be work.
test_femobjects_make (femtest.app.test_object.TestObjectCreate) ... doc objects count: 56, method: test_femobjects_make
Save FreeCAD all objects file to /var/folders/f7/qpd710l91bvcz5f6lbpm1p840000gn/T/FEM_unittests/objects_create_all_5a053b278e97/all_objects.FCStd ...
fish: Job 1, '/Applications/freecads/my.cmake…' terminated by signal SIGSEGV (Address boundary error)
freecad bundling error message with pyNastran installed via homebrew's pip ❌
-- INFO: Updating dynamic loader paths...
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: no LC_RPATH load command with path: /usr/local/lib found in: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/lib/python3.9/site-packages/scipy/odr/__odrpack.cpython-39-darwin.so (for architecture arm64), required for specified option "-delete_rpath /usr/local/lib"
Traceback (most recent call last):
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeMacBundleRelocatable.py", line 388, in <module>
main()
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeMacBundleRelocatable.py", line 380, in main
graph.visit(add_rpaths, [bundle_path])
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeMacBundleRelocatable.py", line 83, in visit
operation(self, self.graph[node_key], *op_args)
File "/opt/code/freecad-git/freecad-src/src/Tools/MakeMacBundleRelocatable.py", line 303, in add_rpaths
check_call(["install_name_tool", "-delete_rpath", rpath, lib])
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['install_name_tool', '-delete_rpath', '/usr/local/lib', '/opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/lib/python3.9/site-packages/scipy/odr/__odrpack.cpython-39-darwin.so']' returned non-zero exit status 1
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/License.txt
-- Up-to-date: /opt/code/freecad-git/installs/build.master.head2/FreeCAD.app/Contents/share/examples/Schenkel.stp
I used the below cmake command to assemble this release, after installing necessary freecad dependencies via homebrew.
export CC=$bp/opt/llvm@13/bin/clang
export CXX=$bp/opt/llvm@13/bin/clang++;
cmake \
-DHOMEBREW_PREFIX="$bp" \
-DPYTHON_EXECUTABLE="$bp/bin/python3" \
-DPYTHON_INCLUDE_DIR="$bp/opt/python@3.9/Frameworks/Python.framework/Headers" \
-DBUILD_QT5=1 \
-DCMAKE_PREFIX_PATH="$pthxercesc;$pthocc;$pthmedfile;$ptheigen;$pthqt;$pthcoin;$pthtbb;$pthspnav;$pthnetgen;" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_ENABLE_CXX_STD=C++17 \
-DFREECAD_CREATE_MAC_APP=1 \
-DFREECAD_USE_PYBIND11=1 \
-DBUILD_FEM_NETGEN=1 \
-DFREECAD_USE_3DCONNEXION=1 \
-DCMAKE_INSTALL_PREFIX="$code/freecad-git/installs/build.master.mar.20" \
../../freecad-src
The attached DMG contains the working FreeCAD.app
bundle, and the sha256sum for the DMG file is below,
e881a1afaa7aa271e0654041fb4f5390bbb4fdb99b648f0bc021a1c49dc3aa48
if there's anything I've left out, or if something isn't working with this release please open issue in this github rep
add looks like there's a new splash screen 😎