GPU编码器误差:CreateProcess失败:系统找不到指定的文件

17日视图(30天)
你好,
我试图使用GPU编码器编制的MATLAB函数gpuArrays .mex文件,但我越来越错误 “CreateProcess失败:系统找不到指定的文件” 我不能找出问题构建日志(见下文)。这是设置:
  • MATLAB R2021a更新5 -学术使用;
  • 万博1manbetx仿真软件没有安装;
  • Visual Studio 2017(社区)C / c++编译器;
  • GTX 1060 6 gb(6.1)计算能力;
这是一个完整的构建日志:
学校网站(1/10)- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu_initialize.cu -o build\win64\find_matches_gpu_initialize.obj
失败:构建/ win64 / find_matches_gpu_initialize.obj
学校网站- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu_initialize.cu -o build\win64\find_matches_gpu_initialize.obj
CreateProcess失败:系统找不到指定的文件。
学校网站(2/10)- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu_data.cu -o build\win64\find_matches_gpu_data.obj
失败:构建/ win64 / find_matches_gpu_data.obj
学校网站- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu_data.cu -o build\win64\find_matches_gpu_data.obj
CreateProcess失败:系统找不到指定的文件。
学校网站(3/10)- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" rt_nonfinite.cu -o build\win64\rt_nonfinite.obj
失败:构建/ win64 / rt_nonfinite.obj
学校网站- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" rt_nonfinite.cu -o build\win64\rt_nonfinite.obj
CreateProcess失败:系统找不到指定的文件。
学校网站(4/10)- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu_terminate.cu -o build\win64\find_matches_gpu_terminate.obj
失败:构建/ win64 / find_matches_gpu_terminate.obj
学校网站- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu_terminate.cu -o build\win64\find_matches_gpu_terminate.obj
CreateProcess失败:系统找不到指定的文件。
学校网站(5/10)- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu.cu -o build\win64\find_matches_gpu.obj
失败:构建/ win64 / find_matches_gpu.obj
学校网站- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" find_matches_gpu.cu -o build\win64\find_matches_gpu.obj
CreateProcess失败:系统找不到指定的文件。
学校网站(6/10)- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" cpp_mexapi_version.cpp -o build\win64\cpp_mexapi_version.obj
失败:构建/ win64 / cpp_mexapi_version.obj
学校网站- c rdc = true -Wno-deprecated-gpu-targets -Xcompiler / wd 4819“-Xcompiler“/ MD”-Xcudafe”——display_error_number——diag_suppress = 2381——diag_suppress = unsigned_compare_with_zero diag_suppress = useless_type_qualifier_on_return_type -D_GNU_SOURCE -DMATLAB_MEX_FILE -Xcompiler / source-charset: utf - 8”我”。“-I "C:\Users\Marin\Desktop\MATLAB" -I ".\interface" -I "C:\Program Files\MATLAB\R2021a\extern\include" -I "." -DMW_CUDA_ARCH=610 -DMODEL=find_matches_gpu_mex -DMW_NEEDS_VERSION_H -arch sm_61 -I "C:\Program Files\MATLAB\R2021a/simulink/include" -I "C:\Program Files\MATLAB\R2021a/toolbox/shared/simtargets" cpp_mexapi_version.cpp -o build\win64\cpp_mexapi_version.obj
CreateProcess失败:系统找不到指定的文件。
忍者:构建了:子命令失败

答案(0)

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!