"Failed to initialize resource cache!" when running TeapotWars_2010

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • "Failed to initialize resource cache!" when running TeapotWars_2010

      Hello,
      I just built the source code for the book and am attempting to run TeapotWars_2010 but keep getting the following error message when I run it:

      [ERROR] Failed to initialize the resource cache! Are your paths set up correctly?
      Function: GameCodeApp::InitInstance
      \psf\home\desktop\gamecode4\source\gcc\gamecode4\gamecode.cpp
      Line: 178

      Can someone please help me understand why I'm getting this message and what I can do to fix this?

      Thanks!
    • RE: "Failed to initialize resource cache!" when running TeapotWars_2010

      This is almost certainly because the Working Directory isn't set up correctly. Right-click on the TeapotWars project and go to properties. Then go to the Debugging section and enter in ..\..\..\Game as the Working Directory.

      -Rez