On Tue, Jun 16, 2015 at 9:45 PM, Alexander Rabtchevich < alexander.v.rabtchev...@gmx.net> wrote:
> I guessed Mint 17.1 is not too old system. Git building result is: > > Building C object src/CMakeFiles/lib_darktable.dir/common/calculator.c.o > Building C object src/CMakeFiles/lib_darktable.dir/bauhaus/bauhaus.c.o > Building C object src/CMakeFiles/lib_darktable.dir/common/cache.c.o > Building C object src/CMakeFiles/lib_darktable.dir/common/colorlabels.c.o > [ 29%] Building C object > src/CMakeFiles/lib_darktable.dir/common/colorspaces.c.o > [ 29%] Building C object > src/CMakeFiles/lib_darktable.dir/common/curve_tools.c.o > In file included from /home/sasha/Install/darktable/src/views/view.h:31:0, > from /home/sasha/Install/darktable/src/libs/lib.h:23, > from > /home/sasha/Install/darktable/src/control/control.h:33, > from > /home/sasha/Install/darktable/src/common/colorlabels.c:23: > /home/sasha/Install/darktable/src/gui/gtk.h: In function > ‘gtk_stack_get_child_by_name’: > /home/sasha/Install/darktable/src/gui/gtk.h:33:3: error: unknown type name > ‘GtkStackPrivate’ > GtkStackPrivate *priv = gtk_stack_get_instance_private(stack); > ^ > As expected, it is harder than it looked in the beginning :/ > /home/sasha/Install/darktable/src/gui/gtk.h:33:3: error: implicit > declaration of function ‘gtk_stack_get_instance_private’ > [-Werror=implicit-function-declaration] > /home/sasha/Install/darktable/src/gui/gtk.h:33:27: error: initialization > makes pointer from integer without a cast [-Werror] > GtkStackPrivate *priv = gtk_stack_get_instance_private(stack); > ^ > /home/sasha/Install/darktable/src/gui/gtk.h:34:3: error: unknown type name > ‘GtkStackChildInfo’ > GtkStackChildInfo *info; > ^ > /home/sasha/Install/darktable/src/gui/gtk.h:40:15: error: request for > member ‘children’ in something not a structure or union > for(l = priv->children; l != NULL; l = l->next) > ^ > /home/sasha/Install/darktable/src/gui/gtk.h:43:12: error: request for > member ‘name’ in something not a structure or union > if(info->name && strcmp(info->name, name) == 0) return info->widget; > ^ > In file included from /usr/include/string.h:635:0, > from > /home/sasha/Install/darktable/src/common/dtpthread.h:26, > from > /home/sasha/Install/darktable/src/common/darktable.h:37, > from > /home/sasha/Install/darktable/src/common/colorlabels.c:18: > /home/sasha/Install/darktable/src/gui/gtk.h:43:33: error: request for > member ‘name’ in something not a structure or union > if(info->name && strcmp(info->name, name) == 0) return info->widget; > ^ > /home/sasha/Install/darktable/src/gui/gtk.h:43:33: error: request for > member ‘name’ in something not a structure or union > if(info->name && strcmp(info->name, name) == 0) return info->widget; > > Simplest solution is to just upgrade gtk3 to at least 3.12 ... > With respect, > Alexander Rabtchevich > > > > Roman Lebedev wrote: > > On Tue, Jun 16, 2015 at 7:40 PM, Alexander Rabtchevich < >> alexander.v.rabtchev...@gmx.net <mailto:alexander.v.rabtchev...@gmx.net>> >> wrote: >> >> Hello >> >> Linking C shared module liblive_view.so >> [ 61%] Built target lighttable_mode >> Scanning dependencies of target module_toolbox >> [ 61%] Building C object >> src/libs/CMakeFiles/module_toolbox.dir/tools/module_toolbox.c.o >> Linking C shared module libmetadata.so >> [ 61%] Built target import >> Scanning dependencies of target modulegroups >> [ 61%] Built target live_view >> [ 61%] Building C object >> src/libs/CMakeFiles/modulegroups.dir/modulegroups.c.o >> Scanning dependencies of target modulelist >> /home/sasha/Install/darktable/src/libs/tools/module_toolbox.c: In >> function ‘_lib_module_toolbox_add’: >> /home/sasha/Install/darktable/src/libs/tools/module_toolbox.c:101:3: >> error: implicit declaration of function ‘gtk_stack_get_child_by_name’ >> [-Werror=implicit-function-declaration] >> >> One can not expect to run an old distro AND install bleeding-edge >> software at the same time and expect that everything will always be fine. >> old distro = {old packages, less bugs} >> bleeding-edge software = {lot's of new bugs, dependencies on newer >> library versions} >> It simply can not co-exist with no issues. >> >> GtkWidget *box = >> >> gtk_stack_get_child_by_name(GTK_STACK(d->container),target_view->module_name); >> ^ >> /home/sasha/Install/darktable/src/libs/tools/module_toolbox.c:101:20: >> error: initialization makes pointer from integer without a cast >> [-Werror] >> GtkWidget *box = >> >> gtk_stack_get_child_by_name(GTK_STACK(d->container),target_view->module_name); >> ^ >> cc1: all warnings being treated as errors >> make[2]: *** >> [src/libs/CMakeFiles/module_toolbox.dir/tools/module_toolbox.c.o] >> Error 1 >> make[1]: *** [src/libs/CMakeFiles/module_toolbox.dir/all] Error 2 >> make[1]: *** Waiting for unfinished jobs.... >> >> >> Please try with current master, MAYBE it is fixed, else post build log... >> >> With respect, >> Alexander Rabtchevich >> >> Roman. >> >> >
------------------------------------------------------------------------------
_______________________________________________ darktable-devel mailing list darktable-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/darktable-devel