我在Mac上工作,我按照本教程安装了TensorFlow for C:https://www.tensorflow.org/install/install_c
当我尝试通过运行教程示例“hello_tf.c”来验证安装时,我收到以下消息错误:
Undefined symbols for architecture x86_64:
"_TF_Version", referenced from:
_main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我在这里查看本教程https://www.tensorflow.org/install/install_mac安装了TensorFlow,验证成功。
如何解决此问题?我也有兴趣知道这个问题的原因