can't compile?
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
Hi RaTcHeT302 - it seems possible that the Windows SDK version used is too old, can you try with the newest Windows SDK here, and then right click on Project -> Properties to change the SDK version? https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/