title: Cannot find source file: /home/tensorflow/core/util/stats_calculator.cc
body: <p>I'm new to CMake and ROS.</p>
  <p>I've been following the tutorial on setting up <a href="https://qengineering.eu/install-ubuntu-20.04-on-raspberry-pi-4.html" rel="nofollow noreferrer">tensorflow on ubuntu 20.0.4 (server) and rpi4</a>, as well as <a href="https://www.tensorflow.org/lite/guide/build_cmake" rel="nofollow noreferrer">building tensorflow lite with CMake</a> for my turtlebot3 project.</p>
  <p>I added the following code to my CMakeLists.txt and modified my tensorflow source directory from <strong>&quot;${TENSORFLOW_SOURCE_DIR}/tensorflow/lite&quot;</strong> to <strong>&quot;${TENSORFLOW_SOURCE_DIR}/ubuntu/tensorflow/tensorflow/lite&quot;</strong></p>
  <pre><code>set(TENSORFLOW_SOURCE_DIR &quot;&quot; CACHE PATH
    &quot;Directory that contains the TensorFlow project&quot; )
  if(NOT TENSORFLOW_SOURCE_DIR)
    get_filename_component(TENSORFLOW_SOURCE_DIR
      &quot;${CMAKE_CURRENT_LIST_DIR}/../../../../&quot; ABSOLUTE)
  endif()
  
  add_subdirectory(
    &quot;${TENSORFLOW_SOURCE_DIR}/ubuntu/tensorflow/tensorflow/lite&quot;
    &quot;${CMAKE_CURRENT_BINARY_DIR}/tensorflow-lite&quot; EXCLUDE_FROM_ALL)
  
  add_executable(MobileNetV1 src/scripts/MobileNetV1.cpp)
  target_link_libraries(MobileNetV1  ${catkin_LIBRARIES} ${OpenCV_INCLUDE_DIRS} tensorflow-lite)
  </code></pre>
  <p>After building I experience the error below.</p>
  <pre><code>CMake Error at /home/ubuntu/tensorflow/tensorflow/lite/CMakeLists.txt:449 (add_executable):
    Cannot find source file:
  
      /home/tensorflow/core/util/stats_calculator.cc
  
    Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
    .hpp .hxx .in .txx
  
  
  CMake Error at /home/ubuntu/tensorflow/tensorflow/lite/CMakeLists.txt:449 (add_executable):
    No SOURCES given to target: benchmark_model
  </code></pre>
  <p>The files exist under <strong>/home/ubuntu/tensorflow/tensorflow/core/util/stats_calculator.cc</strong>. I don't know why its not being detected.</p>
  <p>I don't know what to do next can some help me and explain why its giving me this error please.</p>
  <p>Code example that I want to compile and run come from this <a href="https://github.com/Qengineering/TensorFlow_Lite_SSD_RPi_64-bits" rel="nofollow noreferrer">github</a> if you want to replicate.</p>
  <p>And if you have links on easy to follow tutorials on how to setup tensorflow-lite on c++ that would be awesome!</p>