• cocos2dx lua bug之module 'lsqlite3' not found


    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

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

  • 相关阅读:
    node mysql
    css问题
    mac 命令
    js 严格模式
    js 数组
    sass
    js 面向对象 定义对象
    response.getWriter().write("中文");乱码问题
    读取文件并找出年龄最大的N个人-兰亭集市笔试题
    阿里巴巴暑期实习生笔试
  • 原文地址:https://www.cnblogs.com/zhangfeitao/p/4533936.html
Copyright © 2020-2023  润新知