baidu-research / warp-ctc

Fast parallel CTC.
Apache License 2.0
4.06k stars 1.04k forks source link

win10 cmake problems #140

Open izhaojinlong opened 5 years ago

izhaojinlong commented 5 years ago

I want warp-ctc to run on windows, so I use windows to compile this. when I run cmake for tensorflow-banding ,I have the following problem. I want to know how to solve it. My env: py3.5 tf1.10.0.

izhaojinlong commented 5 years ago

-- Selecting Windows SDK version to target Windows 10.0.17134. -- cuda found TRUE CMake Warning at CMakeLists.txt:50 (FIND_PACKAGE): By not providing "FindTorch.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Torch", but CMake did not find one.

Could not find a package configuration file provided by "Torch" with any of the following names:

TorchConfig.cmake
torch-config.cmake

Add the installation prefix of "Torch" to CMAKE_PREFIX_PATH or set "Torch_DIR" to a directory containing one of the above files. If "Torch" provides a separate development package or SDK, be sure it has been installed.

-- Torch found Torch_DIR-NOTFOUND -- Building shared library with GPU support 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: CUDA_curand_LIBRARY (ADVANCED) linked by target "test_gpu" in directory E:/download/code-20190509T021058Z-001/code/warp-ctc

-- Configuring incomplete, errors occurred! See also "E:/download/code-20190509T021058Z-001/code/warp-ctc/build/CMakeFiles/CMakeOutput.log".

wangshuai66666 commented 5 years ago

请问 您解决了吗?

StudyQGuo commented 5 years ago

Same error!