Giter VIP home page Giter VIP logo

robotology-superbuild-dependencies-vcpkg's Introduction

robotology-superbuild-dependencies

Windows binaries for the dependencies of robotology-superbuild .

The following libraries (and their dependencies) are built using vcpkg:

  • ace
  • asio
  • boost-asio
  • boost-process
  • boost-dll
  • boost-filesystem
  • boost-system
  • freeglut
  • gsl
  • eigen3
  • ode
  • libxml2
  • eigen3
  • opencv
  • matio
  • sdl1
  • sdl2
  • qt5-base[latest]
  • qt5-declarative
  • qt5-multimedia
  • qt5-quickcontrols
  • qt5-quickcontrols2
  • sqlite3[core,tool]

furthermore, the ipopt-binary and the esdcan-binary from robotology-vcpkg-binary-ports is also installed.

The binaries are generated by installing vcpkg in C:/robotology/vcpkg, installing the selected ports, and compressing the C:/robotology directory in a .zip archive.

See releases to download the archives.

Usage

To use the archive, you just need to donwload it and extract it in the C:/ directory.

To use then vcpkg libraries, you need to configure your CMake projects to use the vcpkg's toolchain as CMAKE_TOOLCHAIN_FILE, for example by configuring the projects as:

cmake -A x64 -DCMAKE_TOOLCHAIN_FILE=C:/robotology/vcpkg/scripts/buildsystems/vcpkg.cmake ..

See vcpkg's documentation for more info on how to use vcpkg-installed libraries.

Install or remove ports

You can install or remove ports from the vcpkg installation in C:/robotology/vcpkg as you do for any other vcpkg installation.

However, as this vcpkg installation contains some ports installed from the custom port repo contained in C:/robotology/vcpkg, due to a regression in vcpkg (see microsoft/vcpkg#10119) you need to pass the --overlay-ports=C:/robotology/vcpkg/robotology-vcpkg-binary-ports argument whenever you use vcpkg.

For example, to install a new port called <portname> the correct command is:

./vcpkg.exe install --overlay-ports=C:/robotology/vcpkg/robotology-vcpkg-binary-ports <portname>:x64-windows

GitHub Actions

To use the script in a GitHub Action script, you can use the following snippet:

    - name: Dependencies [Windows]
      if: matrix.os == 'windows-latest'
      run: |
        # To avoid spending a huge time compiling vcpkg dependencies, we download an archive  
        # that comes precompiled with all the ports that we need 
        choco install -y wget unzip
        # To avoid problems with non-relocatable packages, we unzip the archive exactly in the same directory
        # that has been used to create the pre-compiled archive
        cd C:/
        wget https://github.com/robotology/robotology-superbuild-dependencies-vcpkg/releases/download/<INSERT_HERE_THE_USED_VERSION>/vcpkg-robotology.zip
        unzip vcpkg-robotology.zip -d C:/
        rm vcpkg-robotology.zip

robotology-superbuild-dependencies-vcpkg's People

Contributors

traversaro avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.