Just to add some more info, when running "cmake ../freecad-source" in my build folder, I get this lines before the summary report:
Code: Select all
-- Compiler: GNU, version: 11.0.1
-- prefix: /usr/local
-- bindir: bin
-- datadir: share
-- docdir: share/doc/FreeCAD
-- includedir: include
-- libdir: lib64
-- cmake: 3.19.7
-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter Development Development.Module Development.Embed
-- Found Boost: /usr/include (found suitable version "1.75.0", minimum required is "1.55") found components: filesystem program_options regex system thread chrono date_time atomic
-- PyCXX found:
-- Headers: /home/christian-nils/Repos/freecad-orig-source/src
-- Sources: /home/christian-nils/Repos/freecad-orig-source/src/CXX
-- Version: 6.2.8
-- -- Found OCE/OpenCASCADE version: 7.5.0
-- -- OCE/OpenCASCADE include directory: /usr/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /usr/lib64
-- Found OpenGL: /usr/lib64/libOpenGL.so
-- VTK components: not found or used
-- Found Python3: /usr/bin/python3.9 (found suitable version "3.9.2", minimum required is "3.9") found components: Interpreter Development.Module Development.Embed
-- Found OpenGL: /usr/lib64/libOpenGL.so found components: OpenGL GLX
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- Found Boost: /usr/include (found suitable exact version "1.75.0")
-- Found Boost: /usr/include (found suitable exact version "1.75.0") found components: serialization
-- Checking for module 'Coin'
-- Found Coin, version 4.0.0
-- Coin3D libraries found
-- Shiboken2Config: Using default python: .cpython-39-x86_64-linux-gnu
-- SHIBOKEN_PYTHON_INCLUDE_DIRS computed to value: '/usr/include/python3.9'
-- SHIBOKEN_PYTHON_LIBRARIES computed to value: ''
-- libshiboken built for Release
-- PYTHON_CONFIG_SUFFIX: .cpython-39-x86_64-linux-gnu
-- libshiboken built for Release
-- ===============================================
PySide2 Python module found at /usr/lib64/python3.9/site-packages/PySide2.
===============================================
-- Found Matplotlib: /usr/lib64/python3.9/site-packages/matplotlib (found version "3.4.0rc3")
-- 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
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- Found Boost: /usr/include (found version "1.75.0") found components: python39
-- found Boost: 1_75
-- boost-incude dirs are: /usr/include
-- boost-python lib is:
-- boost_LIBRARY_DIRS is: /usr/lib64
-- Boost_LIBRARIES is: /usr/lib64/libboost_python39.so
-- area module (for Path Workbench) will be installed to: lib64
-- Coin3D doc is not installed
What is interesting is that the Boost library is being looked for twice. The second time it is only of the libboost_serialization.so module, and it seems to be the only one that is linked in the different
link.txt files. Then, I wonder if it has something to do with the boost error I get at compilation.
Also, I tried to force the locally build boost library to be used during compilation, but I think that I do not do it properly because it is not used during compilation and go back to the Fedora library package (/usr/lib64).