I hope that this is not too harsh, but I think that the long and short of it is that you have to do some homework to understand what that library is all about and how to uses it properly.
Here is a hint from the config.h file:
Arduino library for asynchronous playback of PCM/WAV files direct from SD card. Arduino Uno,Nano,Mega etc supported - TMRh20/TMRpcm
C:
//#define ENABLE_RECORDING
// Amount of space to pre-allocate for recording
// #define BLOCK_COUNT 10000UL // 10000 = 500MB 2000 = 100MB
So, the IDE is telling you that the "command" ".startRecording" (the member of the class) does not exist. That seems to be saying pretty clearly that the code to record sound files and not just play them is not getting compiled.
That the code fragment that I included below is commented out gives you a clue as to what you need to do. BUT, do not think that I have solved the problem for you and it is now plug and play and all systems go for your spy activities.
I only gave a cursory glance at that library, but I would say that you need to spend the time to learn what the library does and how to use it. If you keep plowing away, I think that you can do that and there are many here that will help - if you put forth the effort. That is my opinion anyways.