Update install.bat
This commit is contained in:
parent
c49c0d09df
commit
bc225622bc
26
install.bat
26
install.bat
@ -21,34 +21,52 @@ if %ERRORLEVEL% neq 0 (
|
||||
echo 错误: 未找到Python
|
||||
exit /b 1
|
||||
)
|
||||
else (
|
||||
echo Python 已安装
|
||||
)
|
||||
|
||||
where nvcc >nul 2>&1
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo 错误: 未找到CUDA工具包
|
||||
exit /b 1
|
||||
)
|
||||
else (
|
||||
echo CUDA 工具包已安装
|
||||
)
|
||||
|
||||
nvcc --version | findstr "release 11.8" >nul 2>&1
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo 错误: 需要CUDA 11.8版本
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "%BLENDER_DIR%" (
|
||||
echo 错误: 未找到Blender 3.6
|
||||
exit /b 1
|
||||
else (
|
||||
echo CUDA 11.8 已安装
|
||||
)
|
||||
|
||||
if not exist "%VS_DIR%" (
|
||||
echo 错误: 未找到Visual Studio
|
||||
exit /b 1
|
||||
)
|
||||
else (
|
||||
echo Visual Studio 已安装
|
||||
)
|
||||
|
||||
where git >nul 2>&1
|
||||
if %ERRORLEVEL% neq 0 (
|
||||
echo 错误: 未找到 Git
|
||||
exit /b 1
|
||||
)
|
||||
else (
|
||||
echo Git 已安装
|
||||
)
|
||||
|
||||
if not exist "%BLENDER_DIR%" (
|
||||
echo 错误: 未找到Blender 3.6
|
||||
exit /b 1
|
||||
)
|
||||
else (
|
||||
echo Blender 3.6 已安装
|
||||
)
|
||||
|
||||
REM Create gaussian_splatting_hair environment
|
||||
@CALL cd %PROJECT_DIR%
|
||||
|
Loading…
Reference in New Issue
Block a user