Cocod2D-X Distribute Desktop Application

I am working on a small project in cocos2d-x. I wanted to send the app to my friend so he can give me a feedback about it. I am developing on visual studio and was really lazy to build an apk so I decided to send it as a desktop app. To do that I needed to find out what cocos2d-x needs to run on another pc. So here is what you need to distribute your cocos2d-x desktop app.

  • Microsoft C++ redistributable 2010
  • Microsoft C++ redistributable 2012
  • Microsoft C++ redistributable 2013
  • The pc needs to be able to run OpenGL 1.5 or later, which won’t be a problem today but if you try to test on a virtual machine you may get a warning that says you need OpenGL1.5 or later
  • Later C++ redistributable runtimes may also be needed for the later versions, you need these runtimes for version 3.6

All of them combined are like 15MB, they have x32 and x64 versions which can be installed side by side, so other apps are not affected. Also be sure to send the release version, because if you send the debug version you will also need to send the dll files for debugging.


OscarLeif December 21, 2015 at 6:34 pm

Thank you for the instructions I’m going to test if it will work in my friends pc because I always send the exe that cocos creates in VS in release mode and never work :/

    metin December 21, 2015 at 8:14 pm

    Zip the release folder and send it, only the exe file is not enough. Suppose it is an installed game and has more files than exe.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

Recent Posts

Recent Comments

Categories