dsnote icon indicating copy to clipboard operation
dsnote copied to clipboard

cmake error

Open coffseducation opened this issue 8 months ago • 1 comments

export CMAKE_POLICY_VERSION_MINIMUM=3.5 paru -S dsnote

CMake Deprecation Warning at CMakeLists.txt:17 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.

Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.

CMake Deprecation Warning at cmake/thirdParty/CCache/CMakeLists.txt:3 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.

Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier.

-- Using cached versions: 1.2.2, , -- RHVOICE version: 1.2.2 -- RHVOICE bin version: 122 -- version full: HEAD -> master 1.2.2 -- Checking for module 'dbus' -- Package 'dbus' not found CMake Error at src/CMakeLists.txt:16 (get_target_property): get_target_property() called with non-existent target "utf8cpp".

-- Checking for module 'tclap' -- Package 'tclap' not found -- /usr/include -- Configuring incomplete, errors occurred! make[2]: *** [CMakeFiles/rhvoice.dir/build.make:92: rhvoice-prefix/src/rhvoice-stamp/rhvoice-configure] Error 1 make[1]: *** [CMakeFiles/Makefile2:660: CMakeFiles/rhvoice.dir/all] Error 2 make: *** [Makefile:136: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'dsnote-4.7.1-2': error: packages failed to build: dsnote-4.7.1-2 ``

I also changed "cmake_minimum_required(VERSION 3.0)" in the CMakeLists.txt to 4.0 and get the same error. Arch install instruction OR Linux install instructions result in:

CMake Error at src/CMakeLists.txt:16 (get_target_property):
  get_target_property() called with non-existent target "utf8cpp".

Operating System: Garuda Linux KDE Plasma Version: 6.3.4 KDE Frameworks Version: 6.12.0 Qt Version: 6.9.0 Kernel Version: 6.14.2-zen1-1-zen (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-7820HQ CPU @ 2.90GHz Memory: 31.1 GiB of RAM Graphics Processor 1: Intel® HD Graphics 630 Graphics Processor 2: Quadro M1200 Manufacturer: Dell Inc. Product Name: Precision 5520

coffseducation avatar Apr 14 '25 03:04 coffseducation

Thanks for reporting.

CMake on Arch is too new for some Speech Note dependencies. This problem is resolved on dsnote-git AUR package.

mkiol avatar Apr 15 '25 18:04 mkiol