lysukhin / tensorflow-object-detection-cpp

A C++ example of running TensorFlow Object Detection model in live mode.
MIT License
144 stars 51 forks source link

Unable to run after cmake configuring #14

Open surya422k opened 3 years ago

surya422k commented 3 years ago

I tried running the code after the configuration. But i am getting a different error..

[main] Building folder: tensorflow-object-detection-cpp tf_detector_example [build] Starting build [proc] Executing command: /usr/bin/cmake --build /home/surya/tensorflow-object-detection-cpp/build --config Debug --target tf_detector_example -j 10 -- [build] make[3]: No rule to make target '/Downloads/tensorflow/bazel-out/k8-opt/bin/tensorflow/libtensorflow_cc.so', needed by 'tf_detector_example'. Stop. [build] make[2]: [CMakeFiles/Makefile2:76: CMakeFiles/tf_detector_example.dir/all] Error 2 [build] make[1]: [CMakeFiles/Makefile2:83: CMakeFiles/tf_detector_example.dir/rule] Error 2 [build] make: [Makefile:118: tf_detector_example] Error 2 [build] Build finished with exit code 2

Can anyone please rectify it.. P.S: I removed the cv.hpp header from main.cpp and utils.cpp

aswathselvam commented 3 years ago

Source the right libtensorflow_cc.so directory