Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Compilation issue #525

Open
bhaswa opened this issue Aug 19, 2024 · 1 comment
Open

[C++] Compilation issue #525

bhaswa opened this issue Aug 19, 2024 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@bhaswa
Copy link

bhaswa commented Aug 19, 2024

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 ?

@bhaswa bhaswa added the help wanted Extra attention is needed label Aug 19, 2024
@bhaswa bhaswa changed the title ❓ Compilation issue Compilation issue Aug 19, 2024
@IntendedConsequence
Copy link

Possible solution here: #451

@snakers4 snakers4 changed the title Compilation issue [C++] Compilation issue Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants