Question - IDE Error on Build

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Ted Gress, Aug 5, 2019.

  1. Ted Gress

    Ted Gress Member

    Joined:
    Sep 1, 2016
    Posts:
    737
    When I try to compile I get the following message:


    Code:
    elapsed time 00:00:00.1027279s for command "cmd" /c subst Z: /d started at 08/05/2019 02:44:24
    "cmd"  /c subst Y: /d
    
    elapsed time 00:00:00.0972479s for command "cmd" /c subst Y: /d started at 08/05/2019 02:44:24
    "cmd"  /c subst X: /d
    
    elapsed time 00:00:00.2982014s for command "cmd" /c subst X: /d started at 08/05/2019 02:44:24
    FAILED: Run Program Complete
    
     
  2. BaBiA Game Studio

    BaBiA Game Studio Member

    Joined:
    Jun 20, 2016
    Posts:
    824
    And there is nothing else in the output window before those lines? On a build of any sort you would normally get a lot more information that just those last few lines. Try scrolling up and then if there is more, post everything from your output window.
     
    Nocturne likes this.
  3. Ted Gress

    Ted Gress Member

    Joined:
    Sep 1, 2016
    Posts:
    737
    TThis is all I got from the Output Window:
    Code:
    "cmd"  /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291"
    
    elapsed time 00:00:00.1196511s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291" started at 08/05/2019 16:27:22
    Saving project to: C:\Users\ted_g\Documents\GameMakerStudio2\BatsVSBrainsExcalibur3.0\BatsVSBrainsExcalibur3.0.yyp
    Saving 1 resources
    "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291/bin/Igor.exe"  -j=8 -options="C:\Users\ted_g\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run
    
    Loaded Macros from C:\Users\ted_g\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\BatsVSBrai_F256F6CE_4214AC88\macros.json
    Options: X:/bin\platform_setting_defaults.json
    Options: C:\Users\ted_g\AppData\Roaming/GameMakerStudio2\ted_gress_451526\local_settings.json
    Options: C:\Users\ted_g\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\BatsVSBrai_F256F6CE_4214AC88\targetoptions.json
    X://bin/GMAssetCompiler.exe  /preprocess="Z:/BatsVSBrai_F256F6CE_4214AC88"
    Permission Error : Unable to obtain permission to execute
    
    
    X://bin/GMAssetCompiler.exe exited with non-zero status (-1)
    elapsed time 00:00:00.5567774s for command "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.1.291/bin/Igor.exe" -j=8 -options="C:\Users\ted_g\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Windows Run started at 08/05/2019 16:27:22
    "cmd"  /c subst Z: /d
    
    elapsed time 00:00:00.1077121s for command "cmd" /c subst Z: /d started at 08/05/2019 16:27:23
    "cmd"  /c subst Y: /d
    
    elapsed time 00:00:00.0977385s for command "cmd" /c subst Y: /d started at 08/05/2019 16:27:23
    "cmd"  /c subst X: /d
    
    elapsed time 00:00:00.1077117s for command "cmd" /c subst X: /d started at 08/05/2019 16:27:23
    FAILED: Run Program Complete
    And this shows up in Compile Errors:

    Code:
    Permission Error : Unable to obtain permission to execute
    
    That's all I got.. Thanks Babia.
     
  4. BaBiA Game Studio

    BaBiA Game Studio Member

    Joined:
    Jun 20, 2016
    Posts:
    824
    Assuming you are on a newer IDE, then you need to get off the old runtimes. There have been other topics about the "Unable to obtain permission to execute", and you need to be on the new runtime to not get the error as there are new flags being passed in the asset compiler that the old runtimes can't deal with:
    https://forum.yoyogames.com/index.p...ing-version-2-2-1-or-older.65649/#post-393009
    https://forum.yoyogames.com/index.php?threads/gms2-version-2-2-3-full-release.65041/#post-391186
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice