pntt3011 / mediapipe_face_iris_cpp

Real-time Face and Iris Landmarks Detection using C++
GNU General Public License v3.0
81 stars 15 forks source link

tensorflow 2.4.4 and bazel build //tensorflow:libtensorflow_cc.so in MacOs 12.1 #5

Closed chfeizy closed 2 years ago

chfeizy commented 2 years ago

bug ld: warning: dylib (/private/var/tmp/_bazel_also/c6fd75dad1daa641f8f9e0b5d840292d/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/libtensorflow_cc.so) was built for newer macOS version (12.1) than being linked (12.0) ld: warning: dylib (/private/var/tmp/_bazel_also/c6fd75dad1daa641f8f9e0b5d840292d/execroot/org_tensorflow/bazel-out/darwin-opt/bin/tensorflow/libtensorflow_framework.2.dylib) was built for newer macOS version (12.1) than being linked (12.0) Undefined symbols for architecture x86_64:

pntt3011 commented 2 years ago

I'm sorry that I can't help you with your problem. I don't have any laptop that uses MacOS. You can refer this repo: https://github.com/milinddeore/mediapipe-face-detector-cpp or ask the author if he can send you his prebuilt library (I don't know if it works like in windows).

chfeizy commented 2 years ago

use this bazel build -c opt //tensorflow/lite:libtensorflowlite.dylib is success