Torque 3D Beta 1 Bug: compile.bat doesnt like sln names with spaces
by Fyodor -bank- Osokin · in Torque 3D Professional · 05/05/2009 (1:52 pm) · 3 replies
If trying to start compile.bat in "FTP Genre Kit" (or any project with space in name) getting following error:
Fix is easy in compile.bat change the line 46 -- put in quotes the "%%a" like so (second and third):
Quote:The problem is, it's passing the name of solution without quotes, so the name is parsed like separate parameters.
vcbuild.exe : warning VCBLD6002: invalid option Kit.sln specified. The option was ignored.
vcbuild.exe : warning VCBLD6002: invalid option Release|Win32 specified. The option was ignored.
Error: project file 'FPS' was not found or not a valid project file.
Project file 'FPS' could not be loaded.
The project is either missing from disk or access was denied.
Fix is easy in compile.bat change the line 46 -- put in quotes the "%%a" like so (second and third):
for %%a in (*.sln) do %BUILDCMD% "%%a" %OPTIONS% & IF ERRORLEVEL 1 goto error_compile & %BUILDCMD% "%%a" %OPTIONS% & IF ERRORLEVEL 1 goto error_compile
About the author
Game developer.
Torque 3D Owner Kenneth Holst
Default Studio Name