Linking libraries OpenCV 2.4.2 on xcode 4.5.1

后端 未结 3 1899
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 00:35

I have installed opencv with macports following the directions here: Compile OpenCV (2.3.1+) for OS X Lion / Mountain Lion with Xcode

I have also search and tried every

3条回答
  •  旧巷少年郎
    2021-02-02 01:24

    It's very likely that OpenCV has not been compiled with C++11 settings, while the program is. Set the build of your tool without C++11 switches (i.e. -std=c++11 -stdlib=libc++).

提交回复
热议问题