k2-fsa / sherpa

Speech-to-text server framework with next-gen Kaldi
https://k2-fsa.github.io/sherpa
Apache License 2.0
477 stars 97 forks source link

Update cmake to cpp 17 #511

Closed ezerhouni closed 7 months ago

ezerhouni commented 7 months ago

I was tried building sherpa from source with torch 2.1 but failed with the following error:

#error C++17 or later compatible compiler is required to use PyTorch

Fixing changing the cpp version in the cmkae file did the trick

csukuangfj commented 7 months ago

Thank you for your contribution!