PointCloudLibrary / PointCloudLibrary.github.io

Point Cloud Library's website
https://pointcloudlibrary.github.io/
BSD 3-Clause "New" or "Revised" License
16 stars 12 forks source link

Add vcpkg installation instructions #4

Closed NancyLi1013 closed 4 years ago

NancyLi1013 commented 4 years ago

pclis available as a port in vcpkg, a C++ library manager that simplifies installation for pcland other project dependencies. Documenting the install process here will help users get started by providing a single set of commands to build pcl, ready to be included in their projects.

We also test whether our library ports build in various configurations (dynamic, static) on various platforms (OSX, Linux, Windows: x86, x64,arm,uwp) to keep a wide coverage for users.

I'm a maintainer for vcpkg, and here is what the port script looks like. We try to keep the library maintained as close as possible to the original library.

I'm trying to add vcpkg installation instructions but I couldn't find the related docs in code item. It seems like the compiling tutorials were mentioned here.

Could you please help add the following contents to this port?

Installing and building pcl via vcpkg

You can download and install pcl using the [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 pcl

The pcl 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.

Thanks, Nancy

kunaltyagi commented 4 years ago

Thanks @NancyLi1013 (and the vcpkg team)

taketwo commented 4 years ago

Thanks!

Could you please help add the following contents to this port?

I'm a bit confused though, where and who should add this?

kunaltyagi commented 4 years ago

I think: we should add vcpkg in the installation instructions, as an alternative to "from source" and "installers".

stale[bot] commented 4 years ago

Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs.

NancyLi1013 commented 4 years ago

Could someone help add the installation instructions?

Thanks in advance, Nancy

SergioRAgostinho commented 4 years ago

Here's a staged version of the download instructions we're setting up on our website. The first 4 lines of your installation instructions refer to setting up vcpkg so I did not include it.

The PR with this addition to the downloads page can be found here. You can suggest changes there.

NancyLi1013 commented 4 years ago

@taketwo and @SergioRAgostinho

Thanks for your help. I have checked the instructions you mentioned above. I agreed with you about the changes. As for the parts of vcpkg, users can find them in vcpkg site.

Thanks again for your time.