VINS-Mobile icon indicating copy to clipboard operation
VINS-Mobile copied to clipboard

Build problems in Xcode

Open Austin1511 opened this issue 7 years ago • 3 comments

Hi guys,

I followed the instruction you give me to build and run the project in Xcode, but I still got these errors. Do you know what is happening? BTW, I'm using the Xcode 9.0. image image Thank you!

Austin1511 avatar Oct 23 '17 09:10 Austin1511

Make sure that you download opencv.framework from the given link and unzip it to ''VINS-moblie/VINS_ThirdPartyLib/'' So that in 'VINS_ThirdPartyLib' folder, there is 'opencv2.version' and 'opencv2.framework'. Then it should be fine.

QingbiaoLi avatar Oct 24 '17 20:10 QingbiaoLi

The library provided by the given link is still problematic. I compared it with standard opencv2 release, and image

and those *.hpp files in Headers-1 should be copied to Headers folder so that <opencv2/core.hpp> can be found.

P.S. libceres.a is built for arm only, no x86_64. So don't build and run it on simulator. Or Xcode will complain about libceres.

HustLion avatar Oct 31 '17 12:10 HustLion

Thank you @HustLion ! the tricks work!

YuehChuan avatar Mar 30 '18 12:03 YuehChuan