Updated Windows build to opencv-3.2.0

This commit is contained in:
thunder2 2017-03-02 06:52:18 +01:00
parent ff5f3df1ac
commit 1eb22f88a9
4 changed files with 16 additions and 10 deletions

View file

@ -8,7 +8,14 @@ if errorlevel 1 goto error_env
set EnvMSYSPath=%EnvRootPath%\msys
call "%~dp0tools\prepare-msys.bat" %1
exit /B %ERRORLEVEL%
if errorlevel 1 exit /B %ERRORLEVEL%
set EnvMSYSSH=%EnvMSYSPath%\msys\1.0\bin\sh.exe
if not exist "%EnvMSYSSH%" if errorlevel 1 goto error_env
set EnvMSYSCmd="%EnvMSYSSH%" --login -i -c
exit /B 0
:error_env
echo Failed to initialize environment.