是否可以随时支持sqlite?

时间:2013-08-19 17:40:01

标签: apportable

我尝试做了#34; apportable build"在我的项目中引用sqllite。我得到链接错误。我该怎么办?

这里是错误日志

Packaging assets/exchangeothergamebtn_d.png
Packaging assets/exchangeothergameview.xib
Packaging assets/exchmenu.png
/android/bacc/UserInfo.m:33: error: undefined reference to 'sqlite3_prepare_v2'
/android/bacc/UserInfo.m:34: error: undefined reference to 'sqlite3_bind_int'
/android/bacc/UserInfo.m:35: error: undefined reference to 'sqlite3_bind_int'
/android/bacc/UserInfo.m:36: error: undefined reference to 'sqlite3_bind_int'
/android/bacc/UserInfo.m:37: error: undefined reference to 'sqlite3_bind_int'
/android/bacc/UserInfo.m:48: error: undefined reference to 'sqlite3_step'
/android/bacc/UserInfo.m:49: error: undefined reference to 'sqlite3_finalize'
/android/bacc/UserInfo.m:58: error: undefined reference to 'sqlite3_prepare_v2'
/android/bacc/UserInfo.m:59: error: undefined reference to 'sqlite3_step'
/android/bacc/UserInfo.m:61: error: undefined reference to 'sqlite3_column_int'
/android/bacc/UserInfo.m:62: error: undefined reference to 'sqlite3_column_int'
/android/bacc/UserInfo.m:63: error: undefined reference to 'sqlite3_column_int'
/android/bacc/UserInfo.m:64: error: undefined reference to 'sqlite3_column_int'
/android/bacc/UserInfo.m:103: error: undefined reference to 'sqlite3_exec'
/android/bacc/UserInfo.m:105: error: undefined reference to 'sqlite3_exec'
/android/bacc/UserInfo.m:109: error: undefined reference to 'sqlite3_finalize'
Packaging assets/exchptbg.png
Packaging assets/ar.lproj/InfoPlist.strings
/android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:66:
     

错误:未定义引用' sqlite3_open'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:70:   错误:未定义引用' sqlite3_prepare_v2'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:76:   错误:未定义引用' sqlite3_bind_text'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:80:   错误:未定义引用' sqlite3_step'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:85:   错误:未定义引用' sqlite3_finalize'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:104:   错误:未定义引用' sqlite3_close'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:120:   错误:未定义引用' sqlite3_open'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:129:   错误:未定义引用' sqlite3_prepare_v2'       打包资产/ English.lproj / InfoPlist.strings       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:135:   错误:未定义引用' sqlite3_step'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:140:   错误:未定义引用' sqlite3_finalize'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:159:   错误:未定义引用' sqlite3_close'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:181:   错误:未定义引用' sqlite3_open'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:184:   错误:未定义引用' sqlite3_get_table'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:197:   错误:未定义引用' sqlite3_free_table'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCFeaturedApp/TJCFeaturedAppDBManager.m:210:   错误:未定义引用' sqlite3_close'       打包资产/ zh_CN.lproj / InfoPlist.strings       打包资产/ zh_TW.lproj / InfoPlist.strings       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCVirtualGoods/TJCVG_LocalDatabase/TJCSqliteController.m:61:   错误:未定义引用' sqlite3_open'       打包资产/ vi.lproj / InfoPlist.strings       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCVirtualGoods/TJCVG_LocalDatabase/TJCSqliteController.m:135:   错误:未定义引用' sqlite3_close'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCVirtualGoods/TJCVG_LocalDatabase/TJCSqliteController.m:208:   错误:未定义引用' sqlite3_column_text'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCVirtualGoods/TJCVG_LocalDatabase/TJCSqliteController.m:291:   错误:未定义引用' sqlite3_bind_text'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCVirtualGoods/TJCVG_LocalDatabase/TJCSqliteController.m:292:   错误:未定义引用' sqlite3_bind_text'       /android/bacc/baccaratgame/TapjoyConnect/Components/TJCVirtualGoods/TJCVG_LocalDatabase/TJCSqliteController.m:294:   错误:未定义引用' sqlite3_bind_text'       打包资产/ tr.lproj / InfoPlist.strings       打包资产/ tr-TR.lproj / InfoPlist.strings       打包资产/ th.lproj / InfoPlist.strings       构建/ Android的armeabi调试/ jsk.vipbaccarat /百家乐/ libBaccarat.a(scorecard.m.o):/安卓/百川/ baccaratgame / baccrsc / scorecard.m:功能   L_OBJC_CLASSLIST_REFERENCES _ $ _ 71:错误:未定义引用   ' OBJC_CLASS _ $ _ DMAdView'       打包资产/ sv.lproj / InfoPlist.strings       打包资产/ es.lproj / InfoPlist.strings       打包资产/ ru.lproj / InfoPlist.strings       打包资产/ pt.lproj / InfoPlist.strings       打包资产/ nn.lproj / InfoPlist.strings       打包资产/ nb.lproj / InfoPlist.strings       打包资产/ ms.lproj / InfoPlist.strings       打包资产/ ko.lproj / InfoPlist.strings       打包资产/ ja.lproj / InfoPlist.strings       打包资产/ it.lproj / InfoPlist.strings       打包资产/ id.lproj / InfoPlist.strings       打包资产/ fr.lproj / InfoPlist.strings       打包资产/ fi.lproj / InfoPlist.strings       打包资产/ el.lproj / InfoPlist.strings       打包资产/ nl.lproj / InfoPlist.strings       打包资产/ de.lproj / InfoPlist.strings       打包资产/ da.lproj / InfoPlist.strings       包装资产/ LICENSE.txt       打包资产/ README.markdown       打包资产/ NetErrorView.xib       打包资产/ 21dian.sql       包装资产/ adback.png       打包资产/ AdWindow.xib       包装资产/ 57A.png       包装资产/ cafeicon.png       包装资产/ gangwar57.png       包装资产/ glory.png       包装资产/ glorycn.png       包装资产/ heishehui.png       包装资产/ ifarm.png       包装资产/ keaicanting.png       包装资产/ newgame.png       包装资产/ ranchcn.png       包装资产/ sjdz.png       scons: * [Build / android-armeabi-debug / Baccarat / apk / lib / armeabi / libverde.so]   错误1       scons:由于错误导致建筑物终止。       异常AttributeError:"' NoneType'对象没有属性' pack'"在>忽略

1 个答案:

答案 0 :(得分:1)

将“sqlite”添加到configuration.json中“add_params”的“deps”部分