file was built for i386 which is not the architecture being linked (x86_64) while compiling OpenCV2.2 for iOS 4.2 on Mac OSX 10.6

前端 未结 1 1051
夕颜
夕颜 2021-01-03 03:02

I have been following the simple guide at http://www.atinfinity.info/wiki/index.php?OpenCV/Using%20OpenCV%202.2%20on%20iOS%20SDK%204.2 (which uses the older guide I\'ve also

相关标签:
1条回答
  • 2021-01-03 03:36

    The gcc flag for building a specific architecture is -march as in

    gcc -march=i386 ...
    
    0 讨论(0)
提交回复
热议问题