It's not enough to add the include path to the
c_cpp_properties.json
(that only affects the highlighting in the IDE). You also need a compiler flag.