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
733 stars 181 forks source link

Can't build cpp-tests #1857

Closed smilediver closed 1 month ago

smilediver commented 1 month ago

Running: axmol build -p win32 -xb '--config,Debug' -d tests/cpp-tests fails with:

-- Enabled axmol extensions:JSONDefault;cocostudio;SDFGen;Inspector;ImGui;fairygui;DragonBones;spine;physics-nodes;particle3d;assets-manager;GUI;
C:\work\axmol\1k\fetch.ps1 : Missing an argument for parameter 'revision'. Specify a parameter of type 'System.Object' and try again.
At line:1 char:133
+ ... /cache -manifest C:/work/axmol/manifest.json -name sample-assets -rev
+                                                                      ~~~~
    + CategoryInfo          : InvalidArgument: (:) [fetch.ps1], ParameterBindingException
    + FullyQualifiedErrorId : MissingArgument,fetch.ps1

CMake Error at C:/work/axmol/1k/fetch.cmake:104 (message):
  fetch content sample-assets failed
Call Stack (most recent call first):
  CMakeLists.txt:35 (_1kfetch)
halx99 commented 1 month ago

powershell 7 should work