Hi all,
I hope somebody can help me with my frustration before I finally give up on tensorflow and go back to opencv.
I have followed the guide ‘Build with cmake’, step by step, and get absolutely no where quickly.
I can get the source, make the build directory, then use the build command ```
cmake …/tensorflow_src/tensorflow/lite -DTFLITE_ENABLE_INSTALL=ON
And it fails, on everything I think.
- Configuring done (1.1s)
CMake Error in tools/cmake/modules/ml_dtypes/CMakeLists.txt:
Target "ml_dtypes" INTERFACE_INCLUDE_DIRECTORIES property contains path:
"/home/steff/tfbuild/ml_dtypes"
which is prefixed in the build directory.
CMake Error in tools/cmake/modules/ml_dtypes/CMakeLists.txt:
Target "ml_dtypes" INTERFACE_INCLUDE_DIRECTORIES property contains path:
"/home/steff/tfbuild/ml_dtypes/ml_dtypes"
which is prefixed in the build directory.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "absl_flags" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "absl_hash" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "absl_status" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "absl_strings" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "absl_synchronization" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "absl_variant" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "ruy" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "pthreadpool" that is not in any export set.
CMake Error: install(EXPORT "tensorflow-liteTargets" ...) includes target "tensorflow-lite" which requires target "XNNPACK" that is not in any export set.
-- Generating done (0.8s)
CMake Generate step failed. Build files cannot be regenerated correctly.
Can anybody help, is there a propper set of instruction maybe somewhere Im missing. Im guessing that this is due to a whole load of missed pre-reqa, but the documentation fails to mention these.....
Help Please...?
Thanks Steff