Mac上编译源代码遇到的问题
在mac上编译时遇到图中所报的错误,求解。
-- tensorflow_framework library found: in TF_FRAMEWORK-NOTFOUND CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: TF_FRAMEWORK linked by target "tf_euler" in directory /Users/dysaccount/Desktop/code/library/euler/tf_euler
--Configuring incomplete, errors occurred! See also "/Users/dysaccount/Desktop/code/library/euler/build/CMakeFiles/CMakeOutput.log". See also "/Users/dysaccount/Desktop/code/library/euler/build/CMakeFiles/CMakeError.log".
我的clang版本信息如下:
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1 Apple LLVM version 10.0.0 (clang-1000.10.44.4) Target: x86_64-apple-darwin18.2.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin
cmake版本信息如下:
cmake version 3.12.4
@njumathdy 你执行python -c "import tensorflow as tf; print(tf.sysconfig.get_lib())"的结果是什么?
我执行上面语句后显示
tf.estimator not installed 更新相关包后该问题已解决,感谢🙏
@njumathdy 你执行
python -c "import tensorflow as tf; print(tf.sysconfig.get_lib())"的结果是什么?
我也遇到了这个问题,执行上面语句显示 /home/anaconda3/envs/py27/lib/python2.7/site-packages/tensorflow_core
我使用的是anaconda3中的python2.7虚拟环境,请问如何解决,谢谢
See https://github.com/alibaba/euler/issues/148
借楼 我这里编译报有个变量未定义 看日志似乎上面一行把下一行的变量注释了

好吧 好像不是上一行定义的 说错了
我查了下网上解释是切换clang -》 gcc 我切了gcc-10 仍然存在上图的错误