bug macos build time issue

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
ipatch
Posts: 112
Joined: Wed Apr 08, 2020 3:40 pm
Location: dfw
Contact:

bug macos build time issue

Post by ipatch »

using homebrew deps provided by the homebrew-freecad tap the build will fail using the below cmake dance,

Code: Select all

cmake \                                                                                                                                 0 (14.552s)
-DHOMEBREW_PREFIX=$bp \
-DPYTHON_EXECUTABLE="$bp/opt/python@3.10/bin/python3" \
-DPYTHON_INCLUDE_DIR="$bp/opt/python@3.10/Frameworks/Python.framework/Headers" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_FEM_NETGEN=0 \
-DFREECAD_USE_3DCONNEXION=0 \
-DBUILD_QT5=1 \
-DBUILD_ENABLE_CXX_STD=C++17 \
-Wno-dev \
-DFREECAD_CREATE_MAC_APP=1 \
-DCMAKE_INSTALL_PREFIX="$code/freecad-git/installs/$(basename $PWD)" \
-DCMAKE_PREFIX_PATH="$pthvtk;$pthqt;" \
../../freecad-src/

Code: Select all

make

Code: Select all

make install
should be an easy fix, as this is something i've resolved many times locally with my builds. opening thread, forum discussion as the github issue tracker requests starting a forum thread.
chrisb
Veteran
Posts: 54313
Joined: Tue Mar 17, 2015 9:14 am

Re: bug macos build time issue

Post by chrisb »

ipatch wrote: Mon Oct 03, 2022 10:03 pm should be an easy fix, as this is something i've resolved many times locally with my builds.
Would you mind adding your fix as a pull request?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
ipatch
Posts: 112
Joined: Wed Apr 08, 2020 3:40 pm
Location: dfw
Contact:

Re: bug macos build time issue

Post by ipatch »

chrisb wrote: Mon Oct 03, 2022 10:18 pm
ipatch wrote: Mon Oct 03, 2022 10:03 pm should be an easy fix, as this is something i've resolved many times locally with my builds.
Would you mind adding your fix as a pull request?
https://github.com/FreeCAD/FreeCAD/pull/7553
Post Reply