cocos2d-x-3.0rc0 release build error

xmemory0(605): error C3130: 内部编译器错误: 未能将插入的代码块写入 PDB (…\Classes\ExtensionsTest\CocosBuilderTest\TestHeader\TestHeaderLayer.cpp)
xmemory0(605): error C3130: 内部编译器错误: 未能将插入的代码块写入 PDB (…\Classes\Box2DTestBed\Test.cpp)
tuple(521): error C3130: 内部编译器错误: 未能将插入的代码块写入 PDB (…\Classes\NodeTest\NodeTest.cpp)
xmemory0(605): error C3130: 内部编译器错误: 未能将插入的代码块写入 PDB (…\Classes\Box2DTestBed\GLES-Render.cpp)
tuple(521): error C3130: 内部编译器错误: 未能将插入的代码块写入 PDB (…\Classes\Box2DTestBed\Box2dView.cpp)
xmemory0(605): error C3130: 内部编译器错误: 未能将插入的代码块写入 PDB (…\Classes\Box2DTestBed\TestEntries.cpp)
tuple(521): error C3130: 内部编译器错误: 未能将插入的代码块写入 PDB (…\Classes\MutiTouchTest\MutiTouchTest.cpp)

@bigmoon 环境测试通过了没有

I faced with this problem too. bug created:http://www.cocos2d-x.org/issues/4497

Anybody know this error: “Coundn’t find Gcc toolchain.” I have set NDK_ROOT environment before
NDK_ROOT = Q:\Android\ndk

@kiddi2202
Does the environment take effect?

@zhangxm wrote:

@kiddi2202
Does the environment take effect?

How to know it take effect?
I use Cygwin to run android-build.py but get error “Coundn’t find Gcc toolchain”. HIX!

@zhangxm wrote:

@kiddi2202
Does the environment take effect?

Hix, I fixed this problem. But now there’s a new Problem:

When i run commend: Python android-build.py -p -10 ( i try 11,12 , …19 ) cpp-tests
I get this error
“please use vaild android platform”.

Hix, I 've set ANDROID_SDK_ROOT environment before (WINDOW)

Help

The problem is “-10” should only be “10”

i.e. -p 10

EDIT: Just to be clear: “-p 10” is one atomic argument. it means the platform (-p) is 10. Cocos2d-x thought you wanted negative10 as the platform version and got confused.

HIX

OMG, thanks @Ajas!

我也遇到同样的问题,请问你是怎么解决的?

敢不敢说句中文:::怎么解决的???
我先生成Debug,成功,然后生成release失败。
Can you speak Chinese?? How to resolve this problem?