Problem with setup cocos 2dx project qt creator windows 10

Its another thread about how to set up project. I read TONS of this threads but I cannot find solution for my problem. I tried to use cocos IDE but its not supporting coding in cpp on windows 10 (I guess?). So I’m trying to use Cocos2d-x in Qt creator (v. 5.4.2). I follow these steps:

  1. Download cocos2d-x v3.9
  2. Run command: “python setup.py”
  3. Restart console.
  4. Run command: cocos new -d “C:\CocosTest” -l cpp
  5. Output:

Now I followed this tutorial:
http://www.cocos2d-x.org/wiki/User_Tutorial-How_to_open_cocos2d-x_project_into_Qt_Creator_IDE

  1. Download CMake, installed it.
  2. Open project in Qt creator, selected CMakeList in dir C:\CocosTest\CMakeLists.txt
  3. Selected CMake in CmakePath\bin\Cmake.exe
  4. Selected generator: Generator MinGW (Desktop Qt 5.5.1 MinGW 32bit), hit Run Cmake.
  5. Output:
    And thats all. I cannot pass this step :confused:
    I spend days on figuring this out (tries visual studio, cocos IDE but without effect). I read programming guide and cocos is PERFECT for my project, and I can use my favorite programming language c++ for free…

EDIT:
I also tries to follow this thread:

And I successfully opens project but when I tried to build it, error occured: “CCStdC.h: No such file or directory”

1 Like

Bump, no one know how to fix this on windows 10?

You can build your project in VS with installed c++ components? Try build from console cocos compile -p win32

Visual studio 2012 took nearly 5 minutes to building cocos project and finished with error. I sadly gave up opening cocos in qt creator. I’m following this tutorial now: https://blogs.windows.com/buildingapps/2015/06/15/running-cocos2d-x-on-windows-10/ and currently downloading visual studio 2015 because I need (I guess) Universal Windows App developing tools (I haven’t found this in my visual studio 2012) to finally run cocos.

(For previous post)I tries to build x64 version, but x32 is the only supported version. This was the problem.