problem with creating a library

Which version of the IDE are you using? I can pretty well guess that it is 1.0.1, which does not think that missing include files are a fatal error.