Homebrew / homebrew-core

🍻 Default formulae for the missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
13.59k stars 12.33k forks source link

exiv2 'libssh/libssh.h' file not found #85998

Closed giovariot closed 2 years ago

giovariot commented 2 years ago

brew config output

HOMEBREW_VERSION: 3.2.13-29-g1f3de1d
ORIGIN: https://github.com/Homebrew/brew
HEAD: 1f3de1d5b28e8ab52d96c4341e97117e14095380
Last commit: 32 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: d4c15892d82c979de446d716b53d51ced6e92bb8
Core tap last commit: 19 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.mRbTd2bFNN/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 11.0.0 build 1100
Git: 2.21.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.6-x86_64
CLT: 10.3.0.0.1.1562985497
Xcode: 11.3.1

brew doctor output

Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you any updates, run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.
You should download the Command Line Tools for Xcode 11.3.1.

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/libALGLIB.3.14.0.dylib
  /usr/local/lib/libpisock.9.0.1.dylib
  /usr/local/lib/libpisync.0.0.2.dylib
  /usr/local/lib/libusb-0.1.4.dylib
  /usr/local/lib/libusbpp-0.1.4.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/alglibinternal.h
  /usr/local/include/alglibmisc.h
  /usr/local/include/ap.h
  /usr/local/include/dataanalysis.h
  /usr/local/include/diffequations.h
  /usr/local/include/fasttransforms.h
  /usr/local/include/integration.h
  /usr/local/include/interpolation.h
  /usr/local/include/linalg.h
  /usr/local/include/optimization.h
  /usr/local/include/pi-address.h
  /usr/local/include/pi-appinfo.h
  /usr/local/include/pi-args.h
  /usr/local/include/pi-bluetooth.h
  /usr/local/include/pi-buffer.h
  /usr/local/include/pi-cmp.h
  /usr/local/include/pi-contact.h
  /usr/local/include/pi-datebook.h
  /usr/local/include/pi-debug.h
  /usr/local/include/pi-dlp.h
  /usr/local/include/pi-error.h
  /usr/local/include/pi-expense.h
  /usr/local/include/pi-file.h
  /usr/local/include/pi-foto.h
  /usr/local/include/pi-header.h
  /usr/local/include/pi-hinote.h
  /usr/local/include/pi-inet.h
  /usr/local/include/pi-macros.h
  /usr/local/include/pi-mail.h
  /usr/local/include/pi-md5.h
  /usr/local/include/pi-memo.h
  /usr/local/include/pi-money.h
  /usr/local/include/pi-net.h
  /usr/local/include/pi-notepad.h
  /usr/local/include/pi-padp.h
  /usr/local/include/pi-palmpix.h
  /usr/local/include/pi-serial.h
  /usr/local/include/pi-slp.h
  /usr/local/include/pi-sockaddr.h
  /usr/local/include/pi-socket.h
  /usr/local/include/pi-source.h
  /usr/local/include/pi-sync.h
  /usr/local/include/pi-sys.h
  /usr/local/include/pi-syspkt.h
  /usr/local/include/pi-threadsafe.h
  /usr/local/include/pi-todo.h
  /usr/local/include/pi-usb.h
  /usr/local/include/pi-util.h
  /usr/local/include/pi-veo.h
  /usr/local/include/pi-versamail.h
  /usr/local/include/pi-version.h
  /usr/local/include/solvers.h
  /usr/local/include/specialfunctions.h
  /usr/local/include/statistics.h
  /usr/local/include/stdafx.h
  /usr/local/include/usb.h
  /usr/local/include/usbpp.h

Warning: Unbrewed '.la' files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected '.la' files:
  /usr/local/lib/libpisock.la
  /usr/local/lib/libpisync.la
  /usr/local/lib/libusb.la
  /usr/local/lib/libusbpp.la

Warning: Unbrewed '.pc' files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected '.pc' files:
  /usr/local/lib/pkgconfig/fuse-ext2.pc
  /usr/local/lib/pkgconfig/libusb.pc
  /usr/local/lib/pkgconfig/pilot-link.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/libpisock.a
  /usr/local/lib/libpisync.a
  /usr/local/lib/libusb.a
  /usr/local/lib/libusbpp.a

What were you trying to do (and why)?

I downloaded ART latest release (1.9.3) source code from its project repository.

I subsequently ran the cmake command which successfully generated a makefile checking all the project dependencies, one of which is exiv2, which has successfully been configured showing the full brew Cellar path.

I then ran make to start compiling the project but it stops after just a few seconds telling me exiv2 sources are referring to one of brew's exiv2 dependencies libraries libssh, currently installed, and the compiler cannot find libssh header files.

What happened (include all command output)?

➜ ART-1.9.3 cmake .

-- The C compiler identification is AppleClang 11.0.0.11000033
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_BUILD_TYPE: Release
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'gtk+-3.0>=3.16'
--   Found gtk+-3.0, version 3.24.30
-- Checking for module 'gtkmm-3.0>=3.16'
--   Found gtkmm-3.0, version 3.24.5
-- Checking for module 'glib-2.0>=2.44'
--   Found glib-2.0, version 2.70.0
-- Checking for module 'glibmm-2.4>=2.44'
--   Found glibmm-2.4, version 2.66.1
-- Checking for module 'cairomm-1.0'
--   Found cairomm-1.0, version 1.14.3
-- Checking for module 'gio-2.0>=2.44'
--   Found gio-2.0, version 2.70.0
-- Checking for module 'giomm-2.4>=2.44'
--   Found giomm-2.4, version 2.66.1
-- Checking for module 'gthread-2.0>=2.44'
--   Found gthread-2.0, version 2.70.0
-- Checking for module 'gobject-2.0>=2.44'
--   Found gobject-2.0, version 2.70.0
-- Checking for module 'sigc++-2.0>=2.3.1'
--   Found sigc++-2.0, version 2.10.7
-- Checking for module 'lensfun>=0.2'
--   Found lensfun, version 0.3.95.0
-- Checking for module 'librsvg-2.0>=2.40'
--   Found librsvg-2.0, version 2.50.7
-- Checking for module 'exiv2>=0.24'
--   Found exiv2, version 0.27.4
-- searching for library exiv2 in /usr/local/Cellar/exiv2/0.27.4/lib
--   result: /usr/local/Cellar/exiv2/0.27.4/lib/libexiv2.dylib
-- Checking for module 'lcms2>=2.6'
--   Found lcms2, version 2.12
-- Checking for module 'expat>=2.1'
--   Found expat, version 2.2.1
-- Checking for module 'fftw3f'
--   Found fftw3f, version 3.3.10
-- Checking for module 'libtiff-4>=4.0.4'
--   Found libtiff-4, version 4.3.0
-- Found JPEG: /usr/local/lib/libjpeg.dylib (found version "90") 
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib/libz.tbd (found version "1.2.11") 
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.6.37") 
-- Found OpenMP_C: -Xclang -fopenmp (found version "3.1") 
-- Found OpenMP_CXX: -Xclang -fopenmp (found version "3.1") 
-- Found OpenMP: TRUE (found version "3.1")  
-- Performing Test _fftw3f_multithread
-- Performing Test _fftw3f_multithread - Failed
CMake Warning at CMakeLists.txt:478 (message):
  You are performing an in-source build.  This is discouraged.  For an
  explanation and the advantages of out-of-source builds, please refer to
  http://www.cmake.org/Wiki/CMake_FAQ#What_is_an_.22out-of-source.22_build.3F

-- searching for library lensfun in /usr/local/Cellar/lensfun/0.3.95_4/lib
--   result: /usr/local/Cellar/lensfun/0.3.95_4/lib/liblensfun.dylib
-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY
-- Performing Test LENSFUN_HAS_LOAD_DIRECTORY - Success
CMake Warning (dev) at /usr/local/Cellar/cmake/3.21.3/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args`
  (MACINTEGRATION) does not match the name of the calling package
  (MacIntegration).  This can lead to problems in calling code that expects
  `find_package` result variables (e.g., `_FOUND`) to follow a certain
  pattern.
Call Stack (most recent call first):
  cmake/modules/FindMacIntegration.cmake:27 (find_package_handle_standard_args)
  rtgui/CMakeLists.txt:176 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found MACINTEGRATION: /usr/local/lib/libgtkmacintegration-gtk3.dylib  
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/giovanni/Downloads/ART-1.9.3

➜ ART-1.9.3 make

[  0%] Creating AboutThisBuild.txt and other version-dependent files
[  0%] Built target UpdateInfo
[  1%] Building CXX object rtengine/CMakeFiles/rtengine.dir/badpixels.cc.o
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/badpixels.cc:23:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/rawimage.h:27:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/dcraw.h:23:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/myfile.h:25:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/rtengine.h:25:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/procparams.h:30:
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:1261:44: warning: 'register'
      storage class specifier is deprecated and incompatible with C++17
      [-Wdeprecated-register]
typedef cmsInt32Number (* cmsSAMPLER16)   (CMSREGISTER const cmsUInt16Nu...
                                           ^~~~~~~~~~~~
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:158:23: note: expanded from
      macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:1262:44: warning: 'register'
      storage class specifier is deprecated and incompatible with C++17
      [-Wdeprecated-register]
                                           CMSREGISTER cmsUInt16Number Out[],
                                           ^~~~~~~~~~~~
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:158:23: note: expanded from
      macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:1263:44: warning: 'register'
      storage class specifier is deprecated and incompatible with C++17
      [-Wdeprecated-register]
                                           CMSREGISTER void * Cargo);
                                           ^~~~~~~~~~~~
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:158:23: note: expanded from
      macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:1265:44: warning: 'register'
      storage class specifier is deprecated and incompatible with C++17
      [-Wdeprecated-register]
typedef cmsInt32Number (* cmsSAMPLERFLOAT)(CMSREGISTER const cmsFloat32N...
                                           ^~~~~~~~~~~~
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:158:23: note: expanded from
      macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:1266:44: warning: 'register'
      storage class specifier is deprecated and incompatible with C++17
      [-Wdeprecated-register]
                                           CMSREGISTER cmsFloat32Number Out[],
                                           ^~~~~~~~~~~~
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:158:23: note: expanded from
      macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:1267:44: warning: 'register'
      storage class specifier is deprecated and incompatible with C++17
      [-Wdeprecated-register]
                                           CMSREGISTER void * Cargo);
                                           ^~~~~~~~~~~~
/usr/local/Cellar/little-cms2/2.12/include/lcms2.h:158:23: note: expanded from
      macro 'CMSREGISTER'
#  define CMSREGISTER register
                      ^
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/badpixels.cc:24:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/rawimagesource.h:23:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/imagesource.h:29:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/dcp.h:31:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/imagefloat.h:26:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/imageio.h:38:
In file included from /Users/giovanni/Downloads/ART-1.9.3/rtengine/metadata.h:24:
In file included from /usr/local/Cellar/exiv2/0.27.4/include/exiv2/exiv2.hpp:61:
/usr/local/Cellar/exiv2/0.27.4/include/exiv2/ssh.hpp:27:10: fatal error: 
      'libssh/libssh.h' file not found
#include <libssh/libssh.h>
         ^~~~~~~~~~~~~~~~~
6 warnings and 1 error generated.
make[2]: *** [rtengine/CMakeFiles/rtengine.dir/badpixels.cc.o] Error 1
make[1]: *** [rtengine/CMakeFiles/rtengine.dir/all] Error 2
make: *** [all] Error 2 

What did you expect to happen?

I would have expected the compiler to be able to locate the libssh headers, which are currently installed.

Step-by-step reproduction instructions (by running brew commands)

brew install exiv2
dawidd6 commented 2 years ago

Please ensure libssh formula is linked first.

brew link libssh

If that won't work then you might have to specify the location of libssh by yourself, as we do in exiv2 formula.

giovariot commented 2 years ago

Thanks for the very fast reply.

It had already been linked

Warning: Already linked: /usr/local/Cellar/libssh/0.9.6

I tried relinking it but it didn't solve the problem.

If that won't work then you might have to specify the location of libssh by yourself, as we do in exiv2 formula.

Can you explain where and how I could add the same option from the formula? Are you referring to this line from the exiv2.rb file?

-DSSH_INCLUDE_DIR=#{Formula["libssh"].opt_include}

If so how should I replace the #{Formula["libssh"].opt_include} with a proper path? Where should I add the option?

Thanks in advance (and sorry, both for the bad English and for being a noob 😄)

Bo98 commented 2 years ago

If so how should I replace the #{Formula["libssh"].opt_include} with a proper path?

/usr/local/opt/libssh/include

giovariot commented 2 years ago

If so how should I replace the #{Formula["libssh"].opt_include} with a proper path?

/usr/local/opt/libssh/include

Thanks a lot.

Sorry to bother again: where should I put this path? I tried running cmake -DSSH_INCLUDE_DIR=/usr/local/opt/libssh/include . but this is what I get:

CMake Warning:
  Manually-specified variables were not used by the project:

    SSH_INCLUDE_DIR
giovariot commented 2 years ago

A new update, and sorry if I keep asking here but currently this is the best place I can ask on. I ended up directly adding to the include files and libraries folders paths to gcc as make doesn't seem to be able to find them on its own.

export C_INCLUDE_PATH=/usr/local/opt/libssh/include:/usr/local/opt/libomp/include:/usr/local/include export CPLUS_INCLUDE_PATH=/usr/local/opt/libssh/include:/usr/local/opt/libomp/include:/usr/local/include export LIBRARY_PATH=/usr/local/opt/libtiff/lib

This way it now compiles all the way to 45% printing out an error with this output in the end:

Consolidate compiler generated dependencies of target rtengine
[ 44%] Built target rtengine
Consolidate compiler generated dependencies of target rth-cli
[ 45%] Linking CXX executable ART-cli
Undefined symbols for architecture x86_64:
  "___kmpc_barrier", referenced from:
      _.omp_outlined. in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..6 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..7 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined. in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..30 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..37 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..42 in librtengine.a(rawimagesource.cc.o)
      ...
  "___kmpc_critical", referenced from:
      _.omp_outlined..5 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..7 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..30 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..32 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..38 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..39 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..40 in librtengine.a(rawimagesource.cc.o)
      ...
  "___kmpc_dispatch_init_4", referenced from:
      _.omp_outlined..6 in librtengine.a(dcp.cc.o)
      _.omp_outlined..4 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..6 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined. in librtengine.a(rtlensfun.cc.o)
      _.omp_outlined..1 in librtengine.a(rtlensfun.cc.o)
      _.omp_outlined. in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..31 in librtengine.a(rawimagesource.cc.o)
      ...
  "___kmpc_dispatch_init_8", referenced from:
      _.omp_outlined. in librtengine.a(cfa_linedn_RT.cc.o)
      _.omp_outlined. in librtengine.a(ahd_demosaic_RT.cc.o)
      _.omp_outlined. in librtengine.a(rcd_demosaic.cc.o)
      _.omp_outlined..2 in librtengine.a(CA_correct_RT.cc.o)
      _.omp_outlined. in librtengine.a(amaze_demosaic_RT.cc.o)
      _.omp_outlined..3 in librtengine.a(xtrans_demosaic.cc.o)
      _.omp_outlined..8 in librtengine.a(FTblockDN.cc.o)
      ...
  "___kmpc_dispatch_init_8u", referenced from:
      _.omp_outlined..10 in librtengine.a(tmo_fattal02.cc.o)
      _.omp_outlined..13 in librtengine.a(tmo_fattal02.cc.o)
      _.omp_outlined..1018 in librtengine.a(dcraw.cc.o)
  "___kmpc_dispatch_next_4", referenced from:
      _.omp_outlined..6 in librtengine.a(dcp.cc.o)
      _.omp_outlined..4 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..6 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined. in librtengine.a(rtlensfun.cc.o)
      _.omp_outlined..1 in librtengine.a(rtlensfun.cc.o)
      _.omp_outlined. in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..31 in librtengine.a(rawimagesource.cc.o)
      ...
  "___kmpc_dispatch_next_8", referenced from:
      _.omp_outlined. in librtengine.a(cfa_linedn_RT.cc.o)
      _.omp_outlined. in librtengine.a(ahd_demosaic_RT.cc.o)
      _.omp_outlined. in librtengine.a(rcd_demosaic.cc.o)
      _.omp_outlined..2 in librtengine.a(CA_correct_RT.cc.o)
      _.omp_outlined. in librtengine.a(amaze_demosaic_RT.cc.o)
      _.omp_outlined..3 in librtengine.a(xtrans_demosaic.cc.o)
      _.omp_outlined..8 in librtengine.a(FTblockDN.cc.o)
      ...
  "___kmpc_dispatch_next_8u", referenced from:
      _.omp_outlined..10 in librtengine.a(tmo_fattal02.cc.o)
      _.omp_outlined..13 in librtengine.a(tmo_fattal02.cc.o)
      _.omp_outlined..1018 in librtengine.a(dcraw.cc.o)
  "___kmpc_end_critical", referenced from:
      _.omp_outlined..5 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..7 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..30 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..32 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..38 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..39 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..40 in librtengine.a(rawimagesource.cc.o)
      ...
  "___kmpc_end_reduce", referenced from:
      _.omp_outlined. in librtengine.a(PF_correct_RT.cc.o)
  "___kmpc_end_reduce_nowait", referenced from:
      _.omp_outlined..70 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined. in librtengine.a(rt_algo.cc.o)
      _.omp_outlined. in librtengine.a(green_equil_RT.cc.o)
      _.omp_outlined. in librtengine.a(hilite_recon.cc.o)
      _.omp_outlined..4 in librtengine.a(hilite_recon.cc.o)
      _.omp_outlined..7 in librtengine.a(hilite_recon.cc.o)
      _.omp_outlined..16 in librtengine.a(filmnegativeproc.cc.o)
      ...
  "___kmpc_end_serialized_parallel", referenced from:
      rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) in librtengine.a(init.cc.o)
      rtengine::Imagefloat::multiply(float, bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::setMode(rtengine::Imagefloat::Mode, bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::rgb_to_xyz(bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::rgb_to_yuv(bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::rgb_to_lab(bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::xyz_to_rgb(bool) in librtengine.a(imagefloat.cc.o)
      ...
  "___kmpc_end_single", referenced from:
      _.omp_outlined..37 in librtengine.a(rawimagesource.cc.o)
      void (anonymous namespace)::gaussianBlurImpl<float>(float**, float**, int, int, double, float*, eGaussType, float**) in librtengine.a(gauss.cc.o)
      void rtengine::boxblur<float, float>(float**, float**, float*, int, int, int, int) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussVertical3<float>(float**, float**, int, int, float, float) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussHorizontalSse<float>(float**, float**, int, int, float) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussVerticalSsemult<float>(float**, float**, int, int, float) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussVerticalSsediv<float>(float**, float**, float**, int, int, float) in librtengine.a(gauss.cc.o)
      ...
  "___kmpc_for_static_fini", referenced from:
      _.omp_outlined. in librtengine.a(simpleprocess.cc.o)
      _.omp_outlined. in librtengine.a(init.cc.o)
      _.omp_outlined. in librtengine.a(dcp.cc.o)
      _.omp_outlined. in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..2 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..3 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..5 in librtengine.a(imagefloat.cc.o)
      ...
  "___kmpc_for_static_init_4", referenced from:
      _.omp_outlined. in librtengine.a(simpleprocess.cc.o)
      _.omp_outlined. in librtengine.a(init.cc.o)
      _.omp_outlined. in librtengine.a(dcp.cc.o)
      _.omp_outlined. in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..2 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..3 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..5 in librtengine.a(imagefloat.cc.o)
      ...
  "___kmpc_for_static_init_4u", referenced from:
      _.omp_outlined..7 in librtengine.a(rawimagesource.cc.o)
      void (anonymous namespace)::gaussVertical<float>(float**, float**, int, int, double) in librtengine.a(gauss.cc.o)
      _.omp_outlined. in librtengine.a(gainmap.cc.o)
  "___kmpc_for_static_init_8u", referenced from:
      _.omp_outlined. in librtengine.a(rt_algo.cc.o)
      _.omp_outlined..1 in librtengine.a(rt_algo.cc.o)
      _.omp_outlined..11 in librtengine.a(tmo_fattal02.cc.o)
      _.omp_outlined..12 in librtengine.a(tmo_fattal02.cc.o)
      _.omp_outlined..9 in librtengine.a(perspectivecorrection.cc.o)
      _.omp_outlined. in librtengine.a(rawimage.cc.o)
      _.omp_outlined..1 in librtengine.a(rawimage.cc.o)
      ...
  "___kmpc_fork_call", referenced from:
      rtengine::(anonymous namespace)::ImageProcessor::stage_finish(bool) in librtengine.a(simpleprocess.cc.o)
      rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) in librtengine.a(init.cc.o)
      rtengine::DCPProfile::apply(rtengine::Imagefloat*, int, Glib::ustring const&, rtengine::ColorTemp const&, std::__1::array<double, 3ul> const&, std::__1::array<std::__1::array<double, 3ul>, 3ul> const&, bool, bool) const in librtengine.a(dcp.cc.o)
      rtengine::Imagefloat::getStdImage(rtengine::ColorTemp const&, int, rtengine::Imagefloat*, PreviewProps) const in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::to8() const in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::to16() const in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::multiply(float, bool) in librtengine.a(imagefloat.cc.o)
      ...
  "___kmpc_global_thread_num", referenced from:
      _.omp_outlined. in librtengine.a(simpleprocess.cc.o)
      rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) in librtengine.a(init.cc.o)
      _.omp_outlined. in librtengine.a(dcp.cc.o)
      _.omp_outlined..6 in librtengine.a(dcp.cc.o)
      _.omp_outlined. in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..2 in librtengine.a(imagefloat.cc.o)
      _.omp_outlined..3 in librtengine.a(imagefloat.cc.o)
      ...
  "___kmpc_push_num_threads", referenced from:
      rtengine::RawImageSource::getRAWHistogram(LUT<unsigned int>&, LUT<unsigned int>&, LUT<unsigned int>&) in librtengine.a(rawimagesource.cc.o)
      rtengine::ImProcFunctions::firstAnalysis(rtengine::Imagefloat const*, rtengine::procparams::ProcParams const&, LUT<unsigned int>&) in librtengine.a(improcfun.cc.o)
      void rtengine::wavelet_level<float>::decompose_level<float>(float*, float*, float*, float*, int, int) in librtengine.a(ipdenoise.cc.o)
      rtengine::findMinMaxPercentile(float const*, unsigned long, float, float&, float, float&, bool) in librtengine.a(rt_algo.cc.o)
      void rtengine::wavelet_level<float>::decompose_level<float>(float*, float*, float*, float*, int, int) in librtengine.a(iplocalcontrast.cc.o)
      rtengine::wavelet_level<float>::SynthesisFilterSubsampHorizontal(float*, float*, float*, float*, float*, int, int, int, int, int) in librtengine.a(iplocalcontrast.cc.o)
      rtengine::wavelet_level<float>::SynthesisFilterSubsampVertical(float*, float*, float*, float (*) [4], float (*) [4], int, int, int, int, int, float) in librtengine.a(iplocalcontrast.cc.o)
      ...
  "___kmpc_reduce", referenced from:
      _.omp_outlined. in librtengine.a(PF_correct_RT.cc.o)
  "___kmpc_reduce_nowait", referenced from:
      _.omp_outlined..70 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined. in librtengine.a(rt_algo.cc.o)
      _.omp_outlined. in librtengine.a(green_equil_RT.cc.o)
      _.omp_outlined. in librtengine.a(hilite_recon.cc.o)
      _.omp_outlined..4 in librtengine.a(hilite_recon.cc.o)
      _.omp_outlined..7 in librtengine.a(hilite_recon.cc.o)
      _.omp_outlined..16 in librtengine.a(filmnegativeproc.cc.o)
      ...
  "___kmpc_serialized_parallel", referenced from:
      rtengine::init(rtengine::Settings const*, Glib::ustring, Glib::ustring, bool) in librtengine.a(init.cc.o)
      rtengine::Imagefloat::multiply(float, bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::setMode(rtengine::Imagefloat::Mode, bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::rgb_to_xyz(bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::rgb_to_yuv(bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::rgb_to_lab(bool) in librtengine.a(imagefloat.cc.o)
      rtengine::Imagefloat::xyz_to_rgb(bool) in librtengine.a(imagefloat.cc.o)
      ...
  "___kmpc_single", referenced from:
      _.omp_outlined..37 in librtengine.a(rawimagesource.cc.o)
      void (anonymous namespace)::gaussianBlurImpl<float>(float**, float**, int, int, double, float*, eGaussType, float**) in librtengine.a(gauss.cc.o)
      void rtengine::boxblur<float, float>(float**, float**, float*, int, int, int, int) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussVertical3<float>(float**, float**, int, int, float, float) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussHorizontalSse<float>(float**, float**, int, int, float) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussVerticalSsemult<float>(float**, float**, int, int, float) in librtengine.a(gauss.cc.o)
      void (anonymous namespace)::gaussVerticalSsediv<float>(float**, float**, float**, int, int, float) in librtengine.a(gauss.cc.o)
      ...
  "_omp_get_max_threads", referenced from:
      rtengine::RawImageSource::getRAWHistogram(LUT<unsigned int>&, LUT<unsigned int>&, LUT<unsigned int>&) in librtengine.a(rawimagesource.cc.o)
      rtengine::ImProcFunctions::firstAnalysis(rtengine::Imagefloat const*, rtengine::procparams::ProcParams const&, LUT<unsigned int>&) in librtengine.a(improcfun.cc.o)
      rtengine::findMinMaxPercentile(float const*, unsigned long, float, float&, float, float&, bool) in librtengine.a(rt_algo.cc.o)
      rtengine::ImProcFunctions::dynamicRangeCompression(rtengine::Imagefloat*) in librtengine.a(tmo_fattal02.cc.o)
      rtengine::denoise::RGB_denoise(rtengine::ImProcData&, int, rtengine::Imagefloat*, rtengine::Imagefloat*, rtengine::Imagefloat*, float*, float*, float*, bool, rtengine::procparams::DenoiseParams const&, double, rtengine::NoiseCurve const&, rtengine::NoiseCurve const&, float&, float&) in librtengine.a(FTblockDN.cc.o)
      DCraw::lossless_dnglj92_load_raw() in librtengine.a(dcraw.cc.o)
  "_omp_get_nested", referenced from:
      rtengine::denoise::RGB_denoise(rtengine::ImProcData&, int, rtengine::Imagefloat*, rtengine::Imagefloat*, rtengine::Imagefloat*, float*, float*, float*, bool, rtengine::procparams::DenoiseParams const&, double, rtengine::NoiseCurve const&, rtengine::NoiseCurve const&, float&, float&) in librtengine.a(FTblockDN.cc.o)
  "_omp_get_num_procs", referenced from:
      Options::setDefaults() in options.cc.o
  "_omp_get_num_threads", referenced from:
      _.omp_outlined..42 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined. in librtengine.a(hphd_demosaic_RT.cc.o)
      _.omp_outlined..2 in librtengine.a(hphd_demosaic_RT.cc.o)
  "_omp_get_thread_num", referenced from:
      _.omp_outlined..42 in librtengine.a(rawimagesource.cc.o)
      _.omp_outlined..6 in librtengine.a(demosaic_algos.cc.o)
      _.omp_outlined. in librtengine.a(hphd_demosaic_RT.cc.o)
      _.omp_outlined..2 in librtengine.a(hphd_demosaic_RT.cc.o)
      rtengine::denoise::detail_recovery(int, int, rtengine::LabImage*, rtengine::array2D<float>*, int, int, int, float**, float**, unsigned long, float, int, rtengine::array2D<float>&, rtengine::array2D<float>&, fftwf_plan_s**, fftwf_plan_s**, int, double, bool) in librtengine.a(FTblockDN.cc.o)
      _.omp_outlined..3 in librtengine.a(FTblockDN.cc.o)
  "_omp_set_nested", referenced from:
      rtengine::denoise::RGB_denoise(rtengine::ImProcData&, int, rtengine::Imagefloat*, rtengine::Imagefloat*, rtengine::Imagefloat*, float*, float*, float*, bool, rtengine::procparams::DenoiseParams const&, double, rtengine::NoiseCurve const&, rtengine::NoiseCurve const&, float&, float&) in librtengine.a(FTblockDN.cc.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [rtgui/ART-cli] Error 1
make[1]: *** [rtgui/CMakeFiles/rth-cli.dir/all] Error 2
make: *** [all] Error 2

I have already seen this kind of "symbol(s) not found for architecture x86_64" error in macOS, but don't really know how to overcome them. Has anyone any suggestion? Thanks a lot and sorry again for bother here

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.