[x265] [PATCH] Fix Visual Studio version check

indumathi at multicorewareinc.com indumathi at multicorewareinc.com
Fri Nov 10 12:31:36 CET 2017


# HG changeset patch
# User indumathi at multicorewareinc.com
# Date 1510215603 -19800
#      Thu Nov 09 13:50:03 2017 +0530
# Node ID 165a46c3e0bef164c01b9e348c8bc2704f9c9285
# Parent  bd438ce108435deb4f0063fca9a9e14a75e8de38
Fix Visual Studio version check

diff -r bd438ce10843 -r 165a46c3e0be build/vc15-x86/build-all.bat
--- a/build/vc15-x86/build-all.bat	Wed Nov 08 16:18:29 2017 +0530
+++ b/build/vc15-x86/build-all.bat	Thu Nov 09 13:50:03 2017 +0530
@@ -1,5 +1,5 @@
 @echo off
-if "%VS120COMNTOOLS%" == "" (
+if "%VS150COMNTOOLS%" == "" (
   msg "%username%" "Visual Studio 15 not detected"
   exit 1
 )
@@ -7,7 +7,7 @@
   call make-solutions.bat
 )
 if exist x265.sln (
-  call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat"
+  call "%VS150COMNTOOLS%\..\..\VC\vcvarsall.bat"
   MSBuild /property:Configuration="Release" x265.sln
   MSBuild /property:Configuration="Debug" x265.sln
   MSBuild /property:Configuration="RelWithDebInfo" x265.sln
diff -r bd438ce10843 -r 165a46c3e0be build/vc15-x86_64/build-all.bat
--- a/build/vc15-x86_64/build-all.bat	Wed Nov 08 16:18:29 2017 +0530
+++ b/build/vc15-x86_64/build-all.bat	Thu Nov 09 13:50:03 2017 +0530
@@ -1,5 +1,5 @@
 @echo off
-if "%VS120COMNTOOLS%" == "" (
+if "%VS150COMNTOOLS%" == "" (
   msg "%username%" "Visual Studio 15 not detected"
   exit 1
 )
@@ -7,7 +7,7 @@
   call make-solutions.bat
 )
 if exist x265.sln (
-  call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat"
+  call "%VS150COMNTOOLS%\..\..\VC\vcvarsall.bat"
   MSBuild /property:Configuration="Release" x265.sln
   MSBuild /property:Configuration="Debug" x265.sln
   MSBuild /property:Configuration="RelWithDebInfo" x265.sln
diff -r bd438ce10843 -r 165a46c3e0be build/vc15-x86_64/multilib.bat
--- a/build/vc15-x86_64/multilib.bat	Wed Nov 08 16:18:29 2017 +0530
+++ b/build/vc15-x86_64/multilib.bat	Thu Nov 09 13:50:03 2017 +0530
@@ -1,10 +1,10 @@
 @echo off
-if "%VS120COMNTOOLS%" == "" (
+if "%VS150COMNTOOLS%" == "" (
   msg "%username%" "Visual Studio 15 not detected"
   exit 1
 )
 
-call "%VS120COMNTOOLS%\..\..\VC\vcvarsall.bat"
+call "%VS150COMNTOOLS%\..\..\VC\vcvarsall.bat"
 
 @mkdir 12bit
 @mkdir 10bit


More information about the x265-devel mailing list