Adding libraries in NetBeans

I am using netbeans on Linux to write sketches.
I’ve created several libraries which work perfectly.
Unfortunately whenever I try to import a library to Arduino’s library folder I get the following error:

InfraRedReceiverVs1838b.cpp:2:31: fatal error: IRremote.h: No such file or directory
#include “IRremote.h”

I’ve also tried <IRremote.h>, but I still get the same message.
The library folder is in my default library directory which is:
usr/share/arduino/libraries

These are my setting for netbeans C++ options: