will windows 8 style fully supported by cocos2d-x?


#1

since the last article about windows 8 style is 3 month ago, and so do the files on github
is the development stopped because the windows 8 is not released and stable yet? or is there any other problem that I should know?

thanks for your attention
I really do hope I can publish those app using cocos2d-x


#2

yes I would love to have an update on this issue too. Based on what I know, currently MS has strict requirements on some event handling that doesnt seem to be fully handled by cocos2d yet, such as the snapped view and device rotation handling. If there is such support I would love to see a tutorial.


#3

is there any updates on the cocos2d-x for win8?
microsoft said that win8 RTM and VS2012 RTM should be ready shortly


#4

win8 RTM and VS2012 RTM should already be available. there’s a 90 days trial version online i believe, i’m still working with the RP version. cocos2d-x for win8 i’m currently using version “cocos2d-1.0.1-x-0.11.0”, based on whats inside cocos2d.cpp


#5

Edmund Ching wrote:

win8 RTM and VS2012 RTM should already be available. there’s a 90 days trial version online i believe, i’m still working with the RP version. cocos2d-x for win8 i’m currently using version “cocos2d-1.0.1-x-0.11.0”, based on whats inside cocos2d.cpp

cocos2d-1.0.1-x-0.11.0 can’t work with win8 RTM and VS2012 RTM, I’m a msdn user, when I use win8 and VS2012 RTM, HelloWorld & test in cocos2d-1.0.1-x-0.11.0 throw Exceptions.

HelloWorld.exe!HelloWorld::init() 行 64 C*+
HelloWorld.exe!HelloWorld::node 行 17 C*+
HelloWorld.exe!HelloWorld::scene() 行 14 C*+
HelloWorld.exe!AppDelegate::applicationDidFinishLaunching 行 56 C*+
HelloWorld.exe!cocos2d::CCFrameworkView::[Windows::ApplicationModel::Core::IFrameworkView]::Run() 行 154 C*+
HelloWorld.exe!cocos2d::CCFrameworkView::::abi_Windows_ApplicationModel_Core_IFrameworkView__abi_Run C*+
twinapi.dll!6b20c9dd() 未知
[下面的框架可能不正确和/或缺失,没有为 twinapi.dll 加载符号]
twinapi.dll!6b20cab2() 未知
twinapi.dll!6b20c9f6() 未知
SHCore.dll!75201ffd() 未知
kernel32.dll!76a98543() 未知
ntdll.dll!77e3ac69() 未知
ntdll.dll!77e3ac3c() 未知

the following is warning:

警告 1 warning C4101: “result”: 未引用的局部变量 c:2d-x-for-win8\cocos2dx\ccdrawingprimitives.cpp 377 1 HelloWorld
警告 2 warning C4244: “初始化”: 从“float”转换到“unsigned long”,可能丢失数据 c:2d-x-for-win8\cocos2dx\effects\ccgrid.cpp 122 1 HelloWorld
警告 3 warning C4244: “初始化”: 从“float”转换到“unsigned long”,可能丢失数据 c:2d-x-for-win8\cocos2dx\effects\ccgrid.cpp 123 1 HelloWorld
警告 4 warning C4800: “unsigned int”: 将值强制为布尔值“true”或“false”(性能警告) c:2d-x-for-win8\cocos2dx\textures\cctexturepvr.cpp 250 1 HelloWorld
警告 5 warning LNK4098: 默认库“MSVCRT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library C:2d-x-for-win8\HelloWorld\win8_metro\LINK HelloWorld
警告 6 warning LNK4098: 默认库“LIBCMT”与其他库的使用冲突;请使用 /NODEFAULTLIB:library C:2d-x-for-win8\HelloWorld\win8_metro\LINK HelloWorld
警告 7 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(png.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(png.obj) HelloWorld
警告 8 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngerror.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngerror.obj) HelloWorld
警告 9 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngget.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngget.obj) HelloWorld
警告 10 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngmem.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngmem.obj) HelloWorld
警告 11 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngread.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngread.obj) HelloWorld
警告 12 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngrio.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngrio.obj) HelloWorld
警告 13 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngrtran.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngrtran.obj) HelloWorld
警告 14 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngrutil.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngrutil.obj) HelloWorld
警告 15 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngset.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngset.obj) HelloWorld
警告 16 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngtrans.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngtrans.obj) HelloWorld
警告 17 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngwio.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngwio.obj) HelloWorld
警告 18 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngwrite.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngwrite.obj) HelloWorld
警告 19 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngwtran.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngwtran.obj) HelloWorld
警告 20 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“libpng.lib(pngwutil.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\libpng.lib(pngwutil.obj) HelloWorld
警告 21 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(adler32.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(adler32.obj) HelloWorld
警告 22 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(crc32.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(crc32.obj) HelloWorld
警告 23 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(deflate.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(deflate.obj) HelloWorld
警告 24 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(gzclose.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(gzclose.obj) HelloWorld
警告 25 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(gzlib.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(gzlib.obj) HelloWorld
警告 26 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(gzread.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(gzread.obj) HelloWorld
警告 27 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(gzwrite.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(gzwrite.obj) HelloWorld
警告 28 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(inffast.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(inffast.obj) HelloWorld
警告 29 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(inflate.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(inflate.obj) HelloWorld
警告 30 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(inftrees.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(inftrees.obj) HelloWorld
警告 31 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(trees.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(trees.obj) HelloWorld
警告 32 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(uncompr.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(uncompr.obj) HelloWorld
警告 33 warning LNK4099: 未找到 PDB“vc110.pdb”(使用“zlib.lib(zutil.obj)”或在“C:2d-x-for-win8\Debug\HelloWorld\vc110.pdb”中寻找);正在链接对象,如同没有调试信息一样 C:2d-x-for-win8\HelloWorld\win8_metro\zlib.lib(zutil.obj) HelloWorld


#6

that’s bad news
I guess I’ll stick to Release Preview version a while longer, since the dev branch of the github passed the WACK test.
and good luck for win8 branch of cocos2d-x dev!


#7

I’m using the following cod for Snap detection:

void AppDelegate::applicationViewStateChanged(int newState, int oldState)
{
    CCDirector *pDirector = CCDirector::sharedDirector();

    if (( Windows::UI::ViewManagement::ApplicationViewState)newState == Windows::UI::ViewManagement::ApplicationViewState::Snapped)
    {       
        pDirector->pushScene(SnapScene::scene());
    }
    else
    {
        pDirector->popScene();
    }
}

But I still need to find a way to scale the snap view correctly.


#8

Bingyao Ma wrote:

cocos2d-1.0.1-x-0.11.0 can’t work with win8 RTM and VS2012 RTM, I’m a msdn user, when I use win8 and
VS2012 RTM, HelloWorld & test in cocos2d-1.0.1-x-0.11.0 throw Exceptions.
. . .

Everything works for me (on 32 bits). I have Win8 RTM Enterprise 32 bit trial version, VS2012 RTM trial verson, and same cocos2d-1.0.1-x-0.11.0.


#9

Virtual Void wrote:

Bingyao Ma wrote:
> cocos2d-1.0.1-x-0.11.0 can’t work with win8 RTM and VS2012 RTM, I’m a msdn user, when I use win8 and
> VS2012 RTM, HelloWorld & test in cocos2d-1.0.1-x-0.11.0 throw Exceptions.
> . . .
>
Everything works for me (on 32 bits). I have Win8 RTM Enterprise 32 bit trial version, VS2012 RTM trial verson, and same cocos2d-1.0.1-x-0.11.0.

I used Windows 8 RTM Pro x64 version. VS2012 RTM CHS version.

I change to Windows 8 RTM Pro x86 & VS2012 RTM English version, get the same error:

1>LINK : warning LNK4098: defaultlib ‘MSVCRT’ conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : warning LNK4098: defaultlib ‘LIBCMT’ conflicts with use of other libs; use /NODEFAULTLIB:library
1>libpng.lib(png.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(png.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngerror.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngerror.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngget.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngget.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngmem.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngmem.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngread.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngread.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngrio.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngrio.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngrtran.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngrtran.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngrutil.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngrutil.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngset.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngset.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngtrans.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngtrans.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngwio.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngwio.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngwrite.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngwrite.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngwtran.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngwtran.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>libpng.lib(pngwutil.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘libpng.lib(pngwutil.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(adler32.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(adler32.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(crc32.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(crc32.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(deflate.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(deflate.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(gzclose.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(gzclose.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(gzlib.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(gzlib.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(gzread.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(gzread.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(gzwrite.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(gzwrite.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(inffast.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(inffast.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(inflate.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(inflate.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(inftrees.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(inftrees.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(trees.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(trees.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(uncompr.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(uncompr.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1>zlib.lib(zutil.obj) : warning LNK4099: PDB ‘vc110.pdb’ was not found with ‘zlib.lib(zutil.obj)’ or at ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\vc110.pdb’; linking object as if no debug info
1> HelloWorld.vcxproj ~~> C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\HelloWorld.exe
2>—— Deploy started: Project: HelloWorld, Configuration: Debug Win32 ——
2>Creating a new clean layout…
2>Copying files: Total 34 mb to layout…
2>Checking whether required frameworks are installed…
2>Registering the application to run from layout…
2>Deployment complete. Full package name: “b1ee2ff4-bd9c-48b3-9c8f-f4856abdfba1_1.0.0.0_x86__bcq51wqbeke1a”
Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped
Deploy: 1 succeeded, 0 failed, 0 skipped

‘HelloWorld.exe’ : Loaded ‘C:2d-x-for-win8-0.11.0\cocos2d-x-for-win8\Debug\HelloWorld\AppX\HelloWorld.exe’. Symbols loaded.
‘HelloWorld.exe’ : Loaded ‘C:32\ntdll.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\kernel32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\KernelBase.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\d2d1.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\d3d11.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\dxgi.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\DWrite.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\XAudio2_8.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\mfplat.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\mfreadwrite.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\SHCore.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:Files\WindowsApps\Microsoft.VCLibs.110.00.Debug_11.0.50727.1_x868wekyb3d8bbwe\vccorlib110d.dll’. Symbols loaded.
’HelloWorld.exe’ : Loaded ’C:Files\WindowsApps\Microsoft.VCLibs.110.00.Debug_11.0.50727.1_x86
8wekyb3d8bbwe\msvcp110d.dll’. Symbols loaded.
‘HelloWorld.exe’ : Loaded ‘C:Files\WindowsApps\Microsoft.VCLibs.110.00.Debug_11.0.50727.1_x86__8wekyb3d8bbwe\msvcr110d.dll’. Symbols loaded.
‘HelloWorld.exe’ : Loaded ‘C:32\ole32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\msvcr110.dll’. Symbols loaded.
‘HelloWorld.exe’ : Loaded ‘C:32\combase.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\msvcrt.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\user32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\gdi32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\winmm.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\cfgmgr32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\avrt.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\oleaut32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\mfcore.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\rpcrt4.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\sechost.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\winmmbase.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\ksuser.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\imm32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\msctf.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\cryptbase.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\bcryptprimitives.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\twinapi.dll’. Cannot find or open the PDB file.
The thread 0xa7c has exited with code 0 .
‘HelloWorld.exe’ : Loaded ‘C:32\WinTypes.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\cryptsp.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\rsaenh.dll’. Cannot find or open the PDB file.
CCFrameworkView::*CCFrameworkView
CCFrameworkView::~~CCFrameworkView
CCFrameworkView::*Initialize
CCFrameworkView::-Initialize
‘HelloWorld.exe’ : Loaded ‘C:32\actxprxy.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\Windows.UI.Immersive.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\dui70.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\Windows.UI.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\ninput.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\uxtheme.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:Files\Common Files\microsoft shared\ink\tiptsf.dll’. Cannot find or open the PDB file.
CCFrameworkView::*SetWindow
‘HelloWorld.exe’ : Loaded ‘C:32\Windows.Graphics.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\d2d1debug1.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\advapi32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\WindowsCodecs.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\dxgidebug.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\vm3dum.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\d3d10level9.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\d3d11_1sdklayers.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Unloaded ‘C:32\vm3dum.dll’
‘HelloWorld.exe’ : Unloaded ‘C:32\d3d10level9.dll’
‘HelloWorld.exe’ : Loaded ‘C:32\d3d10warp.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\dwmapi.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ : Loaded ‘C:32\dcomp.dll’. Cannot find or open the PDB file.
CCFrameworkView::~~SetWindow
CCFrameworkView::*Load
CCFrameworkView::~~Load()
CCFrameworkView::*OnActivated
CCFrameworkView::-OnActivated
CCFrameworkView::*Run()
‘HelloWorld.exe’ (Win32): Loaded ‘C:32\shell32.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ (Win32): Loaded ‘C:32\shlwapi.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ (Win32): Loaded ‘C:32\Windows.ApplicationModel.dll’. Cannot find or open the PDB file.
‘HelloWorld.exe’ (Win32): Loaded ‘C:32\propsys.dll’. Cannot find or open the PDB file.
CCFileUtils_win8_metro.cpp: Get data from file failed!
First-chance exception at 0x015A8B6A in HelloWorld.exe: 0xC0000005: Access violation reading location 0x00000000.
Unhandled exception at 0x015A8B6A in HelloWorld.exe: 0xC0000005: Access violation reading location 0x00000000.
The thread 0x428 has exited with code 0 (0x0).
The thread 0x9bc has exited with code 0 (0x0).
The thread 0xb74 has exited with code 0 (0x0).
The thread 0xbd4 has exited with code 0 (0x0).
The thread 0xb24 has exited with code 0 (0x0).
The thread 0xa14 has exited with code 0 (0x0).
The program ‘[3668] HelloWorld.exe’ has exited with code 0 (0x0).

>
HelloWorld.exe!HelloWorld::init() Line 64 C*+
HelloWorld.exe!HelloWorld::node Line 17 C*+
HelloWorld.exe!HelloWorld::scene() Line 14 C*+
HelloWorld.exe!AppDelegate::applicationDidFinishLaunching Line 56 C*+
HelloWorld.exe!cocos2d::CCFrameworkView::[Windows::ApplicationModel::Core::IFrameworkView]::Run() Line 154 C*+
HelloWorld.exe!cocos2d::CCFrameworkView::::abi_Windows_ApplicationModel_Core_IFrameworkView__abi_Run C*+
twinapi.dll!6e2dc9dd() Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for twinapi.dll]
twinapi.dll!6e2dcab2() Unknown
twinapi.dll!6e2dc9f6() Unknown
SHCore.dll!75a21ffd() Unknown
kernel32.dll!765c1866() Unknown
ntdll.dll!77df68f1() Unknown
ntdll.dll!77df689d() Unknown


#10

Oren Bengigi wrote:

I’m using the following cod for Snap detection:
>
[…]
>
But I still need to find a way to scale the snap view correctly.

I went inside CCEGLView_win8_metro.cpp, in the function OnWindowSizeChanged() changed

m_fWinScaleX = (float)winWidth / m_initWinWidth; m_fWinScaleY = (float)winHeight / m_initWinHeight;

to

m_fWinScaleX = 1.0; m_fWinScaleY = 1.0;

So the renderer wont rescale the content to the view size. Have yet tested how this would affect the touch points though.


#11

CCFileUtils_win8_metro.cpp: Get data from file failed!

There’s probably a problem with opening a file. You shouldn’t have any problems with a new installation.