From bc225622bcc965bb7fb11b7b7408687b1d1ad68d Mon Sep 17 00:00:00 2001 From: Jeffreytsai1004 Date: Sat, 22 Feb 2025 02:04:00 +0800 Subject: [PATCH] Update install.bat --- install.bat | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/install.bat b/install.bat index 73ef181..0d8f7da 100644 --- a/install.bat +++ b/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%