Skip to content

you need C++17 to compile pytorch #1794

Description

@laohuys2006
   I compiled a CUDA project with the libtorch lib -----"libtorch-win-shared-with-deps-2.5.0+cu124" in visual studio 2002 IDE under WIN11 , but the issue " C1189, you need C++17 to compile pytorch "occured ,but i had set the language to std c++17 

屏幕截图 2024-10-24 184346

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

    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