whodunit.c:6:10: fatal error: 'bmp.h' file not found

include "bmp.h"

1 error generated.

1 Answer 1


You may have the file, but it isn't in the same directory as your source code file and/or the directory where you are executing your make command. You must be in the same directory on the command line as both the resize.c file and the bmp.h file. If either file is in a different directory, the compile will fail.

Given all of your previous questions and the results, you should really spend some time becoming skilled with directory structures, moving files and directories, etc. You have a clear need to improve your linux command line and environment skills.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .