FloopCZ / tensorflow_cc

Build and install TensorFlow C++ API library.
MIT License
761 stars 183 forks source link

Cc1plus error when building tensorflow #298

Open SuxRumpf opened 1 year ago

SuxRumpf commented 1 year ago

I'm trying to install tensorflow_cc 2.4 on an Nvidia jetson agx xavier with jetpack 4.1 (Ubuntu 18.04). But I get errors when compiling.

My Problem is always when I use make I get this error message:

Screenshot_20230819_120444_com android chrome_edit_42392125186760

There is no cross compiling i build this on the jetson for the jetson It seems that it has something to do with the AMD cpu but I have absolutely no idea how to solve this. I use bazel 3.7.2 and tried to simply upgrade gcc/g++ but it didn't work. Any ideas? :)

FloopCZ commented 1 year ago

Hi, TF 2.4 is not supported anymore, I suggest trying a newer version. If you really need 2.4, try to remove "ivybridge" from the -march parameter in either CMakeLists.txt or build_tensorflow.sh.in