---
https://github.com/FreeCAD/homebrew-fre ... -26155.dmg
---
i've been trying my best to make sure most if not all things are working. that release seems to have more things working and included than the prior release or two that i have posted.
however something i have noticed is the addon manager appears to not work ie. i'm experiencing some runtime related issues using the addon manager. take a quick look at my app bundle, comparing and contrasting to the conda released bundles i see the conda releases are including a GitPython module that my bundle seems to be missing.
Code: Select all
cd /Applications/freecads/FreeCAD-0.20-26155-git.app/Contents/Resources
fd -t f 'gitpython'
Code: Select all
/Applications/freecads/FreeCAD.conda.0.20.26155.app/Contents/Resources
fd -t f 'gitpython'
conda-meta/gitpython-3.1.24-pyhd8ed1ab_0.json
i'm building freecad from git source and have most if not all dependencies installed via macos homebrew some from the provided tap others from upstream homebrew-core.
---
my cmake args look like the below
Code: Select all
cmake \
-DHOMEBREW_PREFIX=$bp \
-DPYTHON_EXECUTABLE="$bp/bin/python3" \
-DPYTHON_INCLUDE_DIR=\
$bp/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 \
-DBUILD_SMESH=1 \
-DBUILD_FEM_NETGEN=ON \
-DCMAKE_PREFIX_PATH=\
"$bp/Cellar/vtk@8.2/8.2.0_7/lib/cmake;\
$bp/Cellar/qt@5/5.15.2_1/lib/cmake;\
$bp/Cellar/pyside@2/5.15.2_1/lib/cmake;\
$bp/Cellar/hdf5@1.10/1.10.7_1/lib;\
$bp/Cellar/nglib@6.2.2104/6.2.2104_1/Contents/Resources/CMake;" \
-DCMAKE_INSTALL_PREFIX="/opt/beta/freecad/amd64/release" \
-DFREECAD_CREATE_MAC_APP=1 \
-DCMAKE_BUILD_TYPE=Release \
-DINSTALL_TO_SITEPACKAGES=1 \
../freecad-src/
---
doing a internet searches i came across a forum thread where the cmake args for the conda build were posted as the below
Code: Select all
cmake -G "Ninja" \
-D BUID_WITH_CONDA:BOOL=ON \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX:FILEPATH=$PREFIX \
-D CMAKE_PREFIX_PATH:FILEPATH=$PREFIX \
-D CMAKE_LIBRARY_PATH:FILEPATH=$PREFIX/lib \
-D CMAKE_INSTALL_LIBDIR:FILEPATH=$PREFIX/lib \
-D CMAKE_INCLUDE_PATH:FILEPATH=$PREFIX/include \
-D BUILD_QT5:BOOL=ON \
-D FREECAD_USE_OCC_VARIANT="Official Version" \
-D OCC_INCLUDE_DIR:FILEPATH=$PREFIX/include \
-D USE_BOOST_PYTHON:BOOL=OFF \
-D FREECAD_USE_PYBIND11:BOOL=ON \
-D BUILD_ENABLE_CXX11:BOOL=ON \
-D SMESH_INCLUDE_DIR:FILEPATH=$PREFIX/include/smesh \
-D FREECAD_USE_EXTERNAL_SMESH=ON \
-D BUILD_FLAT_MESH:BOOL=ON \
-D BUILD_WITH_CONDA:BOOL=ON \
-D PYTHON_EXECUTABLE:FILEPATH=$PREFIX/bin/python \
-D BUILD_FEM_NETGEN:BOOL=ON \
-D BUILD_PLOT:BOOL=OFF \
-D BUILD_SHIP:BOOL=OFF \
-D OCCT_CMAKE_FALLBACK:BOOL=OFF \
-D FREECAD_USE_QT_DIALOG:BOOL=ON \
-D BUILD_DYNAMIC_LINK_PYTHON:BOOL=OFF \
-D Boost_NO_BOOST_CMAKE:BOOL=ON \
-D FREECAD_USE_PCL:BOOL=ON \
-D INSTALL_TO_SITEPACKAGES:BOOL=ON \
${CMAKE_PLATFORM_FLAGS[@]} \
..
i'll link to a screenshot below showing what i presently seeing in regards to the addon manager.