Tensorflow Cmake Build的错误

时间:2017-08-09 20:31:22

标签: tensorflow cmake windows-7 msbuild

我正在尝试使用发布的here指南在Windows 7 x64上构建Tensorflow,但是,在调用MSBuild来构建TensorFlow时(步骤4),我收到一条“Build FAILED”消息,后面跟着几个错误。

第一个:

CUSTOMBUILD : CMake error : CMake can not determine linker language for target: grpc [grpc.vcxproj]
CUSTOMBUILD : CMake error : CMake can not determine linker language for target: grpc_unsecure [grpc.vcxproj]
CUSTOMBUILD : CMake error : CMake can not determine linker language for target: cares [grpc.vcxproj]

没有意义,因为在我的grpc CMakelists.txt中我定义了以下内容:

set(PACKAGE_NAME      "grpc")
project(${PACKAGE_NAME} C CXX)

其他错误都涉及不包含CMakelists.txt文件的源目录:

CUSTOMBUILD : CMake error : The source directory "C:/tf-dev/local_repos/cub-1.6.4" does not appear to contain CMakeLists.txt. [cub.vcxproj]

对于以下外部项目发生:

cub
farmhash
fft2d
gemmlowp
gif
highwayhash
jpeg
lmdb

但是,Tensorflow构建指南未提及为外部添加的项目创建其他CMakelists.txt。知道我可能会出错吗?感谢。

0 个答案:

没有答案