Inkscape.org
Beyond the Basics Error compiling Inkscape
  1. #1
    panoss panoss @panoss

    I 'm using this guide trying to compile Inkscape on a win10 pc.
    But I get this error (short version):

    G:/Eggrafa/Git/Inkscape/master/src/util/delete-with.h:21:54: error: cannot convert '_GListModel*' to
     'GPtrArray*' in argument passing

    What can I do?




    This is the Full version:
     

    C:/msys64/mingw64/include/glib-2.0/gio/glistmodel.h:38:1: note: class type '_GListModel' is incomple
    te
       38 | G_DECLARE_INTERFACE(GListModel, g_list_model, G, LIST_MODEL, GObject)
          | ^~~~~~~~~~~~~~~~~~~
    G:/Eggrafa/Git/Inkscape/master/src/ui/dialog/text-edit.cpp: In lambda function:
    G:/Eggrafa/Git/Inkscape/master/src/ui/dialog/text-edit.cpp:194:57: warning: implicit capture of 'thi
    s' via '[=]' is deprecated in C++20 [-Wdeprecated]
      194 |     _font_changed = font_list->signal_changed().connect([=](){ apply_changes(true); });
          |                                                         ^
    G:/Eggrafa/Git/Inkscape/master/src/ui/dialog/text-edit.cpp:194:57: note: add explicit 'this' or '*th
    is' capture
    G:/Eggrafa/Git/Inkscape/master/src/ui/dialog/text-edit.cpp: In lambda function:
    G:/Eggrafa/Git/Inkscape/master/src/ui/dialog/text-edit.cpp:195:53: warning: implicit capture of 'thi
    s' via '[=]' is deprecated in C++20 [-Wdeprecated]
      195 |     _apply_font = font_list->signal_apply().connect([=](){ onChange(); onSetDefault(); });
          |                                                     ^
    G:/Eggrafa/Git/Inkscape/master/src/ui/dialog/text-edit.cpp:195:53: note: add explicit 'this' or '*th
    is' capture
    [932/1190] Building CXX object src/CMakeFiles/inkscape_base.dir/ui/widget/canvas.cpp.obj
    ninja: build stopped: subcommand failed.
    


     

     
     

     

     

  2. #2
    Maren Hachmann Maren Hachmann @Moini

    Please ask your question in the developers' chat room.

  3. #3
    panoss panoss @panoss
    *

    @Maren Hachmann could you give me the link to it?

  4. #4
    Maren Hachmann Maren Hachmann @Moini

    It's not too hard to find, if you look at the website. Try 'Community' tab: https://inkscape.org/community/