From 7658eea9c2035f2c73d928f27f061bdb17cc2ac9 Mon Sep 17 00:00:00 2001 From: Francisco Ramirez de Anton Date: Thu, 25 Apr 2024 13:22:22 +0200 Subject: [PATCH 1/2] Added Conan set-up steps --- doc/quickstart/cpp.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/quickstart/cpp.md b/doc/quickstart/cpp.md index 1840223db06..cd19825cda3 100644 --- a/doc/quickstart/cpp.md +++ b/doc/quickstart/cpp.md @@ -58,6 +58,20 @@ cd vcpkg If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. +## Installing mlpack from Conan + +The mlpack recipe in [Conan](https://conan.io/) is kept up to date by the Conan team members and the community contributors. + +Follow the instructions on [this page on how to set up Conan](https://conan.io/downloads). + +Install mlpack: + +```shell +conan install --requires=mlpack/4.3.0 --build=missing +``` + +If the version is outdated or there is a new release version, please [create an issue or pull request](https://github.com/conan-io/conan-center-index) on the conan-center-index repository. + ## Simple quickstart example As a really simple example of how to use mlpack in C++, let's do some simple From eefdb0e2d0c1ba4c5ad514cd806d7c07111b379f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Ram=C3=ADrez?= Date: Thu, 25 Apr 2024 15:58:51 +0200 Subject: [PATCH 2/2] Update doc/quickstart/cpp.md --- doc/quickstart/cpp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/quickstart/cpp.md b/doc/quickstart/cpp.md index cd19825cda3..6abb536eec3 100644 --- a/doc/quickstart/cpp.md +++ b/doc/quickstart/cpp.md @@ -67,7 +67,7 @@ Follow the instructions on [this page on how to set up Conan](https://conan.io/d Install mlpack: ```shell -conan install --requires=mlpack/4.3.0 --build=missing +conan install --requires="mlpack/[*]" --build=missing ``` If the version is outdated or there is a new release version, please [create an issue or pull request](https://github.com/conan-io/conan-center-index) on the conan-center-index repository.