Search found 66 matches

by federico.carminati
Tue Apr 03, 2018 12:06 pm
Forum: Install / Compile
Topic: Cannot compile FreeCad on MacOS X
Replies: 19
Views: 4770

Re: Cannot compile FreeCad on MacOS X

With the latest version the command has changed a bit cmake -DBUILD_QT5=1 -DFREECAD_USE_EXTERNAL_KDL=1 -DBUILD_FEM_NETGEN=1 -DFREECAD_CREATE_MAC_APP=1 -DCMAKE_BUILD_TYPE="Release" -DCMAKE_PREFIX_PATH='/usr/local/opt/qt/lib/cmake;/usr/local/opt/qtwebkit/lib/cmake' -DCMAKE_INSTALL_PREFIX=/Ap...
by federico.carminati
Tue Apr 03, 2018 10:51 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

This should be part of the Darwin framework. I have OPENGL_INCLUDE_DIR /System/Library/Frameworks/OpenGL.framework OPENGL_gl_LIBRARY /System/Library/Frameworks/OpenGL.framework OPENGL_glu_LIBRARY /System/Library/Frameworks/OpenGL.framework and cmake finds it by itself.
by federico.carminati
Tue Apr 03, 2018 10:38 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

Correct, and the dependency which is installed is python2.7, which is correct.
by federico.carminati
Tue Apr 03, 2018 8:54 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

OK, I zapped everything and reinstalled. It worked "almost" out of the box: Fasteners workbench Loaded During initialization the error "'RaytracingWorkbench' already exists." occurred in /Applications/FreeCAD.app/Contents/Mod/JtReader/InitGui.py Please look into the log file for ...
by federico.carminati
Mon Apr 02, 2018 5:38 pm
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

Since I was not getting anywhere, I reinstalled EVERYTHING, but home-brew stopped immediately This formula was found in a tap: caskroom/cask/freecad To install it, run: brew install caskroom/cask/freecad [/Users/fca] brew install --only-dependencies caskroom/cask/freecad I hope I am doing this right...
by federico.carminati
Mon Apr 02, 2018 6:34 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

But it still fails with [...r/local/FreeCAD/build] lldb -c /cores/core.4030 (lldb) target create --core "/cores/core.4030" Traceback (most recent call last): File "<input>", line 1, in <module> File "/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2....
by federico.carminati
Sun Apr 01, 2018 8:41 pm
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

Sorry, I had some old crap around. However I still have to run the following line for i in `grep -Rl gnu++11 .` ; do sed -e 's/++11/++14/g' < $i > /tmp/junk ; mv /tmp/junk $i ; done otherwise compilation fails. Also installation fails with the following error CMake Error at src/MacAppBundle/cmake_in...
by federico.carminati
Sun Apr 01, 2018 8:14 pm
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

Thanks For your answer. i have followed your instructions but compilation fails with In file included from /usr/local/FreeCAD/FreeCAD-git/src/3rdParty/salomesmesh/src/NETGENPlugin/NETGENPlugin_Mesher.cpp:80: In file included from /usr/local/include/netgen/occ/occgeom.hpp:12: In file included from /u...
by federico.carminati
Sat Mar 31, 2018 9:31 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

Hello apparently the latest pull of FreeCAD master has broken the installation I have the following error CMake Error at src/MacAppBundle/cmake_install.cmake:69 (file): file INSTALL cannot find "/usr/local/FreeCAD/FreeCAD-git/src/MacAppBundle/import site". Call Stack (most recent call firs...
by federico.carminati
Mon Mar 26, 2018 8:10 am
Forum: Install / Compile
Topic: Upgrade nightmare with FreeCAD
Replies: 28
Views: 4704

Re: Upgrade nightmare with FreeCAD

OK, I finally managed to compile FreeCAD with the latest NetGen and the latest opencascade. Here is the tricks I had to play ln -sf /Applications/Netgen.app/Contents/Resources/include/* /usr/local/include/ ln -sf /Applications/Netgen.app/Contents/Resources/include/include /usr/local/include/netgen/c...