Closed davidvelascogarcia closed 5 years ago
With sudo apt-get install realpath
it´s solved. Now i can build, install and use tensorflow_cc
.
I´ve tested example project and work correcty.
Example:
~/Escritorio/prueba_tensorflow/program/build$ ./example
2019-01-29 13:56:23.188455: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-01-29 13:56:23.199270: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 3000075000 Hz
2019-01-29 13:56:23.199502: I tensorflow/compiler/xla/service/service.cc:161] XLA service 0x178a0e0 executing computations on platform Host. Devices:
2019-01-29 13:56:23.199537: I tensorflow/compiler/xla/service/service.cc:168] StreamExecutor device (0): <undefined>, <undefined>
Session successfully created.
It´s solved. Issue closed.
I´m trying to install FloopCZ/tensorflow_cc project to use
tensorflow
C++ API without using Bazel and usingcmake
. Following the installation guide everything seems right but at the end i get the next error:The installation guide use
ubuntu 18.04
, but i´m usingubuntu 14.04
because TIAGo use ROS indigo.tensorflow_cc
project use gcc7. To install gcc7, i used the following guide. peterhanneman post 9 JUN 2017 how-to-install-latest-gcc-on-ubuntu-lts.txtPD: The same error building static and shared library.