Hello, I am new to the Kicad project but would like to contribute to give back to the community. But right now I have build issues with the Kicad soureces, I've tried master, 8.0 and 7.0... Every time it hungs up when compiling the gal library - it looks like it doesnt find opengl but it is installed and also passes on the cmake configure. Build environment is a debian bullseye.
Many thanks,
Sven Wehrend
'''
Application: KiCad x86_64 on x86_64
Version: 8.0.0, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.11.1
HarfBuzz 8.3.0
FontConfig 2.13.1
libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.2 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.17
Platform: Ubuntu Core 22, 64 bit, Little endian, wxGTK, X11, KDE, x11
Build Info:
Date: Mar 24 2024 13:47:43
wxWidgets: 3.2.4 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.74.0
OCC: 7.5.1
Curl: 7.81.0
ngspice: 36
Compiler: GCC 11.2.0 with C++ ABI 1016
Build settings:
KICAD_USE_EGL=ON
'''
Additional build info is:
sven@debian:~/development/software/kicad/build/release$ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo ../../
CMake Deprecation Warning at CMakeLists.txt:27 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:31 (cmake_policy):
The OLD behavior for policy CMP0113 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- KiCad install dir: </usr/local>
-- Enabling warning -Wsuggest-override
-- Enabling warning -Wduplicated-branches
-- Enabling warning -Wduplicated-cond
-- Enabling error for -Wvla
-- Enabling warning -Wimplicit-fallthrough
-- Enabling error for -Wreturn-type
-- Enabling warning -Wshadow
-- Enabling warning -Wsign-compare
-- Enabling warning -Wmissing-field-initializers
-- Enabling warning -Wempty-body
-- Enabling warning -Wreorder
-- Enabling warning -Wmismatched-tags
-- Disabling warning -Wpsabi
-- Configuring KiCad for the wxGLCanvas EGL backend
-- Found OpenGL EGL library: /usr/lib/x86_64-linux-gnu/libEGL.so
-- Check for installed ZLIB -- found
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.71.0")
-- Found the following HarfBuzz libraries:
-- HarfBuzz (required): /usr/lib/x86_64-linux-gnu/libharfbuzz.so
-- Found OpenCASCADE Standard Edition version: 7.5.1
-- ++ OpenCASCADE Standard Edition include directory: /usr/include/opencascade
-- ++ OpenCASCADE Standard Edition shared libraries directory: /usr/lib/x86_64-linux-gnu
-- Check for installed Python Interpreter -- found
-- Python module install path: lib/python3.9/site-packages
CMake Deprecation Warning at thirdparty/pybind11/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- pybind11 v2.9.2
-- Found wxPython Phoenix 4.2.1/gtk3 (wxWidgets 3.2.2.1)
-- Found wxWidgets: -pthread;;;-lwx_gtk3u_gl-3.3;-lwx_gtk3u_aui-3.3;-lwx_gtk3u_html-3.3;-lwx_gtk3u_core-3.3;-lwx_baseu_net-3.3;-lwx_baseu-3.3;-lwx_gtk3u_propgrid-3.3;-lwx_baseu_xml-3.3;-lwx_gtk3u_stc-3.3;-lwx_gtk3u_richtext-3.3 (found suitable version "3.3.0", minimum required is
"3.2.2.1")
-- Module support is disabled.
-- Version: 9.0.0
-- Build type: RelWithDebInfo
-- CXX_STANDARD: 17
-- Required features: cxx_variadic_templates
CMake Deprecation Warning at thirdparty/nanodbc/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- nanodbc version: 2.14.0
-- nanodbc compile: C++14
-- nanodbc feature: ODBC Version Override - OFF
-- nanodbc feature: Disable async features - OFF
-- nanodbc feature: Enable Unicode - ON
-- nanodbc feature: Enable Boost - ON
-- nanodbc feature: Enable SQL_NO_DATA bug workaround - OFF
-- nanodbc build: ODBC on Unix - unixODBC
-- ODBC compile flags: -I/usr/include -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG_INT=8
-- ODBC link flags:
CMake Deprecation Warning at thirdparty/3dxware_sdk/CMakeLists.txt:2 (cmake_policy):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Including 3Dconnexion SpaceMouse navigation support in pcbcommon
-- S3DSG version: 2.0.0
-- Including 3Dconnexion SpaceMouse navigation support in 3d-viewer
-- Including 3Dconnexion SpaceMouse navigation support in eeschema
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: unit_test_framework filesystem system
-- Found wxWidgets: -pthread;;;-lwx_gtk3u_gl-3.3;-lwx_gtk3u_aui-3.3;-lwx_gtk3u_html-3.3;-lwx_gtk3u_core-3.3;-lwx_baseu_net-3.3;-lwx_baseu-3.3;-lwx_baseu_xml-3.3;-lwx_gtk3u_stc-3.3 (found suitable version "3.3.0", minimum required is "3.0.0")
-- Configuring done (1.0s)
-- Generating done (0.2s)
-- Build files have been written to: /home/sven/development/software/kicad
sven@debian:~/development/software/kicad/build/release$