-
Notifications
You must be signed in to change notification settings - Fork 11
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
Need Help with protobuf
for maa-onnxruntime
#26
Comments
The latest commit is known broken, use 2024-05-30 tag for now. |
The
|
Submitted PR to fix above OpenCV issue. Note: In addition to the documentation, here are additional things required to compile. Consider pack them into the container in the future.
|
https://github.com/MaaXYZ/MaaDeps/actions/runs/10226168335 我遇到了相同的问题,但这似乎是由于 vcpkg 的更新导致的。我的 onnxruntime 并没有修改( |
TLDR: In configuring
-- Configuring x64-linux
withpython ./build.py --target x64-linux
, I got aprotobuf
dependency error and later a linking error. Dug the issue for a while without a clear solution, thus appreciate some guidance.Running
python ./build.py --target x64-linux
caused the error:Here is the log
config-x64-linux-out.log
After looking at it, I found that although
${Protobuf_FOUND} = 1
, almost all other variables (including${Protobuf_INCLUDE_DIRS}
,${Protobuf_LIBRARIES}
,${Protobuf_VERSION}
are unset. This is very strange to me. A potential solution I found is to add a lineinclude(FindProtobuf)
in front ofset_target_properties
code.This solves the compilation but there are still some
undefined reference
issues related toand
I am not sure whether adding
include(FindProtobuf)
is in the correct path. And I don't understand the purpose and complications of your.patch
files applied tomaa-onnxruntime
. It would be very helpful if you can provide some guidance or insights into the issue. Thanks!The text was updated successfully, but these errors were encountered: