SimpleAudioDenoise icon indicating copy to clipboard operation
SimpleAudioDenoise copied to clipboard

编译报错解决:ninja: build stopped: subcommand failed.

Open pingxiangren opened this issue 2 years ago • 0 comments

解决过程

  • 使用 VS2022 生成工程,报如题错误,改用 QT Creator 构建报错找不到 M_PI 定义,于是尝试如下图解决方案。

图片

QQ截图20230907162157

  • #define _USE_MATH_DEFINES 这行定义一定得放在 #include "stb_fft.h" 前面。

结果

  • 成功生成 exe 文件,降噪效果很好。

pingxiangren avatar Sep 07 '23 08:09 pingxiangren