snakers4 / silero-vad

Silero VAD: pre-trained enterprise-grade Voice Activity Detector
MIT License
3.98k stars 395 forks source link

Compilation issue #525

Open bhaswa opened 4 weeks ago

bhaswa commented 4 weeks ago

I am getting the below error when comiling c++ code.

/usr/local/include/c++/12.2.0/bits/stl_construct.h:119:7: error: no matching function for call to 'Ort::Session::Session(Ort::Env&, const wchar_t, Ort::SessionOptions&)' 119 | ::new((void)p) _Tp(std::forward<_Args>(args)...); | ^~~~~~~~~~~~~ In file included from /vad/onnxruntime-linux-x64-1.18.1/include/onnxruntime_cxx_api.h:2387, from silero-vad-onnx.cpp:12:

Any suggestion what I am doing wrong ?

IntendedConsequence commented 2 weeks ago

Possible solution here: https://github.com/snakers4/silero-vad/issues/451