Skip to content

Compilation error when running make #180

@Bietola

Description

@Bietola

Hello all,

I can't seem to compile dasher anymore using ./configure && make && sudo make install (as suggested by the INSTALL file). configure runs just fine, but I get this when running make:

[...]
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/at-spi-2.0/atspi/atspi.h:27,
                 from dasher_editor_external_atspi.cpp:5:
/usr/include/c++/10.2.0/type_traits:56:3: error: template with C linkage
   56 |   template<typename _Tp, _Tp __v>
      |   ^~~~~~~~
dasher_editor_external_atspi.cpp:4:1: note: ‘extern "C"’ linkage started here
    4 | extern "C" {
      | ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
                 from /usr/include/glib-2.0/glib/gthread.h:32,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/at-spi-2.0/atspi/atspi.h:27,
                 from dasher_editor_external_atspi.cpp:5:
[...]

I'm including only the parts of the error which I think are relevant, since the error itself is extremely long (about 5000 lines). I've already tried installing different versions of the glib2 package (I'm using Manjaro), but nothing changed. Any help will be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions