Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

can't compile?

Open
#58 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
api, build-system

Research direction

Start by reproducing the HelloDirectStorage build from the sample project, checking the manually added include path and the Windows SDK 10.0.17134.0 environment. Read Samples/HelloDirectStorage/HelloDirectStorage.cpp around line 50 and the reported winrt/base.h errors. Done means the sample opens and builds without the listed C++/WinRT errors.

Written by the indexing model from the issue text.

Description

i wanted to try the "hellodirectstorage" sample, i opened the .snl project and first it didnt even see "dstorage.h", so i had to add the include folder manually, but even then it still doesnt work??? am i supposed to download something else? WHY DOES NO ONE EXPLAIN ANYTHING

it just says "open and build" but i cant even click a button to get it to work :(

Gravità Codice Descrizione Progetto File Riga Stato eliminazione Errore C2065 'from_abi': identificatore non dichiarato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 3850 Errore (attivo) E0304 nessuna istanza di modello di funzione "IID_PPV_ARGS_Helper" corrispondente all'elenco di argomenti HelloDirectStorage C:\Users\Ratchet\Documents\Altro\Progetti\Software\DirectStorage\DirectStorage-main\Samples\HelloDirectStorage\HelloDirectStorage.cpp 50 Errore C1903 impossibile recuperare l'errore o gli errori precedenti. Interruzione della compilazione HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 7259 Errore C2039 'to_abi': non è un membro di 'winrt' HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 6163 Errore C3861 'to_abi': identificatore non trovato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 6308 Errore C2065 'to_abi': identificatore non dichiarato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 6308 Errore C3861 'from_abi': identificatore non trovato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 2185 Errore C3861 'from_abi': identificatore non trovato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 2209 Errore C3861 'from_abi': identificatore non trovato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 3850 Errore C2065 'from_abi': identificatore non dichiarato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 2185 Errore C2065 'from_abi': identificatore non dichiarato HelloDirectStorage C:\Program Files (x86)\Windows Kits\10\Include\10.0.17134.0\cppwinrt\winrt\base.h 2209

Dominant language
C++
Stars
897
Forks
111
Avg merge
13h 58m
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/DirectStorage

All issues in microsoft/DirectStorage

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.