SOIL error - "Unable to open file"

During a class construction no matter what I put as the file name SOIL_load_OGL_texture always returns “Unable to open file”. This is a very annoying problem that I haven’t been able to figure out for ages

Thanks,
Rowan