The saga of C-tool chain keeps continuing!
This is so fragile.
Yesterday I renamed my FC directory and followed my notes above and
though the CMake worked the compilation failed with a missing QtInfo member.
So CMake had picked up wrong Qt (/usr/local/Qt/4.8.1-macosx105 ??) I guess,
although I thought I had removed all other version from my system.
So for posterity here is what worked for me this (!) time.
Completely remove homebrew with script from here:
Code: Select all
https://raw.githubusercontent.com/Homebrew/install/master/install)"
Re install homebrew like this:
Code: Select all
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
And then installing the dependencies like this:
Code: Select all
brew install --only-dependencies freecad
brew install --only-dependencies freecad #Ensure all dependencies are satisfied
brew install qt5
brew install eigen
And finally CMake like this:
Code: Select all
cmake -DCMAKE_PREFIX_PATH=/usr/local/opt/qt -DBUILD_QT5="1" -DBUILD_ROBOT="0" -DFREECAD_USE_EXTERNAL_PIVY="1" -DBUILD_FEM_NETGEN="1" -DFREECAD_CREATE_MAC_APP="1" ../FreeCAD-git
Altogether in the past nine months I've spent more time configuring my
compilation environment and re-compiling stuff than what it has taken
me to code my contribution effort (NaviCube) to FreeCAD. What a waste
of human effort. Thanks for letting me vent my frustration here although
this is not really FreeCAD project's fault at all, as C/C++ projects go
FC is easy to compile.
cheers Kusti