Source SDK

Source SDK

Setting up Source SDK 2013
I've reached Step 3 of the [link=https://developer.valvesoftware.com/wiki/Source_SDK_2013#Setting_up_on_Steam]Source SDK setup[/link] and are building the solution, but I get an LNK1181 error, saying that "cannot open input file '..\sapi15\lib\i386\sapi.lib'", is there a fix to this?

Also, how exactly would I launch the SDK after compiling it all?
< >
Showing 1-6 of 6 comments
Lychy Aug 20, 2020 @ 5:36am 
Originally posted by Unfunny Loser:
Also, how exactly would I launch the SDK after compiling it all?
There will be a new game on steam called 'My First HL2 Mod' by default, you need the Source SDK 2013 Singleplayer on the same drive as your mod
Sawmp monster Aug 20, 2020 @ 8:46am 
Originally posted by Lychy:
You need to properly follow these steps https://developer.valvesoftware.com/wiki/Source_SDK_2013#Step_Two:_Installing_the_Microsoft_Speech_SDK
I already installed the Speech SDK, on the same drive, (x86) directory. Checking the files, sapi.lib is in the Speech SDK, but just not in the directory that Visual Studio is asking for.

It's under Microsoft Speech SDK 5.1\lib\i386 but Lib is supposed to be in another, non-existent folder, Sapi15
Last edited by Sawmp monster; Aug 20, 2020 @ 8:48am
Lychy Aug 20, 2020 @ 10:35am 
Originally posted by Unfunny Loser:
Originally posted by Lychy:
You need to properly follow these steps https://developer.valvesoftware.com/wiki/Source_SDK_2013#Step_Two:_Installing_the_Microsoft_Speech_SDK
I already installed the Speech SDK, on the same drive, (x86) directory. Checking the files, sapi.lib is in the Speech SDK, but just not in the directory that Visual Studio is asking for.

It's under Microsoft Speech SDK 5.1\lib\i386 but Lib is supposed to be in another, non-existent folder, Sapi15
Copy C:\Program Files (x86)\Microsoft Speech SDK 5.1 to <SDKROOT>\sp\src\utils folder or <SDKROOT>\mp\src\utils folder depending on your mod.
Make sure that your directory looks like this : \sp\src\utils\sapi51 then should contain Bin Docs IDL etc. And not like this : \sp\src\utils\Microsoft Speech SDK 5.1\sapi51. If it's like the latter it will throw up error code 1 on compile.
Sawmp monster Aug 20, 2020 @ 11:43am 
Originally posted by Lychy:
Originally posted by Unfunny Loser:
I already installed the Speech SDK, on the same drive, (x86) directory. Checking the files, sapi.lib is in the Speech SDK, but just not in the directory that Visual Studio is asking for.

It's under Microsoft Speech SDK 5.1\lib\i386 but Lib is supposed to be in another, non-existent folder, Sapi15

Copy C:\Program Files (x86)\Microsoft Speech SDK 5.1 to <SDKROOT>\sp\src\utils folder or <SDKROOT>\mp\src\utils folder depending on your mod.
Make sure that your directory looks like this : \sp\src\utils\sapi51 then should contain Bin Docs IDL etc. And not like this : \sp\src\utils\Microsoft Speech SDK 5.1\sapi51. If it's like the latter it will throw up error code 1 on compile.
Now upon building, I get a unresolved external error, for phonemeextractor.obj, which is in the utils folder.

Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol _IID_ISpPhoneticAlphabetSelection Phonemeextractor <Git Directory>\source-sdk-2013\sp\src\utils\phonemeextractor\phonemeextractor.obj 1
Last edited by Sawmp monster; Aug 20, 2020 @ 11:43am
Sawmp monster Aug 20, 2020 @ 3:47pm 
Sorry for the formatting issues on the last comment, can't seem to fix it even though it doesn't have the quote formatters

I deleted the Phonemeextractor.obj file because when I opened it with 3D object viewer, it wasn't able to load a model. If it is necessary to do anything, I'll just restore it from my recycling bin.

Also, I just want to say thanks for helping me out, it's been super useful.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Aug 19, 2020 @ 7:05pm
Posts: 6