Skip to content

Commit

Permalink
docs: vcpkg build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankXie05 authored and strasdat committed Jun 11, 2024
1 parent 638f8f1 commit fd6191c
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ However, next incarnations of Sophus are under development:



How to build Sophus
-------------------
How to build Sophus from source
-------------------------------

Sophus requires a C++17 compiler (though older versions build with C++14).

Expand All @@ -76,3 +76,20 @@ currently no CI for Windows, so it might require some smaller patches to build o
There are no comprehensive build instructions but inspecting the install [scripts](scripts/)
as well as the [main.yml](.github/workflows/main.yml) file should give you a good idea how to
build the required dependencies.

Installing Sophus through vcpkg
-------------------------------

You can build and install Sophus using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager::

```
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install sophus
```

The Sophus port in vcpkg is kept up to date by Microsoft team members and community contributors.
If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg)
on the vcpkg repository.

0 comments on commit fd6191c

Please sign in to comment.