openpose / 3rdparty /windows /getFreeglut.bat
camenduru's picture
thanks to openpose ❤
f5bb0c0
raw
history blame contribute delete
612 Bytes
:: Avoid printing all the comments in the Windows cmd
@echo off
SET UNZIP_EXE=unzip\unzip.exe
SET WGET_EXE=wget\wget.exe
:: Download temporary zip
echo ----- Downloading Caffe -----
SET FREEGLUT_FOLDER=freeglut\
SET ZIP_NAME=freeglut_2018_01_14.zip
SET ZIP_FULL_PATH=%FREEGLUT_FOLDER%%ZIP_NAME%
%WGET_EXE% -c http://posefs1.perception.cs.cmu.edu/OpenPose/3rdparty/windows/%ZIP_NAME% -P %FREEGLUT_FOLDER%
echo:
echo ----- Unzipping Caffe -----
%UNZIP_EXE% %ZIP_FULL_PATH%
echo:
echo ----- Deleting Temporary Zip File %ZIP_FULL_PATH% -----
del "%ZIP_FULL_PATH%"
echo ----- Caffe Downloaded and Unzipped -----