From 9c061351b85bf917c9870b5851168368a5075d6f Mon Sep 17 00:00:00 2001 From: John Kirkham Date: Wed, 3 Jan 2018 10:58:12 -0500 Subject: [PATCH] Install Visual C++ 2008 SP1 Redistributables These should hopefully have the missing `vcomp90` library in them. So add this hack to `bld.bat` temporarily to see if this fixes the issue. --- recipes/vs2008_runtime/bld.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/recipes/vs2008_runtime/bld.bat b/recipes/vs2008_runtime/bld.bat index 7cf67a9babd70..980a63a7e57ee 100644 --- a/recipes/vs2008_runtime/bld.bat +++ b/recipes/vs2008_runtime/bld.bat @@ -1,3 +1,13 @@ +powershell -Command "(New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/d/d/9/dd9a82d0-52ef-40db-8dab-795376989c03/vcredist_x86.exe', 'vcredist_x86.exe')" +if errorlevel 1 exit 1 +powershell -Command "(New-Object Net.WebClient).DownloadFile('https://download.microsoft.com/download/2/d/6/2d61c766-107b-409d-8fba-c39e61ca08e8/vcredist_x64.exe', 'vcredist_x64.exe')" +if errorlevel 1 exit 1 + +vcredist_x86.exe /qb! +if errorlevel 1 exit 1 +vcredist_x64.exe /qb! +if errorlevel 1 exit 1 + for %%F in ("." "bin") do ( cmake -G "%CMAKE_GENERATOR%" ^ -DCMAKE_INSTALL_PREFIX:PATH="%LIBRARY_PREFIX%" ^