YoYoGames / GMRT-Beta

Bug Tracking for new GameMaker Runtime Beta
24 stars 0 forks source link

Compilation fails when project name contains Chinese #104

Closed yunzlp closed 7 months ago

yunzlp commented 8 months ago

Description

CMake Error at CMakeLists.txt:16 (add_custom_target): The target name "古法音乐AB循环" is reserved or not valid for certain CMake features, such as generator expressions, and may result in undefined behavior.

The project is a small demo, so I tried to create a project with an English name and transfer the assets in the project, and it worked correctly.

Expected Change

want to support

Steps To Reproduce

  1. Start GameMaker
  2. run projects
  3. observe the output
  4. See the issue

demo.zip

How reliably can you recreate this issue using your steps above?

Always

Which version of GameMaker are you reporting this issue for?

Beta (Please put the exact version number in your Description)

Which operating system(s) are you seeing the problem on?

Windows 10

Which platform(s) are you having trouble building this project for?

Windows

Are you running GameMaker from inside your Steam library?

No

ui.log File

Compiler Log File

Sample .yyz File

yunzlp commented 8 months ago

This reminds me of the past, so will I ever see gamemaker support Chinese variables in my lifetime?

LukeBrownYoYoGames commented 7 months ago

This should be fixed now in the next release (v0.7.0) There were some third party restrictions so I needed to rename the generated project when passing it to cmake since it only accepts ascii characters for the cmake target name, so this means that within the Build folder of your project the internal project name (VS project if you're building with that as the generator) will not match the actual project name but will be a hash of that name in ascii.

Otherwise, everything else should function correctly and seems to work now. Closing this issue but feel free to reopen if it doesn't work properly for you

p.s. That music is great

yunzlp commented 2 months ago

The new version is not available anymore Loaded Project: �ŷ�����ABѭ��