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

I can't seem to be able to compile the server

Open GrubPL opened this issue 9 months ago • 16 comments

hey so i just tried to compile the new code, and the server for both tf2 and hl2dm seems to fail with an "Custom build for 'spawn_helper.nut;vscript_server.nut' exited with code 9009." error, and im just gonna admit it i'm pretty dumb, and i have no idea why this error even happens, but it does for some reason

GrubPL avatar Feb 18 '25 22:02 GrubPL

I'm getting the same issue.

Build errors

Custom build for 'spawn_helper.nut;vscript_server.nut' exited with code 9009.
Custom build for '..\..\game\shared\base_gcmessages.proto;..\..\game\shared\econ\econ_gcmessages.proto;..\..\gcsdk\steammessages.proto;..\..\game\shared\tf\tf_gcmessages.proto;..\..\game\shared\tf\tf_proto_def_messages.proto;spawn_helper.nut;vscript_server.nut' exited with code 9009.

Image

Windows SDK Version

Windows 11 SDK (10.0.22621.0)

Visual Studio System Info

Microsoft Visual Studio Community 2022 Version 17.13.0 VisualStudio.17.Release/17.13.0+35806.99 Microsoft .NET Framework Version 4.8.09032

Installed Version: Community

Visual C++ 2022 00482-90000-00000-AA342 Microsoft Visual C++ 2022

ASP.NET and Web Tools 17.13.124.35287 ASP.NET and Web Tools

Azure App Service Tools v3.0.0 17.13.124.35287 Azure App Service Tools v3.0.0

C# Tools 4.13.0-3.25105.4+400efa2d94b217101a0ca61e84a3812fdc2fec52 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

GitHub Copilot 17.13.430.18484 GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager 6.13.1 NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

Test Adapter for Boost.Test 1.0 Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.

Test Adapter for Google Test 1.0 Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.

TypeScript Tools 17.0.31211.2001 TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools 4.13.0-3.25105.4+400efa2d94b217101a0ca61e84a3812fdc2fec52 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual Studio IntelliCode 2.2 AI-assisted development for Visual Studio.

theaswanson avatar Feb 18 '25 23:02 theaswanson

bumping this as well as I can't get it to build either. using latest Win10 SDK

NepJr avatar Feb 19 '25 04:02 NepJr

found the fix, install python, clean the solution, then rebuild

NepJr avatar Feb 19 '25 05:02 NepJr

I've been trying to get this to work for the past 3 hours and it still is having the same issue, I'm on visual studio community 2022 and have installed python and cleaned the solution multiple times but it always gives the same error

Drgregs-Marcus avatar Feb 19 '25 09:02 Drgregs-Marcus

make sure python is in your path

NepJr avatar Feb 19 '25 10:02 NepJr

what path? and how do I get python there? BTW by installed python I meant I installed python from the python website,

Drgregs-Marcus avatar Feb 19 '25 10:02 Drgregs-Marcus

Edit the PATH in the system environment variables to include the directory where python.exe resides

NepJr avatar Feb 19 '25 10:02 NepJr

I don't know how to do that and couldn't find anything online on how to do it either, could you maybe type up a simple tutorial real quick?

Drgregs-Marcus avatar Feb 19 '25 11:02 Drgregs-Marcus

Image

NepJr avatar Feb 19 '25 11:02 NepJr

like this?

Image

Drgregs-Marcus avatar Feb 19 '25 11:02 Drgregs-Marcus

I went into edit the system env variables > env variables > path> edit > new then pasted the directory of where python.exe was located

Image

Drgregs-Marcus avatar Feb 19 '25 11:02 Drgregs-Marcus

yes

NepJr avatar Feb 19 '25 11:02 NepJr

btw if you run the python installer it has an option to add itself to PATH for you

wgetJane avatar Feb 19 '25 11:02 wgetJane

Imagebruh

Drgregs-Marcus avatar Feb 19 '25 17:02 Drgregs-Marcus

holy fuck I'm dumb, This exits with a different code and it's a different error.

Drgregs-Marcus avatar Feb 19 '25 17:02 Drgregs-Marcus

Imagebruh

try cleaning your solution and make sure python is in PATH

wgetJane avatar Feb 19 '25 21:02 wgetJane

I'm also experiencing this, I'm on Windows 10

Image

kopas2 avatar Feb 22 '25 13:02 kopas2

Again, #635

NepJr avatar Feb 22 '25 14:02 NepJr

Okay, thank you

kopas2 avatar Feb 22 '25 14:02 kopas2

Although, now it's giving me errors from memoverride.cpp on line 278, I've seen another user that had this problem so I will do their solution.

kopas2 avatar Feb 22 '25 14:02 kopas2

Nevermind, I installed Latest Windows 10 SDK and Windows 11 SDK and it went away.

kopas2 avatar Feb 22 '25 15:02 kopas2