ValveSoftware / source-sdk-2013

The 2013 edition of the Source SDK
https://developer.valvesoftware.com/wiki/SDK2013_GettingStarted
Other
3.69k stars 1.99k forks source link

Problem With caption compiler.exe #489

Closed Aperagit closed 4 years ago

Aperagit commented 4 years ago
Error   1   error MSB3073: The command "copy "I:\Projects\amorphous\sp\src\utils\captioncompiler\Debug\"captioncompiler.exe ..\..\..\game\bin\.\captioncompiler.exe >nul
if ERRORLEVEL 1 goto BuildEventFailed
if exist "I:\Projects\amorphous\sp\src\utils\captioncompiler\Debug\"captioncompiler.map copy "I:\Projects\amorphous\sp\src\utils\captioncompiler\Debug\"captioncompiler.map ..\..\..\game\bin\.\captioncompiler.map >nul
copy "I:\Projects\amorphous\sp\src\utils\captioncompiler\Debug\"captioncompiler.pdb ..\..\..\game\bin\.\captioncompiler.pdb >nul
if ERRORLEVEL 1 goto BuildEventFailed
goto BuildEventOK
:BuildEventFailed
echo *** ERROR! PostBuildStep FAILED for Captioncompiler! EXE or DLL is probably running. ***
del /q "I:\Projects\amorphous\sp\src\utils\captioncompiler\Debug\"captioncompiler.exe
exit 1
:BuildEventOK

:VCEnd" exited with code 1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets  132 5   Captioncompiler

Any ideas?

BerntA commented 4 years ago

Did you set the right encoding on the text file you tried to compile? (little endian)

Aperagit commented 4 years ago

No, I don't think so. how would I? I am very new to making source mods

Yetoo1 commented 4 years ago

Did you compile games.sln while not in debug mode before everything.sln while not in debug mode and copied the modified Microsoft speech api to the /src/utils? If you didn't find the tutorial already, try following this guide: https://steamcommunity.com/sharedfiles/filedetails/?id=1471028432

Aperagit commented 4 years ago

That worked thanks!