Build suceeded but can't run exe

Windows 7 64-bit.


Visual Studio 2017 community.
Trying to compile Hello World prog. Help me.

It looks like your compile worked though. Are you running on hardware or an emulator/simulator?

ctrl+f5 (tried to run with cmd and also get that error)

Try to debug with F5

Build suceeded, but that message appeared when i tried to run exe file

Try and run the compiled executable directly from the output folder - if a DLL is missing, Windows will tell you.

Thanks, i don’t know what wa wrong but install other version of windows solved this

Then you must be missing DLL’s? What version of windows to what other version did you move to?

Win 7-> Win 8.1. And change from VS 2017-> VS 2015 too

And to be sure what version of cocos2d-x are you using?

I’m using cocos2dx 3.17

For me cocos2dx 3.17 works on windows 7 x64 with VS 2017

2017 works with 3.17

umm… i give you a step by step way.

  1. change your project path D -> C

  2. check your netframework and visual c++ redistributable Package

  3. remake project

I hope you will not come…

  1. reinstall cocos2d with python

  2. reinstall visual

  3. update windows(7. 64-bit)

plz never come over here…

  1. reinstall or upgrade windows 8 or 10

Yes yes, i tried 1,2,3,4,5,6 but only 7 worked