Project

General

Profile

Bug #12696

darktable-git release.2.7.0.r1558.gefe494082-1 Build issue with lensfun-git

Added by touze christian about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Buildsystem
Target version:
-
Start date:
07/23/2019
Due date:
% Done:

0%

Estimated time:
Affected Version:
git master branch
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

In file included from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc: In function ‘lfModifier* get_modifier(int*, int, int, const dt_iop_lensfun_data_t*, int)’:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:359:60: error: no matching function for call to ‘lfModifier::lfModifier(const float&, int&, int&, lfPixelFormat, const int&)’
359 | mod = new lfModifier(d->crop, w, h, LF_PF_F32, d->inverse); | ^
In file included from /tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:48,
from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/usr/include/lensfun/lensfun.h:2486:5: note: candidate: ‘lfModifier::lfModifier(const lfLens*, float, float, int, int, lfPixelFormat, bool)’
2486 | lfModifier (const lfLens *lens, float imgfocal, float imgcrop, int imgwidth, int imgheight, lfPixelFormat pixel_format, bool reverse = false); | ^~~~~~~~
/usr/include/lensfun/lensfun.h:2486:5: note: candidate expects 7 arguments, 5 provided
/usr/include/lensfun/lensfun.h:2372:16: note: candidate: ‘lfModifier::lfModifier(const lfLens*, float, int, int)’
2372 | DEPRECATED lfModifier (const lfLens *lens, float crop, int width, int height); | ^~~~~~~~
/usr/include/lensfun/lensfun.h:2372:16: note: candidate expects 4 arguments, 5 provided
/usr/include/lensfun/lensfun.h:2348:18: note: candidate: ‘lfModifier::lfModifier(const lfModifier&)’
2348 | struct LF_EXPORT lfModifier | ^~~~~~~~
/usr/include/lensfun/lensfun.h:2348:18: note: candidate expects 1 argument, 5 provided
In file included from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:361:71: error: no matching function for call to ‘lfModifier::EnableDistortionCorrection(lfLens* const&, const float&)’
361 | mods_done_tmp |= mod->EnableDistortionCorrection(d->lens, d->focal); | ^
In file included from /tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:48,
from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/usr/include/lensfun/lensfun.h:2499:9: note: candidate: ‘int lfModifier::EnableDistortionCorrection(const lfLensCalibDistortion&)’
2499 | int EnableDistortionCorrection (const lfLensCalibDistortion& lcd); | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:2499:9: note: candidate expects 1 argument, 2 provided
/usr/include/lensfun/lensfun.h:2510:9: note: candidate: ‘int lfModifier::EnableDistortionCorrection()’
2510 | int EnableDistortionCorrection (); | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:2510:9: note: candidate expects 0 arguments, 2 provided
In file included from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:363:86: error: no matching function for call to ‘lfModifier::EnableProjectionTransform(lfLens* const&, const float&, const lfLensType&)’
363 | ->EnableProjectionTransform(d->lens, d->focal, d->target_geom); | ^

In file included from /tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:48,
from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/usr/include/lensfun/lensfun.h:2570:9: note: candidate: ‘int lfModifier::EnableProjectionTransform(lfLensType)’
2570 | int EnableProjectionTransform (lfLensType target_projection); | ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:2570:9: note: candidate expects 1 argument, 3 provided
In file included from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:369:69: error: no matching function for call to ‘lfModifier::EnableTCACorrection(lfLens* const&, const float&)’
369 | else mods_done_tmp |= mod->EnableTCACorrection(d->lens, d->focal); | ^
In file included from /tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:48,
from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/usr/include/lensfun/lensfun.h:2520:9: note: candidate: ‘int lfModifier::EnableTCACorrection(const lfLensCalibTCA&)’
2520 | int EnableTCACorrection (const lfLensCalibTCA& lctca); | ^~~~~~~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:2520:9: note: candidate expects 1 argument, 2 provided
/usr/include/lensfun/lensfun.h:2531:9: note: candidate: ‘int lfModifier::EnableTCACorrection()’
2531 | int EnableTCACorrection (); | ^~~~~~~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:2531:9: note: candidate expects 0 arguments, 2 provided
In file included from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:372:97: error: no matching function for call to ‘lfModifier::EnableVignettingCorrection(lfLens* const&, const float&, const float&, const float&)’
372 | nettingCorrection(d->lens, d->focal, d->aperture, d->distance); | ^

In file included from /tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:48,
from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/usr/include/lensfun/lensfun.h:2541:9: note: candidate: ‘int lfModifier::EnableVignettingCorrection(const lfLensCalibVignetting&)’
2541 | int EnableVignettingCorrection (const lfLensCalibVignetting& lcv); | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:2541:9: note: candidate expects 1 argument, 4 provided
/usr/include/lensfun/lensfun.h:2556:9: note: candidate: ‘int lfModifier::EnableVignettingCorrection(float, float)’
2556 | int EnableVignettingCorrection (float aperture, float distance); | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:2556:9: note: candidate expects 2 arguments, 4 provided
In file included from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc: In function ‘void commit_params(dt_iop_module_t*, dt_iop_params_t*, dt_dev_pixelpipe_t*, dt_dev_pixelpipe_iop_t*)’:
/tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:1150:9: error: no match for ‘operator=’ (operand types are ‘lfLensCalibTCA’ and ‘<brace-enclosed initializer list>’)
1150 | }; | ^
In file included from /tmp/trizen-ch/darktable-git/src/darktable/src/iop/lens.cc:48,
from /tmp/trizen-ch/darktable-git/src/darktable/build/src/iop/introspection_lens.cc:54:
/usr/include/lensfun/lensfun.h:733:8: note: candidate: ‘constexpr lfLensCalibTCA& lfLensCalibTCA::operator=(const lfLensCalibTCA&)’
733 | struct lfLensCalibTCA | ^~~~~~~~~~~~
/usr/include/lensfun/lensfun.h:733:8: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const lfLensCalibTCA&’
/usr/include/lensfun/lensfun.h:733:8: note: candidate: ‘constexpr lfLensCalibTCA& lfLensCalibTCA::operator=(lfLensCalibTCA&&)’
/usr/include/lensfun/lensfun.h:733:8: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘lfLensCalibTCA&&’
make2: * [src/iop/CMakeFiles/lens.dir/build.make:68: src/iop/CMakeFiles/lens.dir/introspection_lens.cc.o] Error 1
make1:
[CMakeFiles/Makefile2:4393: src/iop/CMakeFiles/lens.dir/all] Error 2
make: *
* [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: Unable to build darktable-git - makepkg exited with code: 4

History

#1 Updated by jakub f about 2 months ago

There is no support for lensfun-git currently, only 0.3.95 is supported. lensfun-git API has changed since 0.3.95.

Also available in: Atom PDF

Go to top