Hi,
I failed to build darktable with the latest git/master verstion of lensfun. I've reverted it to 50d406677b80cca413af903c01ac40a4945a2605 and I've no more the problem.
Attached exerpt of the darktable build log
Regards
Jean-Luc
As a quick workaround, you may use the environment variable
CFLAGS=-Wno-error=deprecated-declarations
FWIW, the code below could also include /usr/local/share... I built/installed lensfun from source, which installs it to /usr/local.
I #ifdef'd out the path guessin in darktable "src/iop/lens.c" 2321L and created a softlink and all is well.
/** @brief Home lens database directory (something like "~/.local/share/lensfun") */ static const char *const UserLocation; /** @brief Home lens database directory for automatic updates (something * like "~/.local/share/lensfun/updates") */ static const char *const UserUpdatesLocation; /** @brief System lens database directory (something like "/usr/share/lensfun") */ static const char *const SystemLocation; /** @brief System lens database directory for automatic updates (something * like "/var/lib/lensfun-updates") */ static const char *const SystemUpdatesLocation;
This
static const char *const SystemLocation;
should automatically point to $CMAKE_INSTALL_PREFIX/share/lensfun.
Maybe the path guessing of Darktable does not look for /usr/local?
Can this be closed?
As a quick workaround, you may use the environment variable
FWIW, the code below could also include /usr/local/share...
I built/installed lensfun from source, which installs it to /usr/local.
I #ifdef'd out the path guessin in darktable "src/iop/lens.c" 2321L and created a softlink and all is well.
This
should automatically point to $CMAKE_INSTALL_PREFIX/share/lensfun.
Maybe the path guessing of Darktable does not look for /usr/local?
Can this be closed?