Ubuntu 22.04 build error
Davide-sd opened this issue · 2 comments
Davide-sd commented
I'm attempting to install it from source and I've followed the instructions. However, I'm getting this error:
(I've installed cmake 3.22.1)
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:30 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.92.0")
-- Found KF5GuiAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.92.0")
-- Found KF5ConfigWidgets: /usr/lib/x86_64-linux-gnu/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.92.0")
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found KF5WindowSystem: /usr/lib/x86_64-linux-gnu/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.92.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.21")
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.92.0")
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.92.0")
-- Found KF5: success (found version "5.92.0") found components: CoreAddons GuiAddons ConfigWidgets WindowSystem I18n IconThemes
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
Your project should require at least CMake 3.16.0 to use FindXCB.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindXCB.cmake:67 (ecm_find_package_version_check)
CMakeLists.txt:34 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found XCB_XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.14")
-- Found XCB: /usr/lib/x86_64-linux-gnu/libxcb.so (found version "1.14") found components: XCB
-- 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
-- Configuring done
-- Generating done
-- Build files have been written to: /home/davide/Apps/SierraBreezeEnhanced/build
[ 4%] Automatic MOC for target sierrabreezeenhancedcommon5
[ 4%] Built target sierrabreezeenhancedcommon5_autogen
[ 8%] Building CXX object libbreezecommon/CMakeFiles/sierrabreezeenhancedcommon5.dir/sierrabreezeenhancedcommon5_autogen/mocs_compilation.cpp.o
[ 12%] Building CXX object libbreezecommon/CMakeFiles/sierrabreezeenhancedcommon5.dir/breezeboxshadowrenderer.cpp.o
[ 16%] Linking CXX shared library libsierrabreezeenhancedcommon5.so
[ 16%] Built target sierrabreezeenhancedcommon5
[ 20%] Automatic MOC for target sierrabreezeenhanced
[ 20%] Built target sierrabreezeenhanced_autogen
[ 25%] Generating ui_breezeexceptionlistwidget.h
[ 29%] Generating breezesettings.h, breezesettings.cpp
[ 33%] Generating ui_breezeconfigurationui.h
[ 37%] Generating ui_breezedetectwidget.h
[ 41%] Generating ui_breezeexceptiondialog.h
[ 45%] Building CXX object CMakeFiles/sierrabreezeenhanced.dir/sierrabreezeenhanced_autogen/mocs_compilation.cpp.o
[ 50%] Building CXX object CMakeFiles/sierrabreezeenhanced.dir/breezebutton.cpp.o
[ 54%] Building CXX object CMakeFiles/sierrabreezeenhanced.dir/breezedecoration.cpp.o
/home/davide/Apps/SierraBreezeEnhanced/breezedecoration.cpp: In member function ‘void Breeze::Decoration::updateBlur()’:
/home/davide/Apps/SierraBreezeEnhanced/breezedecoration.cpp:758:13: error: ‘setBlurRegion’ was not declared in this scope
758 | setBlurRegion( QRegion() );
| ^~~~~~~~~~~~~
/home/davide/Apps/SierraBreezeEnhanced/breezedecoration.cpp:762:13: error: ‘setBlurRegion’ was not declared in this scope
762 | setBlurRegion( QRegion( m_windowPath->toFillPolygon().toPolygon()) ) ;
| ^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/sierrabreezeenhanced.dir/build.make:129: CMakeFiles/sierrabreezeenhanced.dir/breezedecoration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:427: CMakeFiles/sierrabreezeenhanced.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
[ 4%] Automatic MOC for target sierrabreezeenhancedcommon5
[ 4%] Built target sierrabreezeenhancedcommon5_autogen
Consolidate compiler generated dependencies of target sierrabreezeenhancedcommon5
[ 16%] Built target sierrabreezeenhancedcommon5
[ 20%] Automatic MOC for target sierrabreezeenhanced
[ 20%] Built target sierrabreezeenhanced_autogen
Consolidate compiler generated dependencies of target sierrabreezeenhanced
[ 25%] Building CXX object CMakeFiles/sierrabreezeenhanced.dir/breezedecoration.cpp.o
/home/davide/Apps/SierraBreezeEnhanced/breezedecoration.cpp: In member function ‘void Breeze::Decoration::updateBlur()’:
/home/davide/Apps/SierraBreezeEnhanced/breezedecoration.cpp:758:13: error: ‘setBlurRegion’ was not declared in this scope
758 | setBlurRegion( QRegion() );
| ^~~~~~~~~~~~~
/home/davide/Apps/SierraBreezeEnhanced/breezedecoration.cpp:762:13: error: ‘setBlurRegion’ was not declared in this scope
762 | setBlurRegion( QRegion( m_windowPath->toFillPolygon().toPolygon()) ) ;
| ^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/sierrabreezeenhanced.dir/build.make:129: CMakeFiles/sierrabreezeenhanced.dir/breezedecoration.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:427: CMakeFiles/sierrabreezeenhanced.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
What can I try?
Mister7F commented
same issue :/ have you found a solution ?
kupiqu commented
What kwin version are you using?