I have read and built and read and built and based on what im reading - tried 100x different variations
It has been a while since I ran c++ but I get code.
The problem is I can’t get to the code
I’m trying to use cmake inside vscode and ubuntu to link and include tflite and it NEVER works
please help me understand what im missing
cmake_minimum_required(VERSION 3.0.0)
project(Robot VERSION 0.1.0)
include(CTest)
enable_testing()
add_executable(Robot main.cpp)
add_library( TFLITE_LIB SHARED IMPORTED)
set_property(TARGET TFLITE_LIB PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE}/Lib/libtensorflowlite.so)
target_include_directories(${PROJECT_NAME} PUBLIC
/home/thomedy/Thinkrium/Robotics/Learning/TF/tensorflow_src/third_party
/home/thomedy/Thinkrium/Robotics/Learning/TF/tensorflow_src/tensorflow)
# target_link_libraries(${PROJECT_NAME} public ${TFLITE_LIB})
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
I have followed the steps to build on multiple sites and for the life of me I cannot get this to work
Usually it doesn’t find the file but i can see it at the path
Im begging for help PLEASE!!!