Menu

#72 Failed to build darktable with latest git/master version of lensfun

open
nobody
None
2019-04-20
2017-01-14
No

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

1 Attachments

Discussion

  • Torsten Bronger

    Torsten Bronger - 2017-01-14

    As a quick workaround, you may use the environment variable

    CFLAGS=-Wno-error=deprecated-declarations
    
     
  • Ryan Henderson

    Ryan Henderson - 2017-08-18

    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;
    
     
  • seebk

    seebk - 2017-10-24

    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?

     
  • Torsten Bronger

    Torsten Bronger - 2019-04-20

    Can this be closed?