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:
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 ?