Changing OpenCV library source (for some reason dropbox is not linking directly to the x64 dll's)

This commit is contained in:
Tadas Baltrusaitis
2019-07-03 20:54:26 +01:00
parent 5f1f91b4ad
commit c71c8d4d78

View File

@@ -30,11 +30,11 @@ if(!(Test-Path $out_dir))
New-Item -ItemType directory -Path $out_dir
}
if(!([System.IO.File]::Exists( (Join-Path (Get-Location) $destination) )))
{
$source = "https://www.dropbox.com/s/c81shi8br57xytv/opencv_world410.dll?dl=1"
Invoke-WebRequest $source -OutFile $destination
}
#if(!([System.IO.File]::Exists( (Join-Path (Get-Location) $destination) )))
#{
# $source = "https://www.dropbox.com/s/c81shi8br57xytv/opencv_world410.dll?dl=1"
# Invoke-WebRequest $source -OutFile $destination
#}
if(!([System.IO.File]::Exists( (Join-Path (Get-Location) $destination) )))
{
@@ -51,11 +51,11 @@ if(!(Test-Path $out_dir))
New-Item -ItemType directory -Path $out_dir
}
if(!([System.IO.File]::Exists( (Join-Path (Get-Location) $destination) )))
{
$source = "https://www.dropbox.com/s/8a4kmvpj5a09jdz/opencv_world410d.dll?dl=1"
Invoke-WebRequest $source -OutFile $destination
}
#if(!([System.IO.File]::Exists( (Join-Path (Get-Location) $destination) )))
#{
# $source = "https://www.dropbox.com/s/8a4kmvpj5a09jdz/opencv_world410d.dll?dl=1"
# Invoke-WebRequest $source -OutFile $destination
#}
if(!([System.IO.File]::Exists( (Join-Path (Get-Location) $destination) )))
{