This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #23
This PR enables us to build
libmediapipe_c.so
with--opencv cmake
option on Windows.Disabled tests on Windows CI are restored, too.
In order to pass all tests, I also fixed:
DllNotFoundException
that occurs when any native APIs are called.[DllImport('mediapipe_c')]
, it seems that Windows loader cannot findlibmediapipe_c.dll
.Packet#DebugTypeName
returns different results than when run on Linux.By the way, I heard that EmguCV (OpenCV 4.x) is used in this project.
If so, I think it's not ideal to link OpenCV (3.4.10) statically, and
libmediapipe_c.dll
should link to the OpenCV library that EmguCV uses.Major Changes
end_of_line
in.editorconfig
to match the current newline of most files.ci.yml
uses CR+LF, and diffs got larger.libmediapipe_c.so
on Windows (i.e.--opencv cmake
).Notes
C:\_bzl
) isn't still cached.WITH_LAPACK
option is disabled, because it can take +20 minutes more than without it on CI.