YoYoGames / GMRT-Beta

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

Nothing builds when project paths contain special characters #170

Closed DragoniteSpam closed 4 months ago

DragoniteSpam commented 5 months ago

Description

The exact nature of the crash seems to depend on exactly what the special characters look like.

Project name: F:\GameMaker\Projects\3D Collisions - Lesson Plan (depth woes) (the #56 project)

  "C:\Users\drago\Documents\gmpm\third_party\cmake\3.27.7\x86_64\bin\cmake.exe" "-B" "F:\GameMaker\Projects\3D Collisions - Lesson Plan (depth woes)\Build\build" "-S" "F:\GameMaker\Projects\3D Collisions - Lesson Plan (depth woes)\Build" "-DYY_RELEASE_TOOLS_DIR=C:\Users\drago\Documents\gmpm\Release\bin" "-DYY_RELEASE_LIBS_DIR=C:\Users\drago\Documents\gmpm\Release\lib" "-DTRIPLE_NAME=x86_64-pc-windows-msvc" "-DDEBUG_TOOLCHAIN=OFF" "-DDEBUG_SCRIPTS=ON" "-DSCRIPT_EXECUTION_MODE=interpreter" "-DGMC_ARGS="@C:\Users\drago\AppData\Roaming/GameMakerStudio2-Beta\mpeng_151261\gmc.rsp"" "-DCMAKE_CXX_COMPILER_WORKS=1" "-DCMAKE_C_COMPILER_WORKS=1" "-G Ninja" "-DCMAKE_MAKE_PROGRAM=C:/Users/drago/Documents/gmpm/third_party/ninja/1.11.1/Release/x86_64/bin/ninja.exe" "-DCMAKE_C_COMPILER=C:/Users/drago/Documents/gmpm/third_party/clang/17.0.3/x86_64/bin/clang-cl.exe" "-DCMAKE_CXX_COMPILER=C:/Users/drago/Documents/gmpm/third_party/clang/17.0.3/x86_64/bin/clang-cl.exe"
  CMake Error: Could not find cmake module file: CMakeDetermine(Compiler.cmake
  CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
  Missing variable is:
  CMAKE_(_COMPILER_ENV_VAR
  CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
  Missing variable is:
  CMAKE_(_COMPILER
  CMake Error: Could not find cmake module file: F:/GameMaker/Projects/3D Collisions - Lesson Plan (depth woes)/Build/build/CMakeFiles/3.27.7/CMake(Compiler.cmake
  CMake Error: Could not find cmake module file: CMakeDeterminedepth_woesCompiler.cmake
  CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
  Missing variable is:
  CMAKE_depth_woes_COMPILER_ENV_VAR
  CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
  Missing variable is:
  CMAKE_depth_woes_COMPILER
  CMake Error: Could not find cmake module file: F:/GameMaker/Projects/3D Collisions - Lesson Plan (depth woes)/Build/build/CMakeFiles/3.27.7/CMakedepth_woesCompiler.cmake
  CMake Error: Could not find cmake module file: CMakeDetermine)Compiler.cmake
  CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
  Missing variable is:
  CMAKE_)_COMPILER_ENV_VAR
  CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
  Missing variable is:
  CMAKE_)_COMPILER
  CMake Error: Could not find cmake module file: F:/GameMaker/Projects/3D Collisions - Lesson Plan (depth woes)/Build/build/CMakeFiles/3.27.7/CMake)Compiler.cmake
  CMake Error at CMakeLists.txt:3 (project):
    No CMAKE_(_COMPILER could be found.

    Tell CMake where to find the compiler by setting the CMake cache entry
    CMAKE_(_COMPILER to the full path to the compiler, or to the compiler name
    if it is in the PATH.

  CMake Error: Could not find cmake module file: CMake(Information.cmake
  CMake Error at CMakeLists.txt:3 (project):
    No CMAKE_depth_woes_COMPILER could be found.

    Tell CMake where to find the compiler by setting the CMake cache entry
    CMAKE_depth_woes_COMPILER to the full path to the compiler, or to the
    compiler name if it is in the PATH.

  CMake Error: Could not find cmake module file: CMakedepth_woesInformation.cmake
  CMake Error at CMakeLists.txt:3 (project):
    No CMAKE_)_COMPILER could be found.

    Tell CMake where to find the compiler by setting the CMake cache entry
    CMAKE_)_COMPILER to the full path to the compiler, or to the compiler name
    if it is in the PATH.

  CMake Error: Could not find cmake module file: CMake)Information.cmake
  CMake Error: CMAKE_(_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_depth_woes_COMPILER not set, after EnableLanguage
  CMake Error: CMAKE_)_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!

Project name: F:\GameMaker\Projects\GMRT with special characters 8)!!


    "C:\Users\drago\Documents\gmpm\third_party\cmake\3.27.7\x86_64\bin\cmake.exe" "-B" "F:\GameMaker\Projects\GMRT with special characters 8)!!\Build\build" "-S" "F:\GameMaker\Projects\GMRT with special characters 8)!!\Build" "-DYY_RELEASE_TOOLS_DIR=C:\Users\drago\Documents\gmpm\Release\bin" "-DYY_RELEASE_LIBS_DIR=C:\Users\drago\Documents\gmpm\Release\lib" "-DTRIPLE_NAME=x86_64-pc-windows-msvc" "-DDEBUG_TOOLCHAIN=OFF" "-DDEBUG_SCRIPTS=ON" "-DSCRIPT_EXECUTION_MODE=interpreter" "-DGMC_ARGS="@C:\Users\drago\AppData\Roaming/GameMakerStudio2-Beta\mpeng_151261\gmc.rsp"" "-DCMAKE_CXX_COMPILER_WORKS=1" "-DCMAKE_C_COMPILER_WORKS=1" "-G Ninja" "-DCMAKE_MAKE_PROGRAM=C:/Users/drago/Documents/gmpm/third_party/ninja/1.11.1/Release/x86_64/bin/ninja.exe" "-DCMAKE_C_COMPILER=C:/Users/drago/Documents/gmpm/third_party/clang/17.0.3/x86_64/bin/clang-cl.exe" "-DCMAKE_CXX_COMPILER=C:/Users/drago/Documents/gmpm/third_party/clang/17.0.3/x86_64/bin/clang-cl.exe"
    CMake Error at CMakeLists.txt:3:
    -- Configuring incomplete, errors occurred!
      Parse error.  Expected a command name, got unquoted argument with text
      "!!".

I suspect this could be a real problem for people on non-English-speaking computers who might put their projects in a folder with non-latin characters.

Expected Change

Project paths with special characters to work

Steps To Reproduce

  1. Start GameMaker
  2. See the issue

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

DragoniteSpam commented 5 months ago

Note: in the past we had problems with the F:/ drive but this time it's is a problem with the project name itself, not the drive that it lives on

sykhro commented 5 months ago

This bug has been fixed recently, the issue will be solved with 0.8.0 - as a temporary workaround, ensure that the names of your projects only contain letters, digits, dashes, spaces.