axmolengine / axmol

Axmol Engine – A Multi-platform Engine for Desktop, XBOX (UWP) and Mobile games. (A fork of Cocos2d-x-4.0)
https://axmol.dev
MIT License
922 stars 205 forks source link

Can not run tests #1553

Closed Roker2 closed 10 months ago

Roker2 commented 10 months ago

It can not create configs/config-example.plist

aismann commented 10 months ago

@Roker2 It builds using vs2022 ui?

rh101 commented 10 months ago
  1. Open cpp-tests folder

    1. Run pwsh ../../build.ps1 -p win32

It can not create configs/config-example.plist

A lot of information missing from your post. For example, which version of Visual Studio? What is the output of the console? Did you run setup?

A few assumptions:

1 - You've already set up as per these instructions: https://github.com/axmolengine/axmol/blob/dev/docs/DevSetup.md#prerequisites 2 - You closed the terminal and opened up a new terminal after the setup is completed

In the cpp-tests folder, run this to build: axmol build -p win32

Or, if you want to create the solution/project and build it within VS, then run this: axmol build -p win32 -c