I want to use cocos2d-x to make a Windows game. I used the cocos console:

cocos compile -p WIN32

And apparently it needs Visual Studio.

Is there an alternative to build the Windows game without Visual Studio? Anything more lightweight? I am hesitant to use Visual Studio because I actually work on many different machines and they all have somewhat limited memory.

Any other smaller IDE would do. Or even better, some sort of command line tool.

  • \$\begingroup\$ You do not actually have to fire up the IDE to compile with VS. Just run VSDIR\Common7\Tools\VsDevCmd.bat in your console. \$\endgroup\$ – Esa Sep 8 '16 at 10:35

You can use Qt Creator (with MinGW) to compile cocos2d-x on Windows, here's a step by step guide by Martell on the official forums:


Qt Creator/Qt is a Cross-Platform IDE and application framework. Download it here:


  • \$\begingroup\$ I'll take a look at it. But what if my game is commercial? \$\endgroup\$ – Oxide Sep 21 '15 at 2:17
  • \$\begingroup\$ In this particular case, you just need the Qt Creator IDE to compile cocos2d-x, so there's no issue in terms of commercial licensing. \$\endgroup\$ – scottyp Sep 21 '15 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.