Unable to build Win 8 Metro template

Hi,

I have been using the following link:
http://cocos2d-x.org/projects/cocos2d-x/wiki/How_to_create_a_new_project_for_windows8_metro

When I build my project I get the error:

Error 1 error MSB6006: “fxc.exe” exited with code 1. C:Files (x86).Cpp\v4.0\V110\Microsoft.CppCommon.targets 1130 6 HelloWorld

I am using Windows 8 Release Preview Build 8400 & Visual Studio Ultimate 2012 RC Version 11.0.50522.1

I hope someone can help to fix this problem.

Hey,

did you solve the issue already? I got the same Thing here and can’t find any solution :frowning:

Hello, same thing here. Please guys help us, let’s make some fun on windows 8 platform!

I have a progress, plz make sure that you create project correctly by CrateProject.bat. Take a look that you have all folders are needed in your new project. In my case it was a problem. I had not correctly set up my CreateProject.bat file. But now I gotta another problem:

Error 1 error C1083: Cannot open source file: ‘…2D\Collision\b2CollideCircle.cpp’: No such file or directory D:~~cocos2d\helloworld-cocos2d\c1xx HelloWorld
Error 2 error C1083: Cannot open source file: ‘…2D\Collision\b2BroadPhase.cpp’: No such file or directory D:~~cocos2d\helloworld-cocos2d\c1xx HelloWorld

Error 3 error C1083: Cannot open source file: ‘…2D\Collision\b2CollideEdge.cpp’: No such file or directory D:-cocos2d\helloworld-cocos2d\c1xx HelloWorld

and so on :F Only to Box2d folder. Any advice?

From the looks of it, the Box2D library isn’t properly copied into your project. You could try copying it manually or re-making your project.

I did like u said but right now i got:

1>Package.appxmanifest(26,6): error APPX1627: App manifest declares document library access capability without specifying at least one file type association.
Rebuild All: 0 succeeded, 1 failed, 0 skipped

Any advice? Again :]

I fixed it:
just unchecked “Documents Library Access” on Package.appxmanifest. I hope it is a properly solution. Right now it works quite well, but it is normal that same pice of the screen are black? Texture is not on the hole screen.