Anton Tarvo
Anton Tarvo

Reputation: 23

How to fix "The code execution cannot proceed because SDL2_ttf.dll was not found. Reinstalling the program may fix this problem."

I am trying to use sdl_ttf to display text in a window, but when I run my program, an error window pops up and says what the title says above. I have put SDL2_ttf.dll into the debug folder like I was supposed to during installation of ttf, so that cannot be the problem.

Upvotes: 0

Views: 2356

Answers (1)

Anton Tarvo
Anton Tarvo

Reputation: 23

I found the problem, the files were in the wrong folder. The tutorial said that I had to put them in the debug folder, while in reality I had to put them in the project directory.

Upvotes: 0

Related Questions