tensorflow-cpp icon indicating copy to clipboard operation
tensorflow-cpp copied to clipboard

Missing nsync_cv.h

Open liuyi103 opened this issue 8 years ago • 0 comments

When I run make app after all the previous steps have been finished (I choose N for all the options when configuring tensorflow and without CUDA), I got the following error.

I manually did the commands in make data and skip it for network reasons.

$ make app
g++ app.cc -O3 -fpic -Wall -std=c++11 -I./include -L./lib -o app -ltensorflow
In file included from ./include/tensorflow/core/platform/mutex.h:31:0,
                 from ./include/tensorflow/core/framework/variant.h:31,
                 from ./include/tensorflow/core/framework/allocator.h:26,
                 from ./include/tensorflow/core/framework/tensor.h:20,
                 from ./include/tensorflow/cc/framework/ops.h:21,
                 from ./include/tensorflow/cc/ops/const_op.h:19,
                 from app.cc:6:
./include/tensorflow/core/platform/default/mutex.h:25:22: fatal error: nsync_cv.h: No such file or directory
compilation terminated.
Makefile:23: recipe for target 'app' failed
make: *** [app] Error 1

Do you know how to solve it?

liuyi103 avatar Nov 10 '17 03:11 liuyi103