Hi,

I am trying to build the latest release version of darktable from
source on a macbook pro 13" (latest) with the latest versions of the
OS and Xcode tools, following the instructions on the darktable web
page.  I am doing this because I would like to test if building
specifically for this laptop makes darktable more speedy and less
prone to crash compared to the mac os x binaries downloaded from the
website. I normally use macports, but the darktable port there is not
the latest version.

When I run the command:

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

this is the output I get:

-----------
Darktable build script
Building directory:  /Users/gp/darktable/build
Installation prefix: /opt/darktable
Build type:          Release
Build generator:     Unix Makefiles
Build tasks:         4
CMake Error at 
/opt/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165
(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):

  /opt/local/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458
(_FPHSA_FAILURE_MESSAGE)

  /opt/local/share/cmake-3.18/Modules/FindOpenMP.cmake:529
(find_package_handle_standard_args)

  CMakeLists.txt:76 (find_package)

-- Configuring incomplete, errors occurred!

See also "/Users/gp/darktable/build/CMakeFiles/CMakeOutput.log".
-----

and the first few lines of the CMakeOutput.log are the following:

The system is: Darwin - 19.6.0 - x86_64
Compiling the CXX compiler identification source file
"CMakeCXXCompilerId.cpp" succeeded.
Compiler: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
Build flags:
Id flags:
The output was:
0

Compilation of the CXX compiler identification source
"CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is AppleClang, found in
"/Users/gp/darktable/build/CMakeFiles/3.18.4/CompilerIdCXX/a.out"
Compiling the C compiler identification source file
"CMakeCCompilerId.c" succeeded.
Compiler: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
Build flags:
Id flags:
The output was:
0

Compilation of the C compiler identification source
"CMakeCCompilerId.c" produced "a.out"
The C compiler identification is AppleClang, found in
"/Users/gp/darktable/build/CMakeFiles/3.18.4/CompilerIdC/a.out"




Any suggestions?

thanks in advance
giuseppe


-- 
Giuseppe Pagnoni
Dip. Scienze Biomediche, Metaboliche e Neuroscienze
Sezione Fisiologia e Neuroscienze
Univ. di Modena e Reggio Emilia
Via Campi 287
I-41125 Modena, Italy
Tel: +39-059-205-5742
Fax: +39-059-205-5363
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to