Build opencv 2.4.10 on Mac 10.10.3 failed

后端 未结 2 530
不思量自难忘°
不思量自难忘° 2021-01-21 17:45

I tried to build opencv 2.4.10 on Mac 10.10.3 with Xcode 6.3. And the following errors occurred by building.

/Users/Shirui/work/program/opencv-2.4.10/modules/legacy/src/

2条回答
  •  不要未来只要你来
    2021-01-21 18:41

    I'm told that you can disable the warning globally by adding -Wno-tautological-pointer-compare to your compiler flags, or on a one-off basis by wrapping the variable you're testing in parentheses.

提交回复
热议问题