Thanks ahill. It worked.
On Tue, 2014-07-15 at 21:44 +0200, ahill wrote:
> Hi
>
> I had exactly the same issue on debian WHEEZY (7.0).
>
> Unfortunatly cleanning the cache, and/or downloading a new source
> tareball did not change anything..
>
> I had to comment out those line in darktable.c - But that's just a
> dirty workaround
>
> line 462:
> //Patch AH char *lua_command __attribute__((unused))= NULL;
> line 563 to 566
> // patch AH else if(!strcmp(argv[k], "--luacmd"))
> //{
> // lua_command = argv[++k];
> //}
>
> it seems that the compilator doesnt like the "unused" lua_command if
> it doens't go in the if command
>
> After commenting out thoses lines, the compilation is OK.
>
> Cheers
>
> ah
>
> 2014-07-15 8:02 GMT+02:00 Roman Lebedev <[email protected]>:
> > Hi.
> > Try building without ccache.
> >
> >
> > On Sat, Jul 12, 2014 at 10:23 PM, Kasun Chathuranga <[email protected]> wrote:
> >>
> >> Hello,
> >> I am using Fedora 20 x64 version.
> >>
> >> It was not possible built dt due to
> >>
> >> /media/M-Drive/Software/Source/darktable/src/common/darktable.c: In
> >> function ‘dt_init’:
> >> /media/M-Drive/Software/Source/darktable/src/common/darktable.c:462:9:
> >> error: variable ‘lua_command’ set but not used
> >> [-Werror=unused-but-set-variable]
> >> char *lua_command __attribute__((unused))= NULL;
> >> ^
> >> cc1: all warnings being treated as errors
> >> make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/darktable.c.o] Error
> >> 1
> >> make[2]: *** Waiting for unfinished jobs....
> >> make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
> >> make: *** [all] Error 2
> >>
> >> Full console log attached.
> >>
> >> Could any one help me to build it?
> >>
> >> Thank You.
> >>
> >> Best Regards,
> >> Kasun Chathuranga
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------------
> >>
> >> _______________________________________________
> >> Darktable-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/darktable-users
> >>
> >
> >
> > ------------------------------------------------------------------------------
> > Want fast and easy access to all the code in your enterprise? Index and
> > search up to 200,000 lines of code with a free copy of Black Duck
> > Code Sight - the same software that powers the world's largest code
> > search on Ohloh, the Black Duck Open Hub! Try it now.
> > http://p.sf.net/sfu/bds
> > _______________________________________________
> > Darktable-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/darktable-users
> >
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds
_______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
