码迷,mamicode.com
首页 > 数据库 > 详细

cocos2dx lua bug之module 'lsqlite3' not found

时间:2015-05-27 18:48:59      阅读:405      评论:0      收藏:0      [点我收藏+]

标签:

05-27 15:41:01.360: D/cocos2d-x debug info(7261): [LUA-print] ----------------------------------------
05-27 15:41:01.360: D/cocos2d-x debug info(7261): [LUA-print] LUA ERROR: [string "src/bqsframework/GameUpdate.lua"]:41: module ‘lsqlite3‘ not found:
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no field package.preload[‘lsqlite3‘]
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘./lsqlite3.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/share/lua/5.1/lsqlite3.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/share/lua/5.1/lsqlite3/init.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/lsqlite3.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/lsqlite3/init.lua‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘src/‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘./lsqlite3.so‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/lsqlite3.so‘
05-27 15:41:01.360: D/cocos2d-x debug info(7261): no file ‘/usr/local/lib/lua/5.1/loadall.so‘

修改   Application.mk  请检查你的工程jni目录下的Application.mk文件,看里面是否启用了sqlite模块   CC_USE_SQLITE := 1

 

我们不需要的模块,也可以修改这里的设置

 

cocos2dx lua bug之module 'lsqlite3' not found

标签:

原文地址:http://www.cnblogs.com/zhangfeitao/p/4533936.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!