source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

Failure to build if .ccache folder does not exist

Open sinsandrocks18 opened this issue 10 months ago • 3 comments

Hi, I noticed whilst trying to compile Source SDK 2013 for testing, the build script depends on ccache, it would be nice if the readme for the linux portion displays all of the dependencies for compilation outside of the steam tools

sinsandrocks18 avatar Feb 18 '25 23:02 sinsandrocks18

Correction: its the dir .ccache, i should probably make this its own issue, but making the .ccache dir fixes it

sinsandrocks18 avatar Feb 18 '25 23:02 sinsandrocks18

Okay After Doing some digging to what's causing this, this is caused by the sdk_container script not having a check if the .ccache folder existing, resulting in a no such directory error, apologies if my issue report wasn't initially descriptive.

sinsandrocks18 avatar Feb 19 '25 00:02 sinsandrocks18

You can set a custom dir with export CCACHE_DIR=/loc/to/ccache.

Xinayder avatar Feb 19 '25 01:02 Xinayder

For anyone else running into this issue, the following PR fixes this issue: https://github.com/ValveSoftware/source-sdk-2013/pull/645

CuriousTommy avatar Mar 08 '25 16:03 CuriousTommy