1

I am building a voice assistant using Microsoft SAPI in C++ . I used the code from Cyril Leroux's answer here

But during compilation, it throws this error:

C:\Program Files (x86)\Microsoft Speech SDK 5.1\Include\sphelper.h:17:20: fatal error: crtdbg.h: No such file or directory
 #include <crtdbg.h>
                    ^
compilation terminated.

I would be grateful if someone could help.

Sid
  • 2,174
  • 1
  • 13
  • 29
  • I have that file both in my Visual Studio folder and in the Windows Kits SDK folder. What are you compiling this with? – Rup Jun 29 '20 at 09:36
  • Also some suggestions for replacing it if you're using MingW here: [How do I get crtdbg.h file?](https://stackoverflow.com/q/12685202/243245) – Rup Jun 29 '20 at 09:37

0 Answers0