安装isce的时候,在最后提示安装不完全
Looking for a CUDA compiler failed with the following output:
-- The CUDA compiler identification is unknown
CMake Error at CMakeLists.txt:2 (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 "/home/nama/Downloads/isce2-2.6.3/bulid/CMakeFiles/CheckCUDA/CMakeFiles/CMakeOutput.log".
See also "/home/nama/Downloads/isce2-2.6.3/bulid/CMakeFiles/CheckCUDA/CMakeFiles/CMakeError.log".
解决办法
- 在
geogrid.cpp中添加#include <ogr_spatialref.h>


#include <ogr_spatialref.h>
-
- 在
geogridOptical.cpp中添加#include <ogr_spatialref.h>

- 在
#include <ogr_spatialref.h>

在尝试安装isce的过程中遇到了CUDA编译器识别失败的错误,CMake无法找到CUDA编译器。解决方案涉及到设置环境变量CUDACXX或更新CMake配置以指向CUDA编译器的路径。此外,文章还提到在geogrid.cpp和geogridOptical.cpp文件中需要添加#include<ogr_spatialref.h>来解决其他问题。
1002

被折叠的 条评论
为什么被折叠?



