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
868 stars 195 forks source link

[1.x] Cmake error when creating x64 VS project #1321

Closed rh101 closed 1 year ago

rh101 commented 1 year ago
  1. Run axmol new -p org.axmol.hellocpp -d . -l cpp --portrait HelloCpp
  2. Go into the created HelloCpp folder
  3. Run cmake -S . -B build -G "Visual Studio 17 2022" -A x64

The following errors appear:

...
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error: File G:/HelloCpp/run.bat.in does not exist.
CMake Error at CMakeLists.txt:40 (configure_file):
  configure_file Problem configuring file
...
-- Enabled axmol extensions:cocostudio;ImGui;fairygui;DragonBones;spine;physics-nodes;particle3d;assets-manager;GUI;
-- Configuring incomplete, errors occurred!
halx99 commented 1 year ago

I update the v1.0.1 release tag to v1.0.1p1, now should work, Note: 1.x will be deprecated (it only contains webgl1 build support compare with 1.0)

rh101 commented 1 year ago

Thank you!

I update the v1.0.1 release tag to v1.0.1p1, now should work, Note: 1.x will be deprecated (it only contains webgl1 build support compare with 1.0)

Oh I'm not too concerned about webgl at the moment, but should we be using branch 1.0 instead of 1.x for projects that can't be moved to v2 just yet?

halx99 commented 1 year ago

Yes, current 1.0 would be lts branch for 1.0.x

rh101 commented 1 year ago

All good, thank you for clarifying.