Building R-Darktable

I tried to compile R-Draktable . Sadly it failed and i am new to compiling. Could anyone help me out here?
I got this as a output:

Building directory: /home/joachim/Dokumente/RDarktable/build
Installation prefix: /opt/darktable-test
Build type: Release
Build generator: Unix Makefiles
Build tasks: 6
CPU Architecture: Intel

– Is the target platform supported: 1
– Found little endian system. Good.
– Building SSE2-optimized codepaths: ON
CMake Warning at cmake/compiler-versions.cmake:72 (message):
GNU C compiler version 9.4.0 support is soft-deprecated and will be removed
in the future. Version 10+ is recommended.
Call Stack (most recent call first):
CMakeLists.txt:152 (include)

CMake Warning at cmake/compiler-versions.cmake:75 (message):
GNU C++ compiler version 9.4.0 support is soft-deprecated and will be
removed in the future. Version 10+ is recommended.
Call Stack (most recent call first):
CMakeLists.txt:152 (include)

– Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs
– Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
– Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs
– Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=varargs - Success
– Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
– Performing Test C_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Success
– Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member
– Performing Test CXX_COMPILER_UNDERSTANDS_-Wno-error=address-of-packed-member - Success
– Looking for external programs
– Found perl
– Missing intltool-merge
– Found desktop-file-validate
CMake Warning at CMakeLists.txt:314 (find_package):
Could not find a configuration file for package “LLVM” that is compatible
with requested version “14”.

The following configuration files were considered but not accepted:

/usr/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0
/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0

Call Stack (most recent call first):
CMakeLists.txt:322 (find_llvm)

CMake Warning at CMakeLists.txt:314 (find_package):
Could not find a configuration file for package “LLVM” that is compatible
with requested version “13”.

The following configuration files were considered but not accepted:

/usr/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0
/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0

Call Stack (most recent call first):
CMakeLists.txt:322 (find_llvm)

CMake Warning at CMakeLists.txt:314 (find_package):
Could not find a configuration file for package “LLVM” that is compatible
with requested version “12”.

The following configuration files were considered but not accepted:

/usr/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0
/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0

Call Stack (most recent call first):
CMakeLists.txt:322 (find_llvm)

CMake Warning at CMakeLists.txt:314 (find_package):
Could not find a configuration file for package “LLVM” that is compatible
with requested version “11”.

The following configuration files were considered but not accepted:

/usr/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0
/lib/llvm-10/cmake/LLVMConfig.cmake, version: 10.0.0

Call Stack (most recent call first):
CMakeLists.txt:322 (find_llvm)

– Found LLVM 10.0.0
– Found clang compiler - /usr/bin/clang-10
– Found clang opencl-c.h header in /usr/lib/llvm-10/lib/clang/10.0.0/include
– Will be able to test-compile OpenCL programs. Nice.
– Missing jsonschema, problems in noiseprofiles.json might go unnoticed
– Found xsltproc
– Found xmllint
– Found exiftool
CMake Error at CMakeLists.txt:411 (message):
Some external programs couldn’t be found

– Configuring incomplete, errors occurred!
See also “/home/joachim/Dokumente/RDarktable/build/CMakeFiles/CMakeOutput.log”.
See also “/home/joachim/Dokumente/RDarktable/build/CMakeFiles/CMakeError.log”.

You need to install LLVM.

Any Windows users build this recently …I have issues and can’t seem to get it to build anymore…

Terminal complains about GTK… I have 3.24 and can build DT no problem…

Just curious… its no big deal…

CMakeOutput.txt (220.5 KB)
CMakeError.txt (11.3 KB)

EDIT:

This is what I see…

The following REQUIRED packages have been found:

  • Threads
  • OpenMP (required version >= 4.5), Open Multi-Processing, https://www.openmp.org/
    Used for parallelization of the library
  • Pugixml (required version >= 1.8), Light-weight, simple and fast XML parser, http://pugixml.org/
    Used for loading of data/cameras.xml
  • ZLIB (required version >= 1.2.11), software library used for data compression
    Used for decoding DNG Deflate compression

– Checking for -std=c++14 support
– Checking for -std=c++14 support - works
CMake Warning at cmake/modules/LibFindMacros.cmake:204 (message):
The find module for Glib does not provide version information, so we’ll
just assume that it is OK. Please fix the module or remove package version
requirements to get rid of this warning.
Call Stack (most recent call first):
cmake/modules/FindGlib.cmake:40 (libfind_process)
src/CMakeLists.txt:294 (find_package)

– Found Glib
– Checking for module ‘gtk±3.0’
– Package ‘gtk±3.0’, required by ‘virtual:world’, not found
CMake Error at C:/msys64/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GTK3 (missing: GTK3_INCLUDE_DIRS GTK3_LIBRARIES) (Required
is at least version “3.22”)
Call Stack (most recent call first):
C:/msys64/mingw64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindGTK3.cmake:58 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
src/CMakeLists.txt:301 (find_package)

– Configuring incomplete, errors occurred!

Hi @priort, I’m able to compile without any problems on Win10 21H2. I followed the instructions one by one during a fresh install of Ming et al and setting up the GIT sandbox rom scratch (since I started on a new computer). I installed the optional libraries for testing and skipped tethering, since it isn’t included in R-Darktable. I did everything in Mingw64, i.e. I followed the version of instructions before they were recently updated by gi-man.

Thanks I’ll review again what might be wrong…interesting I can build DT no problem…