Code: Select all
Program received signal SIGSEGV, Segmentation fault.
#0 /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fa7ea5cd520]
I am trying to compile FC from the latest code on git. I run into the "widgets" issue others have, but the solutions I've tried don't seem to work. If someone could point out what I've overlooked or should try, I would be appreciative.
First off:
Code: Select all
OS: Linux Mint 21 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31697 (Git)
Build type: Unknown
Branch: master
Hash: db6d44b1da5fb5a994757da9567f545b26bd700b
Python 3.10.6, Qt 5.15.3, Coin 4.0.1, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Code: Select all
==============
Summary report
==============
-- Build type:
-- Compiler: /usr/bin/c++ (11.3.0)
-- Flags: -Wall -Wextra -Wno-write-strings
-- Standard: Requires C++17
-- Python: 3.10.6 [/usr/bin/python3.10] [.cpython-310-x86_64-linux-gnu]
-- PCL: not enabled
-- pybind11: not enabled
-- Boost: 1.74.0
-- XercesC: 3.2.3 [/usr/lib/x86_64-linux-gnu/libxerces-c.so] [/usr/include]
-- ZLIB: 1.2.11
-- PyCXX: 7.1.7 [/home/matt/Downloads/freecad-source/src]
-- OCC: 7.5.1 [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/lib/x86_64-linux-gnu] [/usr/include/opencascade]
-- SMESH: 7.7.1.0 build internal
-- MEDFile: 4.1.0 [/usr/lib/x86_64-linux-gnu/libmedC.so] [/usr/include]
-- HDF5: 1.10.7
-- VTK: 9.1.0
-- NETGEN: not enabled
-- SWIG: 4.0.2
-- Eigen3 3.4.0
-- QtCore: 5.15.3
-- QtNetwork: 5.15.3
-- QtXml: 5.15.3
-- QtWidgets: 5.15.3
-- QtPrintSupport: 5.15.3
-- QtOpenGL: 5.15.3
-- QtSvg: 5.15.3
-- QtUiTools: 5.15.3
-- QtConcurrent: 5.15.3
-- QtWebEngineWidgets: 5.15.9
-- Designer plugin: not built (BUILD_DESIGNER_PLUGIN is OFF)
-- Shiboken: 5.15.2.1 [/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.15.2] [/usr/lib/../include/shiboken2;/usr/include/python3.10]
-- PySide: 5.15.2.1 [/usr/lib/../include/PySide2]
-- PySideTools: [/usr/lib/qt5/bin/uic] [/usr/lib/qt5/bin/rcc]
-- Freetype: 2.11.1
-- OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
-- OpenGLU: [/usr/lib/x86_64-linux-gnu/libGLU.so][/usr/include]
-- Coin3D: 4.0.1 [/usr/local/lib/libCoin.so] [/usr/local/include]
-- Pivy: 0.6.5
-- SPNAV: [/usr/lib/libspnav.so] [/usr/include]
-- Matplotlib: 3.5.1
-- Rift: not enabled (BUILD_VR)
-- Doxygen: 1.9.1
-- Language: English
-- Coin3D_DOC: not found
=================================================
Now run 'cmake --build /home/matt/Downloads/freecad-build' to build FreeCAD
=================================================
-- Found Python: /usr/bin/python3.10 (found version "3.10.6") found components: Interpreter
-- Configuring done
-- Generating done
-- Build files have been written to: /home/matt/Downloads/freecad-build
Result of ./FreeCAD in build/bin folder:
Code: Select all
AFreeCAD 0.21.0, Libs: 0.21.0R31697 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
Addon Manager Warning: Could not import QtWebEngineWidgets. Your system's package manager may provide a package for this dependency, search the package manager for possible resolutions. Display of package README will be limited until this dependency is resolved.
Code: Select all
corrupted size vs. prev_size in fastbins
Aborted (core dumped)
Trying to see if the system thinks this is installed:
Code: Select all
$ apt list | grep qt5webeng*
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libqt5webengine-data/jammy,jammy,now 5.15.9+dfsg-1 all [installed,automatic]
libqt5webengine5/jammy,now 5.15.9+dfsg-1 amd64 [installed,automatic]
libqt5webenginecore5/jammy,now 5.15.9+dfsg-1 amd64 [installed,automatic]
libqt5webenginewidgets5/jammy,now 5.15.9+dfsg-1 amd64 [installed,automatic]
Also;
Code: Select all
sudo apt install python3-pyside2.qtwebengine*
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'python3-pyside2.qtwebengine' for glob 'python3-pyside2.qtwebengine*'
Note, selecting 'python3-pyside2.qtwebenginewidgets' for glob 'python3-pyside2.qtwebengine*'
Note, selecting 'python3-pyside2.qtwebenginecore' for glob 'python3-pyside2.qtwebengine*'
python3-pyside2.qtwebengine is already the newest version (5.15.2-2build2).
python3-pyside2.qtwebenginecore is already the newest version (5.15.2-2build2).
python3-pyside2.qtwebenginewidgets is already the newest version (5.15.2-2build2).
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
Other system trivia:
Code: Select all
CPU: 2x 8-core Intel Xeon E5-2630 v3 (-MT MCP SMP-)
speed/min/max: 1219/1200/3200 MHz Kernel: 5.15.0-58-generic x86_64 Up: 5h 55m
Mem: 3461.2/32069.1 MiB (10.8%) Storage: 2.79 TiB (17.2% used) Procs: 514
Shell: Bash inxi: 3.3.13
mconsidine