and continuing with this clean machine..
Code: Select all
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
and three
Code: Select all
CMake Error in src/Gui/CMakeLists.txt:
Imported target "Shiboken2::libshiboken" includes non-existent path
"/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9
"
which I think I got rid of last time, but can't remember.
Build:
Code: Select all
clear
cd ~/freecad/build
: > CMakeError.log
rm CMakeCache.txt
export CC="/usr/local/opt/llvm/bin/clang"
export CXX="/usr/local/opt/llvm/bin/clang++"
cmake \
-DBUILD_ENABLE_CXX_STD:STRING=C++17 \
-Wno-dev \
-DUSE_PYTHON3=1 \
-DPYTHON_EXECUTABLE=/usr/local/bin/python3 \
-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG \
-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG \
-DCMAKE_INSTALL_PREFIX=/opt/beta/freecad \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/macOSX12.sdk \
-Wno-deprecated-declarations \
-DBUILD_FEM_NETGEN=1 \
-DBUILD_FEM=1 \
-DBUILD_TECHDRAW=0 \
-DFREECAD_USE_EXTERNAL_KDL=ON \
-DCMAKE_PREFIX_PATH="\
/usr/local;\
/usr/local/python@3.9;\
/usr/local/opt/qt@;\
/usr/local/opt/qt@5/bin;\
/usr/local/Cellar/qt@5/5.15.3/lib/cmake;\
/usr/local/opt/nglib@6.2.2104/Contents/Resources;\
/usr/local/opt/coin3d;\
/usr/local/opt/libspnav;\
/usr/local/opt/shiboken2@5.15.2;\
/usr/local/opt/boost/lib/cmake;\
/usr/local/opt/opencascade@7.5.3;\
/usr/local/opt/vtk@8.2;\
/usr/local/opt/icu4c;\
/usr/local/opt/nglib@6.2.2104;\
/usr/local/netgen;\
"\
-DSHIBOKEN_INCLUDE_DIR=/usr/local/opt/shiboken2@5.15.2 \
-DPYSIDE_INCLUDE_DIR=usr/local/opt/pyside2 \
-DFREECAD_CREATE_MAC_APP=1 \
~/freecad/src \
Output:
Code: Select all
% ./makefc
-- The C compiler identification is Clang 13.0.1
-- The CXX compiler identification is Clang 13.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/opt/llvm/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/opt/llvm/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Compiler: Clang, version: 13.0.1
-- Looking for GL/gl.h
-- Looking for GL/gl.h - not found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include fstream
-- Looking for C++ include fstream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for C++ include ios
-- Looking for C++ include ios - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Looking for C++ include iomanip
-- Looking for C++ include iomanip - found
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Force BOOST_PP_VARIADICS=1 for clang
-- prefix: /opt/beta/freecad
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib
-- cmake: 3.22.3
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.9.3") found components: doxygen missing components: dot
-- Detected Homebrew install at /usr/local
-- Found Python3: /usr/local/bin/python3.9 (found version "3.9.10") found components: Interpreter Development Development.Module Development.Embed
-- Found XercesC: /usr/local/lib/libxerces-c.dylib (found version "3.2.3")
-- Found ZLIB: /Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/usr/lib/libz.tbd (found version "1.2.11")
-- PyCXX found:
-- Headers: /Users/bernie/freecad/src/src
-- Sources: /Users/bernie/freecad/src/src/CXX
-- Version: 6.2.8
-- Found OCC: /usr/local/opt/opencascade@7.5.3/include/opencascade (found version "7.5.3")
-- -- Found OCE/OpenCASCADE version: 7.5.3
-- -- OCE/OpenCASCADE include directory: /usr/local/opt/opencascade@7.5.3/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/local/opt/opencascade@7.5.3/lib
-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/System/Library/Frameworks/OpenGL.framework
-- Found OpenGLU: /Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/System/Library/Frameworks/OpenGL.framework
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/local/include
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- We guess that libmed was built using hdf5-serial version
-- Checking for one of the modules 'hdf5-serial'
-- Found HDF5: /usr/local/lib/libhdf5.dylib;/usr/local/opt/szip/lib/libsz.dylib;/Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/usr/lib/libz.tbd;/Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/usr/lib/libdl.tbd;/Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/usr/lib/libm.tbd (found version "1.13.0")
-- Checking for one of the modules 'ompi-cxx'
-- Found Boost: /usr/local/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found suitable version "1.78.0", minimum required is "1.55") found components: filesystem program_options regex system thread date_time
-- Found Netgen: /usr/local/opt/nglib@6.2.2104/Contents/Resources/CMake
-- Performing Test CSTDIO_INCLUDE_TRY1
-- Performing Test CSTDIO_INCLUDE_TRY1 - Success
-- Found NETGEN version 6.2, calculated: 395832
-- Found SWIG: /usr/local/bin/swig (found version "4.0.2")
-- Found Eigen3: /usr/local/include/eigen3 (found suitable version "3.4.0", minimum required is "2.91.0")
-- Found Freetype: /usr/local/lib/libfreetype.dylib (found version "2.11.1")
-- Coin3D libraries found
-- Found Spnav: /usr/local/lib/libspnav.dylib
-- Shiboken2Config: Using default python: .cpython-39-darwin
-- Found PythonInterp: /usr/local/bin/python3.9 (found suitable version "3.9.10", minimum required is "3")
-- Found PythonLibs: /usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib (Required is at least version "3")
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9
'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: '-undefined dynamic_lookup'
-- libshiboken built for Release
-- PYTHON_CONFIG_SUFFIX: .cpython-39-darwin
-- libshiboken built for Release
-- ===============================================
PySide2 Python module found at /usr/local/lib/python3.9/site-packages/PySide2.
===============================================
-- Found Matplotlib: /usr/local/lib/python3.9/site-packages/matplotlib (found version "3.4.3")
-- Platform is 64-bit, set -D_OCC64
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Found Threads: TRUE
-- [E57] Revison ID: E57Format-2.2.1-x86_64-darwin
-- [E57] Building static library
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
-- Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES)
-- Could NOT find OpenMP (missing: OpenMP_C_FOUND OpenMP_CXX_FOUND)
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- Found Boost: /usr/local/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0") found components: python39
-- found Boost: 1_78
-- boost-incude dirs are: /usr/local/include
-- boost-python lib is:
-- boost_LIBRARY_DIRS is: /usr/local/lib
-- Boost_LIBRARIES is: Boost::python
-- area module (for Path Workbench) will be installed to: /opt/beta/freecad/FreeCAD.app/Contents/lib
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Note: Doxygen docs will look better with graphviz's dot installed.
-- Checking for module 'icu-uc'
-- Found icu-uc, version 70.1
find: /usr/local/Cellar/nglib: No such file or directory
--
==============
Summary report
==============
-- Build type: Release
-- Compiler: /usr/local/opt/llvm/bin/clang++ (13.0.1)
-- Flags: -Wall -Wextra -Wpedantic -Wno-write-strings -Wno-undefined-var-template
-- Standard: Requires C++17
-- Python: 3.9.10 [/usr/local/bin/python3.9] [.cpython-39-darwin]
-- PCL: not enabled
-- pybind11: not enabled
-- Boost: 1.78.0 (1.78.0)
-- XercesC: 3.2.3 [/usr/local/lib/libxerces-c.dylib] [/usr/local/include]
-- ZLIB: 1.2.11
-- PyCXX: 6.2.8 [/Users/bernie/freecad/src/src]
-- OCC: 7.5.3 [TKFillet;TKMesh;TKernel;TKG2d;TKG3d;TKMath;TKIGES;TKSTL;TKShHealing;TKXSBase;TKBool;TKBO;TKBRep;TKTopAlgo;TKGeomAlgo;TKGeomBase;TKOffset;TKPrim;TKSTEPBase;TKSTEPAttr;TKSTEP209;TKSTEP;TKHLR;TKFeat] [/usr/local/opt/opencascade@7.5.3/lib] [/usr/local/opt/opencascade@7.5.3/include/opencascade]
-- SMESH: build internal
-- MEDFile: 4.1.0 [/usr/local/lib/libmedC.dylib;/usr/local/lib/libmed.dylib] [/usr/local/include]
-- HDF5: 1.13.0
-- VTK: 8.2.0
-- NETGEN: 6.2.2104 (6.2.2104) [-DNO_PARALLEL_THREADS;-DOCCGEOMETRY;-DNETGEN_VERSION=395832] [] [/usr/local/opt/nglib@6.2.2104/Contents/Resources/include/include;/usr/local/opt/nglib@6.2.2104/Contents/Resources/include] [nglib] [/usr/local/opt/nglib@6.2.2104/Contents/Resources/include/include;/usr/local/opt/nglib@6.2.2104/Contents/Resources/include]
-- SWIG: 4.0.2
-- Eigen3 3.4.0
-- Qt5Core: 5.15.3
-- Qt5Network: 5.15.3
-- Qt5Xml: 5.15.3
-- Qt5XmlPatterns: 5.15.3
-- Qt5Widgets: 5.15.3
-- Qt5PrintSupport: 5.15.3
-- Qt5OpenGL: 5.15.3
-- Qt5Svg: 5.15.3
-- Qt5UiTools: 5.15.3
-- Qt5Concurrent: 5.15.3
-- Qt5WebEngineWidgets: 5.15.8
-- Shiboken2: 5.15.2 [/usr/local/lib/cmake/Shiboken2-5.15.2] [/usr/local/include/shiboken2;/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9
]
-- PySide2: 5.15.2 [usr/local/opt/pyside2]
-- PySide2Tools: [/usr/local/Cellar/qt@5/5.15.3/bin/uic] [/usr/local/Cellar/qt@5/5.15.3/bin/rcc]
-- Freetype: 2.11.1
-- OpenGL: /Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/System/Library/Frameworks/OpenGL.framework
-- OpenGLU: [/Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/System/Library/Frameworks/OpenGL.framework][/Library/Developer/CommandLineTools/SDKs/macOSX12.sdk/System/Library/Frameworks/OpenGL.framework]
-- Coin3D: 4.0.0 [/usr/local/lib/libCoin.dylib] [/usr/local/include]
-- Pivy: 0.6.6
-- SPNAV: [/usr/local/lib/libspnav.dylib] [/usr/local/include]
-- Matplotlib: 3.4.3
-- Rift: not enabled (BUILD_VR)
-- Doxygen: 1.9.3
-- Language: English
-- Coin3D_DOC: not found
=================================================
Now run 'cmake --build /Users/bernie/freecad/build' to build FreeCAD
=================================================
-- Configuring done
CMake Error in src/Gui/CMakeLists.txt:
Imported target "Shiboken2::libshiboken" includes non-existent path
"/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9
"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in src/Gui/CMakeLists.txt:
Imported target "Shiboken2::libshiboken" includes non-existent path
"/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9
"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in src/Gui/CMakeLists.txt:
Imported target "Shiboken2::libshiboken" includes non-existent path
"/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9
"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
-- Generating done
CMake Generate step failed. Build files cannot be regenerated correctly.
I can't help but think it's getting close, but at the moment I'm stumped. Any assistance appreciated.