At first, I guess it should be "SDL/SDL_mixer.h" instead of "SDL/SDL_mixer.h>. Then you should check if the file is present in one of the Include search paths ( /usr/include/ by default). Maybe it's installed to /usr/local/include or something, then you should run gcc/g++ (I expect you to use gcc for now) with -I/usr/local/include .