1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Discussion YYC Compile Error, happens on all projects.

Discussion in 'GameMaker Studio 2 Community Tech Support' started by Kaliam, Mar 3, 2019.

  1. Kaliam

    Kaliam Member

    Joined:
    Jan 21, 2017
    Posts:
    59
    I keep getting this error on all of my projects when I try to use YYC. I have visual studio 2017 community and am linking to the proper batch file.

    Code:
    -----------------------------------------------------------------------------
    System.IO.FileNotFoundException: Unable to find the specified file.
    File name: 'rc.exe'
       at GMAssetCompiler.Output.LLVM_Windows.(String , Dictionary`2 )
       at GMAssetCompiler.Output.LLVM_Windows..ctor()
       at ..()
       at ..(GMAssets , String )
       at GMAssetCompiler.Program.(GMAssets )
       at GMAssetCompiler.Program.(String[] )
    -----------------------------------------------------------------------------
    EXCEPTION FILE - C:\Users\Graham\AppData\Local\Temp\f89c3beea8294fa0af8e90f6a30296c9.yyg.saencryptedreport
    -----------------------------------------------------------------------------
     
  2. Thultex

    Thultex Member

    Joined:
    Jan 11, 2019
    Posts:
    9
    Any News? Same Problem here, on android compile. I tried reinstalling a bunch (GMS and android studio), forcing admin. The
    EXCEPTION FILE file IS created but GM seems not to be able to access it.
     
  3. camerakid

    camerakid Member

    Joined:
    Jun 20, 2016
    Posts:
    255
    I get very similar errors on my MAC build using the YYC

    Code:
    System.Exception: could not find archive
       at Igor.MacBuilder.PackageYYC(String _dir)
       at Igor.MacBuilder.Package()
    EDIT: a cleanup seems to have solved the issue for me.
     
    Last edited: May 6, 2019
  4. Theghost

    Theghost Member

    Joined:
    Feb 1, 2019
    Posts:
    11
    same problem. Help! someone!
     
  5. Thultex

    Thultex Member

    Joined:
    Jan 11, 2019
    Posts:
    9
    For Reference: In my case the Problem was an outdated NDK Package (Not the one that comes with android studio autoupdate). I reverenced the right one, deleted the old and was all set.
     
  6. Pawel

    Pawel Member

    Joined:
    Nov 29, 2016
    Posts:
    21
    Did you resolved this issue?

    I am having similar error when compiling to iOS.

    Code:
    System.Exception: could not find archive
       w ..(String , String , YYDictionary`2 , String , Boolean , String )
       w Igor.iOSBuilder.Package()
    Error shows when I attach any extension to a project for example (GooglePlayServices),
    and it doesn't matter if I use VM or YYC.
    Without extension project is compiling fine...

    Please help!
     
  7. Tyler D. Anderson

    Tyler D. Anderson Member

    Joined:
    Jan 9, 2020
    Posts:
    9
    I'm getting the same error in ide version 2.2.3.425:
    Code:
    System.IO.FileNotFoundException: Unable to find the specified file.
    File name: 'rc.exe'
       at GMAssetCompiler.Output.LLVM_Windows.(String , Dictionary`2 )
       at GMAssetCompiler.Output.LLVM_Windows..ctor()
       at ..()
       at ..(GMAssets , String )
       at GMAssetCompiler.Program.(GMAssets )
       at GMAssetCompiler.Program.(String[] )
    -----------------------------------------------------------------------------
    EXCEPTION FILE - C:\Users\User\AppData\Local\Temp\c2b16443c5826e87ec77b13e4db78ab5.yyg.saencryptedreport
     
  8. INDRAJITH K L

    INDRAJITH K L Member

    Joined:
    May 15, 2018
    Posts:
    2
    I also encountered this issue. I think this is something to do with Windows SDK. I have resolved the issued.
    What I did was copy the rc.exe and rcdll.dll from C:\Program Files (x86)\Windows Kits\8.1\bin\x86 to C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin (I'm using Visual Studio 2017)

    After this, I tried to re-compile. This time the error was with a file called mt.exe. Which I later found it on the same directory as Windows Kit folder and copied it to the Visual Studio bin folder. Voila everything compiled successfully.

    Update: Feb 14, 2020
    -----------------------------
    I uninstalled VS 2017 and all associated tools. After that I installed VS 2015 with Windows 8 SDK build tools and then installed VS 2017 with Windows 10 & 8.1 SDK. Now everything is working(No need to copy those dll's). Weird right?
     
    Last edited: Feb 14, 2020 at 5:06 AM

Share This Page