Issue with custom C++ Library using <string>

Is your library named "string"? If so, it's a bad choice since there's already a library named "String".

Did you try:
#include <string.h>