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.

2
  • 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, 2020 at 9:36
  • Also some suggestions for replacing it if you're using MingW here: How do I get crtdbg.h file?
    – Rup
    Jun 29, 2020 at 9:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.