Mediapipe: Any plan to generate an SDK (headers, static & dynamic libs) so that mediapipe can be used without bazel

Created on 4 Dec 2019  路  7Comments  路  Source: google/mediapipe

Hi,

A lot (dare I say almost all) of the C/C++ projects in the world are CMake based however it is understandable that the scale of all things google require a build system like Bazel.

In near future, do you guys by any chance plan to generate an SDK ( a directory with header files and lib files of media pipe) that one could import/include in their custom project based on other build systems (like CMake) ?

Thanks for this great work

Regards
Kapil

feature request

All 7 comments

I have the same request #236

I have the same request... I'm having some issues compiling the library for iOS. Currently when using the project of the library, the static .a that I get after it can't be included in my project because it seems that bitcode is not enabled. I checked the target(I'm using the hand tracking library) and bitcode seems enabled but for some reason, the outcome has not bitcode. Anybody else facing the same issue?

I would be also interested in this.
I'm trying to build a library to be able to use it in C++ project.
Made the following for desktop OSX, built the static lib, searched for all the required headers and copied them to the project, which is a copy of hello_world, but with the static lib.

apple_static_library(
    name = "mediapipe",
    deps = [
        "//mediapipe/framework:calculator_framework",
        "//mediapipe/framework/port:commandlineflags",
        "//mediapipe/framework/port:file_helpers",
        "//mediapipe/framework/port:map_util",
        "//mediapipe/framework/port:parse_text_proto",
        "//mediapipe/framework/port:ret_check",
        "//mediapipe/framework/port:status",
        "//mediapipe/framework/port:statusor",
        "@com_google_absl//absl/strings",
        "//mediapipe/calculators/core:pass_through_calculator",
    ],
)

When I run the executable I get these errors:

Not found: ValidatedGraphConfig Initialization failed.
No registered object with name: PassThroughCalculator; Unable to find Calculator "PassThroughCalculator"
No registered object with name: PassThroughCalculator; Unable to find Calculator "PassThroughCalculator"

Do you have any suggestions to fix this?

This is something we are looking at. However, we do not have a timeline on this

Same problem

I'm also interested in this for integrating with Rust.

I'm also looking for this.
Proper cmake support would of course be preferred but I guess that's off the table anyway? :p

Was this page helpful?
0 / 5 - 0 ratings