4
\$\begingroup\$

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.

\$\endgroup\$
1
  • \$\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, 2016 at 10:35

1 Answer 1

1
\$\begingroup\$

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:

http://discuss.cocos2d-x.org/t/setup-fastest-setup-for-cocos2d-x-on-windows-with-qt-creator-debugging/15177

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

http://www.qt.io/download-open-source/

\$\endgroup\$
2
  • \$\begingroup\$ I'll take a look at it. But what if my game is commercial? \$\endgroup\$
    – Saturn
    Sep 21, 2015 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, 2015 at 6:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .