cosyneco / MediaPipe.NET.Runtime

Native runtime package for MediaPipe.NET.
MIT License
20 stars 6 forks source link

Undefined symbols on MacOS #9

Open Speykious opened 2 years ago

Speykious commented 2 years ago

Compiling libmediapipe_c.dylib results in various unresolved undefined symbols, which makes it impossible for MediaPipe.NET to work on MacOS.

The ones that are not being resolved seem to be _AV*. There may be other unresolved symbols among them, such as _CV*. Having FFmpeg installed on the system doesn't seem to fix the issue, which leads me to think that we have some sort of configuration issue related to the MediaPipe.NET.Runtime building script on MacOS.

Here are all undefined MacOS symbols in a text file (no indication of whether they are being resolved at runtime or not). If you have a MacOS system, you can get them by typing the command nm -gu <path-to>/libmediapipe_c.dylib. undefined-macos-symbols.txt

Speykious commented 2 years ago

This might be a related issue: https://github.com/google/mediapipe/issues/510

sr229 commented 2 years ago

Putting as Low prio as we don't have the resources to fix this.

sr229 commented 1 year ago

We can probably revisit this by manually installing the opencv headers in the system using brew or ports.