1.如果使用jtson就不需要cudnn
2.如果报错cc1plus: error: too many filenames given
~/ocr/01/PaddleOCR/deploy/cpp_infer/CMakeLists.txt
将 "-o3" 改成 "-O3" 就可以了,修改后的结果如下,
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -O3 ${FLAG_OPENMP} -std=c++11")
链接如下【PaddleOCR报错】cc1plus: error: too many filenames given_cc1plus: 错误:给定了太多文件名-CSDN博客