怎么用cocos code IDE 1.1.0 打开quick-3.3 里sample里的2048的项目啊,请大家帮帮忙

cocos code IDE 1.1.0最新版的,quick是3.3的,cocos\quick-3.3\quick\samples这个里面有个2048的lua项目,我想在cocos code IDE导入并调试,应该怎么做呀,请大家帮我一下。谢谢

控制台log如下:
debug args = require(‘debugger’)(,’’)
value at stack -1] is not function
cocos2d: fullPathForFilename: No file found at .\src/main.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/init.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/Cocos2d.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/Cocos2dConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/extern.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/bitExtend.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/DrawPrimitives.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/Opengl.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/OpenglConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocosbuilder/CCBReaderLoad.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocosdenshion/AudioEngine.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocostudio/CocoStudio.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocos2d/json.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/cocostudio/StudioConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/ui/GuiConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/ui/experimentalUIConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/extension/ExtensionConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/network/NetworkConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\cocos/spine/SpineConstants.luac. Possible missing file.
cocos2d: fullPathForFilename: No file found at .\GameScene.luac. Possible missing file.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
Running command: new

Copy template into C:\Users\xxx\Documents\cocos\CocosLua2048
Replace the project name from ‘HelloLua’ to ‘CocosLua2048’
Copying directory from cocos root directory…
Console: listening on 0.0.0.0 : 6010
Console: listening on 0.0.0.0 : 6020
Ready for GLSL
Ready for OpenGL 2.0

{
gl.version: 4.2.12002 Compatibility Profile Context 9.12.0.0
gl.supports_NPOT: true
cocos2d.x.version: cocos2d-x 3.3
cocos2d.x.compiled_with_profiler: false
cocos2d.x.build_type: DEBUG
cocos2d.x.compiled_with_gl_state_cache: true
gl.max_texture_size: 16384
gl.vendor: ATI Technologies Inc.
gl.renderer: ATI Radeon HD 5450
gl.max_texture_units: 32
gl.supports_ETC1: false
gl.supports_S3TC: true
gl.supports_ATITC: false
gl.supports_PVRTC: false
gl.supports_BGRA8888: false
gl.supports_discard_framebuffer: false
gl.supports_vertex_array_object: true
}

debug args = require(‘debugger’)(,’’)
value at stack -1] is not function
cocos2d: fullPathForFilename: No file found at .\src/main.luac. Possible missing file.
can not get file data of src/framework/init.lua
:2: module ‘framework.init’ not found:
no field package.preload’framework.init’]
no file ‘.\framework\init.lua’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\lua\framework\init.lua’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\lua\framework\init\init.lua’
no file ‘src/’
no file ‘.\framework\init.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\framework\init.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\loadall.dll’
no file ‘.\framework.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\framework.dll’
no file ‘C:\Users\xxx\Documents\cocos\CocosLua2048\runtime\win32\loadall.dll’
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

缺少framework和cocos源代码
将quickx目录下的framework和cocos目录拷到src目录下就可以运行啦

你好,非常感谢,我现在已经导入了,但是在调试的时候又报了另一个错误,具体log如下:
Console: listening on 0.0.0.0 : 6010
Console: listening on 0.0.0.0 : 6020
Ready for GLSL
Ready for OpenGL 2.0

{
gl.version: 4.2.12002 Compatibility Profile Context 9.12.0.0
gl.supports_NPOT: true
cocos2d.x.version: cocos2d-x 3.3
cocos2d.x.compiled_with_profiler: false
cocos2d.x.build_type: DEBUG
cocos2d.x.compiled_with_gl_state_cache: true
gl.max_texture_size: 16384
gl.vendor: ATI Technologies Inc.
gl.renderer: ATI Radeon HD 5450
gl.max_texture_units: 32
gl.supports_ETC1: false
gl.supports_S3TC: true
gl.supports_ATITC: false
gl.supports_PVRTC: false
gl.supports_BGRA8888: false
gl.supports_discard_framebuffer: false
gl.supports_vertex_array_object: true
}

debug args = require(‘debugger’)(‘127.0.0.1’,‘10000’,‘luaidekey’,nil,‘win’,’/My2048/’,’’)
Debugger v1.1.0
Debugger: Trying to connect to 127.0.0.1:10000 …
Debugger: Connection succeed.
cocos2d: fullPathForFilename: No file found at .\src/main.luac. Possible missing file.

           LOAD QUICK FRAMEWORK

===========================================================

DEBUG = 0

device.platform = windows

device.model = unknown

device.language = cn

device.writablePath = C:/Users/XCL/AppData/Local/PrebuiltRuntimeLua/

device.directorySeparator = \

device.pathSeparator = ;

CONFIG_SCREEN_AUTOSCALE = FIXED_WIDTH

CONFIG_SCREEN_WIDTH = 640.00

CONFIG_SCREEN_HEIGHT = 960.00

display.widthInPixels = 640.00

display.heightInPixels = 960.00

display.contentScaleFactor = 1.00

display.width = 640.00

display.height = 960.00

display.cx = 320.00

display.cy = 480.00

display.left = 0.00

display.right = 640.00

display.top = 960.00

display.bottom = 0.00

display.c_left = -320.00

display.c_right = 320.00

display.c_top = 480.00

display.c_bottom = -480.00

can not get file data of src/cjson.lua
:243: attempt to call a nil value

LUA ERROR: :1: loop or previous error loading module ‘src/main.lua’

stack traceback:
: in function ‘require’
:1: in main chunk

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

请问您有遇到过这种情况么,应该怎么解决,非常感谢

你好,非常感谢,我现在已经导入了,但是在调试的时候又报了另一个错误,具体log如下:
Console: listening on 0.0.0.0 : 6010
Console: listening on 0.0.0.0 : 6020
Ready for GLSL
Ready for OpenGL 2.0

{
gl.version: 4.2.12002 Compatibility Profile Context 9.12.0.0
gl.supports_NPOT: true
cocos2d.x.version: cocos2d-x 3.3
cocos2d.x.compiled_with_profiler: false
cocos2d.x.build_type: DEBUG
cocos2d.x.compiled_with_gl_state_cache: true
gl.max_texture_size: 16384
gl.vendor: ATI Technologies Inc.
gl.renderer: ATI Radeon HD 5450
gl.max_texture_units: 32
gl.supports_ETC1: false
gl.supports_S3TC: true
gl.supports_ATITC: false
gl.supports_PVRTC: false
gl.supports_BGRA8888: false
gl.supports_discard_framebuffer: false
gl.supports_vertex_array_object: true
}

debug args = require(‘debugger’)(‘127.0.0.1’,‘10000’,‘luaidekey’,nil,‘win’,’/My2048/’,’’)
Debugger v1.1.0
Debugger: Trying to connect to 127.0.0.1:10000 …
Debugger: Connection succeed.
cocos2d: fullPathForFilename: No file found at .\src/main.luac. Possible missing file.

           LOAD QUICK FRAMEWORK

===========================================================

DEBUG = 0

device.platform = windows

device.model = unknown

device.language = cn

device.writablePath = C:/Users/XCL/AppData/Local/PrebuiltRuntimeLua/

device.directorySeparator = \

device.pathSeparator = ;

CONFIG_SCREEN_AUTOSCALE = FIXED_WIDTH

CONFIG_SCREEN_WIDTH = 640.00

CONFIG_SCREEN_HEIGHT = 960.00

display.widthInPixels = 640.00

display.heightInPixels = 960.00

display.contentScaleFactor = 1.00

display.width = 640.00

display.height = 960.00

display.cx = 320.00

display.cy = 480.00

display.left = 0.00

display.right = 640.00

display.top = 960.00

display.bottom = 0.00

display.c_left = -320.00

display.c_right = 320.00

display.c_top = 480.00

display.c_bottom = -480.00

can not get file data of src/cjson.lua
:243: attempt to call a nil value

LUA ERROR: :1: loop or previous error loading module ‘src/main.lua’

stack traceback:
: in function ‘require’
:1: in main chunk

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile

请问您有遇到过这种情况么,应该怎么解决,非常感谢

我也遇到了同样的问题,请问如何解决?

我在这个帖子里写出了我的解决方案,不知道能不能帮到你:http://www.cocoachina.com/bbs/read.php?tid=283223&page=e&#a