Wire.h: No such file or directory [SOLVED]

For some reason I can't get Wire.h to work with my project. Even if I copy the folder "arduino-1.6.1\hardware\arduino\avr\libraries\Wire" into my local libraries directory it still produces this error.

I figured out the problem. It’s not enough to put “#include <Wire.h>” in the source file you are using the library in. It seems you must also put “#include <Wire.h>” in the main *.ino file for the sketch as well, before it can be used in any other source code files.

I guess this can be closed.