YoYoGames / GMRT-Beta

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

Extension does not work #202

Closed Glim888 closed 3 months ago

Glim888 commented 3 months ago

Description

image

Parsing response file: D:\GMS Beta Projects\XXX\Build\build\out\extensions\WPS2_cpp\gmc.rsp Compiling script files... Unhandled exception. System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'clang-cl' with working directory 'C:\Program Files\GameMaker-Beta'. Das System kann die angegebene Datei nicht finden.) ---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'clang-cl' with working directory 'C:\Program Files\GameMaker-Beta'. Das System kann die angegebene Datei nicht finden. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at gmutils.BuildUtil.InvokeCompiler(Logger logger, Boolean verbose, String pathToCompiler, String[] compilerArgs) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\utils\BuildUtil.cs:line 314 at gmc.GMCompiler.CompileToObj(String _file) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 631 at gmc.GMCompiler.b__136_0(String v) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 462 at gmc.GMCompiler.CPPToObjFiles(IEnumerable1 cppFiles) in C:\actions-runner\_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 460 at gmc.GMCompiler.BuildArchive(IEnumerable1 scriptIR, IEnumerable1 cppFiles) in C:\actions-runner\_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 832 at gmc.GMCompiler.Archive(IEnumerable1 inputFiles) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 251 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at gmc.Program.Main(String[] args) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\Program.cs:line 86 [createdump] Writing minidump for process 340 to file C:\ProgramData\GameMakerStudio2-Beta\Dumps\gmdump.340.dmp [createdump] Dump successfully written in 135ms

Failed to compile the extension stub files! C:\Users\XXX\Documents\gmpm\GMRT\Release\bin\gmc @D:\GMS Beta Projects\XXX\Build\build\out\extensions\WPS2_cpp\gmc.rsp @D:\GMS Beta Projects\XXX\Build\build\out\extensions\WPS2_cpp\gmc.rspParsing response file: D:\GMS Beta Projects\XXX\Build\build\out\extensions\WPS2_cpp\gmc.rspCompiling script files...[createdump] Writing minidump for process 340 to file C:\ProgramData\GameMakerStudio2-Beta\Dumps\gmdump.340.dmp[createdump] Dump successfully written in 135ms Unhandled exception. System.AggregateException: One or more errors occurred. (An error occurred trying to start process 'clang-cl' with working directory 'C:\Program Files\GameMaker-Beta'. Das System kann die angegebene Datei nicht finden.) ---> System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'clang-cl' with working directory 'C:\Program Files\GameMaker-Beta'. Das System kann die angegebene Datei nicht finden. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at gmutils.BuildUtil.InvokeCompiler(Logger logger, Boolean verbose, String pathToCompiler, String[] compilerArgs) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\utils\BuildUtil.cs:line 314 at gmc.GMCompiler.CompileToObj(String _file) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 631 at gmc.GMCompiler.b__136_0(String v) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.c s:line 462 at gmc.GMCompiler.CPPToObjFiles(IEnumerable1 cppFiles) in C:\actions-runner\_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 460 at gmc.GMCompiler.BuildArchive(IEnumerable1 scriptIR, IEnumerable1 cppFiles) in C:\actions-runner\_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 832 at gmc.GMCompiler.Archive(IEnumerable1 inputFiles) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\GMCompiler.cs:line 251 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at gmc.Program.Main(String[] args) in C:\actions-runner_work\GMRT\GMRT\YoYoCompilerToolChain\tools\gmc\gmc\Program.cs:line 86

Expected Change

No response

Steps To Reproduce

No response

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

None

Which version of GameMaker are you reporting this issue for?

No response

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

No response

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

No response

Are you running GameMaker from inside your Steam library?

None

ui.log File

Compiler Log File

Sample .yyz File

LukeBrownYoYoGames commented 3 months ago

This should be fixed in the 0.11.0 build. There was an issue where the clang path was not being correctly set when building extensions. Please reopen if this issue persists with 0.11.0