tensorflow-object-detection-cpp icon indicating copy to clipboard operation
tensorflow-object-detection-cpp copied to clipboard

Unable to run after cmake configuring

Open surya422k opened this issue 3 years ago • 1 comments

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

surya422k avatar May 07 '21 15:05 surya422k

Source the right libtensorflow_cc.so directory

aswathselvam avatar May 07 '21 16:05 aswathselvam