Skip to content

[C++] Compilation issue #525

@bhaswa

Description

@bhaswa

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 ?

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions