1. 程式人生 > >opencv+cuda編譯出現LNK2019 cv::__termination錯誤

opencv+cuda編譯出現LNK2019 cv::__termination錯誤

修改modules/opencv_cudev/CMakeLists.txt, 在

set(the_description "CUDA device layer")

增加下一行

set(OPENCV_SKIP_DLLMAIN_GENERATION ON)