[solved] Building master: Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)

Trying to build dt on an up to date Tumbleweed. Fun stops early. I couldn’t find out what I am missing. (found a package libgomp1 which is installed)

Is there propably a simple 1-click solution? Please keep in mind that my skill stops right aber copy&pasting from the instructions into the cli.


./build.sh --prefix /opt/darktable --build-type Release --install --sudo

darktable build script

Building directory:  /home/apostel338/Git/darktable/build
Installation prefix: /opt/darktable
Build type:          Release
Build generator:     Unix Makefiles
Build tasks:         12

-- The CXX compiler identification is Clang 16.0.2
-- The C compiler identification is GNU 13.0.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
  (Required is at least version "4.5")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindOpenMP.cmake:577 (find_package_handle_standard_args)
  CMakeLists.txt:89 (find_package)

-- Configuring incomplete, errors occurred!

we have a package for Tumbleweed. just in case you didnt know.

I know, and I’m using the OBS master builds. I just would like to be able to build PRs and stuff.

btw: a small trick that might help you

zypper si --build-deps-only darktable-<version for the master package>

it will install all the build deps

1 Like

This showed some conflict with llvm16: libomp16-devel / libomp15-devel. Everything could be resolved and it seems to work fine now. Thank you very much. :point_up: