Home > Blockchain >  C: #include error even after placing the header file in the right path
C: #include error even after placing the header file in the right path

Time:10-15

Okay, so I've downloaded a third-party library SDL_mixer, which plays sound. Even tho I placed the .h file in the include folder, it's still showing me the error:

fatal error: SDL_stdinc.h: No such file or directory

Here's the screenshot below:

enter image description here

CodePudding user response:

I think you should look inside the SDL_mixer.h library. SDL_stdinc.h may be defined in it.

CodePudding user response:

Maybe try

#include "SDL_stdinc.h"

this...

  • Related