[Newbie] Problem building an empty project on VS Express 2012

Hi there,
I’ve watched and did everythings here: http://www.cocos2d-x.org/docs/manual/framework/native/v3/getting-started/how-to-run-cpp-tests-on-win32/en

But when Ctrl-F5, there is a problem:

It’s just an empty project which I haven’t edited anythings

And I’m newbie here, first time learning Cocos2d-x. Hope everybody help :smile:

Thanks !

Instead of Ctrl-F5 to run, you should use F5 to start a debug run. Then when it crashes, you’ll have more info about why.

yes… click on the Local Windows Debugger button to compile and debug… :smile:

It’s a green mark play icon is there see… !!

Oh … Thanks, there is an error:
Unhandled exception at 0x00430A05 in Caro.exe: 0xC0000005: Access violation reading location 0x000001E8.
And when I click Continue, it still shown, click Break, one more tab appear:is CCGLView.cpp at line 346:
glfwSetMouseButtonCallback(_mainWindow, GLFWEventHandler::onGLFWMouseCallBack);

I really don’t know @@ …

Is _mainWindow NULL, can you check? It is created right there in glfwCreateWindow. If that returns NULL then it’s a problem.

please once check whether the express editions of visual studio works for cocos2d-x

as far as i know the express editions are not supported
i’ve seen somewhere but dont remember where…
so please cross-check it for once.

I removed VS Express and install VS 2012 ultimate, it has the same error ( while compiling win32 application )
And when I compile Android app ( on DOS command ), it shown this:
Explore vinhloiz98

I dont know … With newbie … it’s a lot of errors with empty project @@