I'm building dt 4.6.1 following the build procedure in the READMe.MD file on
github as accurately as I am able to - that is I am following every command
line instruction/example given. I'm running Mint 21.3, up to date as of this
morning.

The build proceeds to about 95% complete; it then posts this error (copied
from my terminal dialog):

{ 95%] Linking C shared module libtiff.so
[ 95%] Linking C shared module libwebp.so
[ 95%] Linking CXX shared module libdemosaic.so
[ 96%] Linking C shared module libj2k.so
[ 96%] Built target tiff
In file included from
/home/tony/darktable/build/lib/darktable/plugins/introspection_lens.cc:175:
/home/tony/darktable/src/iop/lens.cc: In function ‘lfModifier*
_get_modifier(int*, int, int, const dt_iop_lens_data_t*, int, gboolean)’:
/home/tony/darktable/src/iop/lens.cc:985:46: error: no matching function for
call to ‘lfModifier::lfModifier(lfLens* const&, const float&, const int&,
const int&)’
  985 |   mod = new lfModifier(d->lens, d->crop, w, h);
      |                                              ^
compilation terminated due to -Wfatal-errors.
[ 96%] Building C object
lib/darktable/plugins/imageio/storage/CMakeFiles/latex.dir/latex.c.o
gmake[2]: *** [lib/darktable/plugins/CMakeFiles/lens.dir/build.make:82:
lib/darktable/plugins/CMakeFiles/lens.dir/introspection_lens.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:6141:
lib/darktable/plugins/CMakeFiles/lens.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 96%] Built target webp
[ 96%] Built target demosaic

This might be indicating an error in line 985 of file lens.cc in
/darktable/src/iop - but I suspect more strongly that this is a user error
resulting from some file not being included or at the wrong version. No
unfulfilled dependencies are flagged and I have a valid version of lensfun
installed. Any suggestion of where I should be looking to determine the cause?

The error is consistently reproducible. I am deleting ~/darktable and
/opt/darktable entirely between build attempts.


____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to