1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SDL2.dllが見つからないエラーの件

Posted at

SDL2を導入したvisualstudioで、SDL2.dllが見つからないエラーが解決できなかったが、やっとこさ解決できた。原因のエラー↓
スクリーンショット 2024-03-11 213032.png

原因:
ビルドの際に、プロジェクトに生成されるdebugfolderの中に、SDL2.dllが生成
されなかったために起きていたエラーだった。スクリーンショット 2024-03-11 212347.png
つまり、このSDL2.dllが生成されるようにすればいい。
それの設定がこれ↓スクリーンショット 2024-03-11 212537.png
このコマンドラインにしっかりとしたpathを通せば解決する。

結果:
単純にネットのpathをコピペしたのが原因だった。
必ず、SDL2が自身のパソコンのどこに保存されているのかを理解して、正しいpath
を通す必要がある。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?