Ubuntu16安装tensorflow问题汇总

在配置pointnet2的时候遇到一些问题,现总结如下,供日后查阅(一定会再见面的……)

1.

(venv27) ray@ray-MS-7B48:~/catkin_ws/src/pointnet2/tf_ops/3d_interpolation$ sh tf_interpolate_compile.sh

In file included from /home/ray/venv27/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/mutex.h:31:0,
from /home/ray/venv27/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op.h: 32,from tf_interpolate.cpp:6: /home/ray/venv27/local/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: 没有那个文件或目录

解:打开错误提示中的mutex.h文件  把

#include "nsync_cv.h"
#include "nsync_mu.h"

改为

#include "external/nsync/public/nsync_cv.h"
#include "external/nsync/public/nsync_mu.h"

猜你喜欢

转载自blog.csdn.net/sinat_23084397/article/details/89205943
今日推荐