Skip to content

Commit

Permalink
Install Visual C++ 2008 SP1 Redistributables
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jakirkham committed Jan 3, 2018
1 parent 3141e69 commit 9c06135
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions recipes/vs2008_runtime/bld.bat
Original file line number Diff line number Diff line change
@@ -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%" ^
Expand Down

0 comments on commit 9c06135

Please sign in to comment.