【发布时间】:2019-12-08 05:55:59
【问题描述】:
我在 Windows 上使用 Ubuntu(在 WSL 中),我有 CMake 3.10.1 和 CUDA Toolkit 9.0。当我跑步时
cmake ..
我收到了这个错误:
CMake Error at CMakeLists.txt:5 (project):
No CMAKE_CUDA_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CUDACXX" or the CMake cache entry CMAKE_CUDA_COMPILER to the full
path to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/mnt/d/Open3D-PointNet2-Semantic3D-master/tf_ops/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/d/Open3D-PointNet2-Semantic3D-master/tf_ops/build/CMakeFiles/CMakeError.log".
是否可以在 WSL 中链接 CUDA 和 CMake?如何添加 CUDA 的路径?
【问题讨论】:
标签: windows cmake cuda windows-subsystem-for-linux