Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when running make #180

Open
Bietola opened this issue Apr 24, 2021 · 2 comments
Open

Compilation error when running make #180

Bietola opened this issue Apr 24, 2021 · 2 comments

Comments

@Bietola
Copy link

Bietola commented Apr 24, 2021

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.

@prlw1
Copy link

prlw1 commented Apr 25, 2021 via email

Bietola added a commit to Bietola/dasher that referenced this issue Apr 27, 2021
See this issue: dasher-project#180. The
solution is uninformed and it worked as if by miracle... danger might
come down the road.
@Bietola
Copy link
Author

Bietola commented May 1, 2021

Thanks a lot it worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants