GraphicsProgramming / GraphicsProgramming/learnd3d11

When manually creating the project and adding shader files FXC acts up

Offen
#121 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
199
Forks
29
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Looks like when you add hlsl files manually to a project via Add New File it creates `` elements in the project file, which can cause a problem, as in vs tries to compile the files itself using `fxc.exe`.

```
1>an error occurred while setting the initial search directory.
1>searches will be relative to the application's starting directory.
1>compilation failed; no code produced
```

We should adjust the wording in the early chapters somewhere, that this can happen and a workaround is to manually remove `` elements from the project file.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.