Skip to content

Error building C++ backend #1958

Open
Open
@cnd

Description

@cnd

Trying version 0.5.0 (but same with 0.4.2), first I get:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include/g++-v9/x86_64-pc-linux-gnu/bits/c++config.h:273:27: error: #if with no expression
  273 | #if _GLIBCXX_USE_CXX11_ABI
      |                           ^

if I fix it by manually changing makefile and replacing -D_GLIBCXX_USE_CXX11_ABI= with _GLIBCXX_USE_CXX11_ABI=1 I get another errors:

/usr/include/ATen/core/dispatch/Dispatcher.h:211:80: error: redeclaration of ‘at::Tensor& args#0’
  211 |     return kernel.template callUnboxedOnly<Return, Args...>(std::forward<Args>(args)...);
      |                                 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions