make[2]: *** [modules/world/CMakeFiles/opencv_world.dir/build.make:1865:modules/world/CMakeFiles/cuda_compile_1.dir/__/__/__/opencv_contrib-4.6.0/modules/cudaarithm/src/cuda/cuda_compile_1_generated_absdiff_mat.cu.o] 错误 1
时间: 2023-08-12 08:06:20 浏览: 333
这个错误是由于编译过程中出现了问题导致的。根据引用\[1\]、\[2\]和\[3\]中的信息,可以看出这些错误是由于编译opencv时出现的问题。具体来说,引用\[1\]和\[2\]中的错误是由于在编译过程中出现了一些文件或目标的错误,而引用\[3\]中的错误是由于在编译python3模块时出现了错误。根据引用\[3\]中提到的解决方案,可以尝试打开cv2.cpp文件并在885行附近添加(char *)来解决问题。然而,对于你提到的最后一个错误,由于缺少相关的引用内容,我无法提供更具体的解决方案。建议你查找相关的错误信息和解决方案,或者向更专业的技术论坛或社区寻求帮助。
#### 引用[.reference_title]
- *1* [make[2]: *** [modules/gapi/CMakeFiles/opencv_gapi.dir/build.make:869: modules/gapi/CMakeFiles/opencv](https://blog.csdn.net/AcetylcholineACh/article/details/129970610)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [安装opencv3.2.0 cmake出现 CMakeFiles/Makefile2:1264: recipe for target 'modules/cudev/test/...](https://blog.csdn.net/qq_33202928/article/details/80079485)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [树莓派安装opencv报错:make[2]: *** [modules/python3/CMakeFiles/opencv_python3.dir/build.make:56...](https://blog.csdn.net/qq_44357371/article/details/105966714)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文