GraphicsProgramming / GraphicsProgramming/learnd3d11

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

オープン
#121 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
199
フォーク
29
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。