Templar-von-Midgard / git-credential-kwallet

Git credential helper for KWallet
MIT License
16 stars 9 forks source link

Get `KF5WalletConfig.cmake` #3

Closed real-yfprojects closed 3 years ago

real-yfprojects commented 3 years ago

When running

cmake -DCMAKE_BUILD_TYPE=Release ..

I get the following error:

-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:12 (find_package):
  By not providing "FindKF5Wallet.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5Wallet", but CMake did not find one.

  Could not find a package configuration file provided by "KF5Wallet"
  (requested version 5.18.0) with any of the following names:

    KF5WalletConfig.cmake
    kf5wallet-config.cmake

  Add the installation prefix of "KF5Wallet" to CMAKE_PREFIX_PATH or set
  "KF5Wallet_DIR" to a directory containing one of the above files.  If
  "KF5Wallet" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!

Where/How do I get the KF5Wallet package or its package configuration file? I am using KDE Plasma on Ubuntu and have KWallet installed.

Templar-von-Midgard commented 3 years ago

Hi @real-yfprojects !

Apologies for the somewhat late reply, do you have libkf5wallet-dev installed?

real-yfprojects commented 3 years ago

Apologies for the somewhat late reply, do you have libkf5wallet-dev installed?

No, I hadn't. I now was able to install it. Thank you!

How can I uninstall it - just in case?

Templar-von-Midgard commented 3 years ago

How can I uninstall it - just in case?

Just delete the installed files.