Are you writing #include "curses.h" or #include <curses.h>? If the former, make sure that curses.h is in the same directory as your project. If the latter, add the correct search directory to the project. Also make sure you are spelling it right. I doubt it's a problem with Code::Blocks.