how to enable gmic support in digikam?

Thomas Klausner wiz at gatalith.at
Thu Apr 20 06:04:58 BST 2023


On Thu, Apr 20, 2023 at 01:51:47AM +0200, Gilles Caulier wrote:
> Do not use qmake to compile Gmic-qt, but cmake

I had tried that too, but it fails even earlier:

# mkdir build
# cd build 
# cmake .. -DGMIC_QT_HOST=digikam 
CMake Warning (dev) at CMakeLists.txt:1 (project):
  cmake_minimum_required() should be called prior to this top-level project()
  call.  Please see the cmake-commands(7) manual for usage documentation of
  both commands.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is GNU 10.4.0
-- The CXX compiler identification is GNU 10.4.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
-- Using CMake version: 3.26.3
-- Found PkgConfig: /usr/pkg/bin/pkg-config (found version "1.9.4") 
Build type is Release
Building for target host application: digikam
CMake Error at CMakeLists.txt:145 (find_package):
  Could not find a package configuration file provided by "Gmic" with any of
  the following names:

    GmicConfig.cmake
    gmic-config.cmake

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


-- Configuring incomplete, errors occurred!

 Thomas


More information about the Digikam-users mailing list