當前位置:編程學習大全網 - 網站源碼 - centos7.0安裝opencv3.0出問題,怎麽解決呢

centos7.0安裝opencv3.0出問題,怎麽解決呢

錯誤原因:

2017年5月15日,centos更新了jaspe-devel包為jasper-devel.x86_64 0:1.900.1-30.el7_3(舊版本為jasper-devel-1.900.1-29.el7.x86_64),這將導致該問題。

解決方案:

vi /usr/include/jasper/jas_math.h

#在 #include <stdint.h> 後添加

#ifndef SIZE_MAX

#define SIZE_MAX (4294967295U)

#endif

  • 上一篇:求壹套開源php的問答系統做畢業設計
  • 下一篇:中間源代碼
  • copyright 2024編程學習大全網