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

如何安装cpp-api #891

Closed
Mactarvish opened this issue May 19, 2024 · 2 comments
Closed

如何安装cpp-api #891

Mactarvish opened this issue May 19, 2024 · 2 comments

Comments

@Mactarvish
Copy link

执行install之后得到的是c-api,但是我想要cpp风格的api 如何安装cpp-api

@csukuangfj
Copy link
Collaborator

目前没有单独的 cpp-api.h

如果你想用 cpp-api.h, 你需要参考我们的 sherpa-onnx.cc 如何写的,用我们的 CMakeLists.txt, 把你的代码加进来。


欢迎贡献 cpp-api.h 和 cpp-api.cc

@Mactarvish
Copy link
Author

好,有时间整一套

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants