I'm getting errors compiling DT on Fedora 37 and I'd appreciate it if
someone could help me debug the problem.

As described on the git page I've installed these dependancies:

   sudo dnf builddep darktable
   
   sudo dnf install gcc-c++ cmake make perl intltool libxslt zlib-devel
   gtk3-devel libxml2-devel sqlite-devel librsvg2-devel libcurl-devel
   libjpeg-turbo-devel libtiff-devel lcms2-devel json-glib-devel exiv2-
   devel pugixml-devel
   
   sudo dnf install lensfun-devel libgphoto2-devel OpenEXR-devel
   libwebp-devel openjpeg2-devel libsecret-devel GraphicsMagick-devel
   iso-codes-devel colord-devel colord-gtk-devel cups-devel osm-gps-
   map-devel libsoup-devel clang llvm-devel lua-devel desktop-file-
   utils
   
   sudo dnf install libavif-devel

I tried to compile with:
   sh build.sh --build-type Release --install --sudo --clean-all

And I get this output:

darktable build script

Building directory:  /home/michael/darktable/build
Installation prefix: /opt/darktable
Build type:          RelWithDebInfo
Build generator:     Unix Makefiles
Build tasks:         8

-- The CXX compiler identification is unknown
-- The C compiler identification is GNU 12.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- 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
-- Found OpenMP_C: -fopenmp (found suitable version "4.5", minimum
required is "4.5") 
CMake Error at /usr/share/cmake/Modules/FindOpenMP.cmake:419
(try_compile):
  Cannot copy output executable

    ''

  to destination specified by COPY_FILE:

   
'/home/michael/darktable/build/CMakeFiles/FindOpenMP/ompver_CXX.bin'

  because:

    No such file or directory (input)

  Recorded try_compile output location doesn't exist:

    /home/michael/darktable/build/CMakeFiles/CMakeScratch/TryCompile-
PZR27E/cmTC_8ea2a

Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindOpenMP.cmake:557 (_OPENMP_GET_SPEC_DATE)
  CMakeLists.txt:94 (find_package)


-- Found OpenMP_CXX: -openmp (Required is at least version "4.5") 
CMake Error at /usr/share/cmake/Modules/FindOpenMP.cmake:606 (if):
  if given arguments:

    "CMAKE_CXX_COMPILER_ID" "STREQUAL" "Fujitsu" "OR" "STREQUAL"
"IntelLLVM"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:94 (find_package)


-- Configuring incomplete, errors occurred!
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to