我正在使用CMAKE在Windows上使用CUDA支持编译OpenCV 3.0.0.单击"configure"时,会发生以下错误:
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_cufft_LIBRARY (ADVANCED)
linked by target "opencv_hal" in directory E:/dev-lib/opencv3/sources/modules/hal
...
CUDA_nppc_LIBRARY (ADVANCED)
...
CUDA_nppi_LIBRARY (ADVANCED)
...
CUDA_npps_LIBRARY (ADVANCED)
Run Code Online (Sandbox Code Playgroud)
我在条目中检查了"WITH_CUDA"和"WITH_CUFFT".如果我也检查"WITH_CUBLAS",上面的输出将再添加一个CUDA_cublas_LIBRARY错误.
但在所有这些错误消息之前,它表明了这一点
CUDA detected: 7.5
CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_30,code=compute_30
Run Code Online (Sandbox Code Playgroud)
这表明CUDKE可以检测到CUDA.但是,找不到所需的4个库.
我之前已经安装了CUDA 7.5并使用Visual Studio 2012进行了编译.CUDA样品运行完美.所以我的CUDA库应该正确安装.
我想知道即使我必须手动设置这些值,我该怎么办呢?
我的规格:Windows 7 x64,Visual Studio 2012,CMAKE 3.4.0,CUDA Toolkit 7.5
我安装了简体中文版的Visual Studio 2015社区.现在我想用英文版试试.
我已经改变了Language在Tools | Options... | Environment | International Settings给English(我下载并安装了该链接的英文语言包显示下面的按钮).现在大部分的在我的Visual Studio窗口的东西以英语表示.然而,有些项目没有改变.例如,References在Solution Explorer仍然在中国.
我应该采取哪些额外步骤来完全更改Visual Studio 2015社区中的语言?