forked from BerkeleyAutomation/python-fcl
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall_windows_ci.ps1
More file actions
29 lines (22 loc) · 823 Bytes
/
Copy pathinstall_windows_ci.ps1
File metadata and controls
29 lines (22 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<#
This script install precompiled dependencies to build python-fcl on Windows:
* fcl
* libccd
* eigen
* octomap
#>
# Remember starting location for future usage
$base_dir = Get-Location
# Binaries folder
$install_dir = "$base_dir\deps\install"
$file_name = "PrecompiledDependenciesWindows.zip"
Invoke-WebRequest -Uri "https://github.com/CyrilWaechter/python-fcl/releases/download/v0.6.1/$file_name" -Outfile $file_name
Expand-Archive $file_name -DestinationPath deps
# ------------------------------------------------------------------------------
# Python-FCL
Write-Host "Copying dependent DLLs"
Copy-Item $install_dir\bin\octomap.dll $base_dir\src\fcl
Copy-Item $install_dir\bin\octomath.dll $base_dir\src\fcl
Copy-Item $install_dir\bin\ccd.dll $base_dir\src\fcl
Set-Location $base_dir
Write-Host "All done!"