Creator打包问题

用自带HELLO WORLD模版打包WEB MOBLIE和EWEB DESKTOP没什么问题。
在打包安卓构建时出现问题
编译模式:release
正在编译…
要求的 VS 版本:[2013, 2015, 2017]
正在执行:’“C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.com” “F:\COCOSTEST\project1\build\jsb-binary\frameworks\runtime-src\proj.win32\hello_world.sln” /Build “Release” /Project “hello_world”’

Microsoft Visual Studio 2015 14.0.23107.0 版。
版权所有 © Microsoft Corp。保留所有权利。
1>------ 已启动生成: 项目: hello_world, 配置: Release Win32 ------
1> main.cpp
1> AppDelegate.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: 使用了 C++ 异常处理程序,但未启用展开语义。请指定 /EHsc (编译源文件 main.cpp)
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: 使用了 C++ 异常处理程序,但未启用展开语义。请指定 /EHsc (编译源文件 …\Classes\AppDelegate.cpp)
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cmath(90): warning C4577: ‘noexcept’ used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc (编译源文件 main.cpp)
1>f:\cocoscreator\resources\cocos2d-x\external\win32\include\spidermonkey\js/Utility.h(263): warning C4996: ‘strdup’: The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details. (编译源文件 …\Classes\AppDelegate.cpp)
1> C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt\string.h(552): note: 参见“strdup”的声明 (编译源文件 …\Classes\AppDelegate.cpp)
1>f:\cocoscreator\resources\cocos2d-x\external\win32\include\spidermonkey\js/Value.h(949): error C2134: “JS::Value::fromRawBits”: 调用不会生成常数表达式 (编译源文件 …\Classes\AppDelegate.cpp)
1> f:\cocoscreator\resources\cocos2d-x\external\win32\include\spidermonkey\js/Value.h(949): note: 对未定义的函数或为未声明为“constexpr”的函数的调用导致了故障 (编译源文件 …\Classes\AppDelegate.cpp)
1> f:\cocoscreator\resources\cocos2d-x\external\win32\include\spidermonkey\js/Value.h(953): note: 参见“JS::Value::fromRawBits”的声明 (编译源文件 …\Classes\AppDelegate.cpp)
1>…\Classes\AppDelegate.cpp(70): warning C4305: “参数”: 从“double”到“float”截断
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
执行命令出错,返回值:1。

在打包WIN时,构建可以完成,编译也报错,有些类型转换问题,有些是函数名不对的问题,log信息非常多,就不搬了。

系统是WIN10,引擎是cocos2dx 3.15.1,creator是1.6.1。我想问下这个是跨平台做的还不太完善的问题还是本身hello world的问题?还是哪里设置的问题?hello world在web上是没有问题的。

补充一下。昨天本身只试了WIN的,但是问题一直有,调了几个地方,但我本身并不用C++做开发。今天试安卓的也报错,所以过来水一帖。项目比较急,如果是hello world本身的问题,就无所谓了。但是我看好像不少是creator的。抽不出时间细看了。所以过来吃现成的了。

用 creator 内置的 cocos2d-x 呢

这个就是用CREATOR内置的模版生成的项目,没用315命令行生成。然后打包的。

那你说的 引擎是cocos2dx 3.15.1 是什么意思, creator 是只能使用 lite 版本的 cocos2d-x

哦。那个是我开始下了3.15.1,之后下了CREATOR,然后用CREATOR的模版生成的hello world,然后就尝试打各种包。这个报错是用creator时报的。和3.15应该是没关系的。

现在我是问用creator生成的hello world在打win或者android包时都有各自的问题。所以我是问这个是hello world的问题还是creator的问题。如果跨平台的话,会有这样的问题么?或者跨平台推荐什么样的方式。因为我看hello world报错信息都是C++的,类似类型转换的问题什么的。

另外顺便问一句,引擎支持多点触摸么?我看到有单点触摸的事件监听。多点是需要自定义监听的方式么?