SD-Sample 'CardInfo' do not compile

I'm probably not the only one asking:
The example for SD cards reports the error "'SdVolume' does not name a type" when compiling.

I've already read on the net that you have to change something in the source files, but that can't be, that an example doesn't work.

What to do? Thanks for the answers!

Tested with Arduino 1.8.9 & HOURLY BUILDS
SD Version: 1.2.3 (9 Apr 2012)

I just successfully compiled it with IDE version 1.6.12. Clearly, it's an old example, maybe something changed in the latest distribution.

Thank you for the hint, but this was not the reason.
What I not talk is that use a WEMOS ESP8266.

The error muss from there, because if I use a MEGA 2560 as board base, the error pops not up.
I didn't think there were any such addictions.

I will now try my luck in the esp8266 forum - thank you very much here.

Timmmy

Recently I have had the same problem.
The problem is in esp8266 board version 2.5.2 (maybe already in 2.5.1)
The folder utilities is missing in the SD library.
Perhaps even more is missing.
Whether that was deliberately left out I do not know.