开发者

Bump + OpenStreetMap Error

开发者 https://www.devze.com 2023-02-25 12:33 出处:网络
I have problem with use OpenStreetMap lib and Bump lib. I obtained critical error - ld: duplicate symbol _OBJC_IVAR_$_FMDatabase.databasePath in /Users/

I have problem with use OpenStreetMap lib and Bump lib.

I obtained critical error -

ld: duplicate symbol _OBJC_IVAR_$_FMDatabase.databasePath in /Users/ 
alex/APP/BumpAPI/libBumpAPI.a(FMDatabase.o) and /Users/alex/APP/ 
CloudMade/libs/route-me/libMapView.a(FMDatabase.o) for architecture 
armv6 

collect2: ld returned 1 exit status 
Command /Developer/Platforms/iPhoneOS.platform/Develope开发者_如何学Gor/usr/bin/llvm- 
gcc-4.2 failed with exit code 1


I find solve for this problem.

I find sources of RoutMe library, that includes in CloudMade library. And change name of class "FMDatabase" to "_FMDatabase". Next, rebuild libMapView.

But, this problem exist with other libraries (non open-source) in other projects.

0

精彩评论

暂无评论...
验证码 换一张
取 消