pytorch / pytorch/pytorch.github.io
you need C++17 to compile pytorch
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 285
- Forks
- 317
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, project file, or test is provided. Start by reproducing the C1189 error with libtorch-win-shared-with-deps-2.5.0+cu124 in Visual Studio under Windows 11, then verify the effective C++ language setting used by the CUDA project; done means the project compiles with C++17 or the required configuration is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, pytorch
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100