open-dis-cpp icon indicating copy to clipboard operation
open-dis-cpp copied to clipboard

Add open-dis-cpp to vcpkg

Open leonardooyama opened this issue 3 years ago • 2 comments

What about including the port of open-dis-cpp tp vcpkg (https://github.com/microsoft/vcpkg#contributing)?

leonardooyama avatar Sep 15 '21 12:09 leonardooyama

@leonardooyama I like this idea a lot but I don't yet know how much effort it'll be. Have you experience?

leif81 avatar Nov 18 '21 21:11 leif81

Will learn about it.

leonardooyama avatar Dec 07 '21 12:12 leonardooyama

I'm also interested in getting open-dis submitted to the Conan Center repository as well. I've got contributor permissions there and hope to get it integrated, but they require access to immutable source code packages. Could also look into vcpkg. Both would require creating a tagged release version on github to reference. See #75 . I have my own selfish purposes for this, but I think this would also open up potential wider use of open-dis.

wadehunk avatar Feb 02 '23 13:02 wadehunk

@wadehunk I think this is a good idea. Is there anything special we need to do to do to the code base to prepare or is all we need a tagged release tarball? e.g. open-dis-cpp-1.0.0.tar.gz

leif81 avatar Feb 02 '23 14:02 leif81

@leif81 I've got a draft conan recipe that I can get submitted to the Conan Center repository, just need a tagged release. I'm less familiar with vcpkg, but I'm pretty sure it's a very similar process.

wadehunk avatar Feb 02 '23 17:02 wadehunk

Nop. I am only a OpenDIS and vcpkg user. I don't have much expertise in CMAKE, which I believe is required for including a project in vcpkg.

On Thu, Nov 18, 2021, 18:42 Leif Gruenwoldt @.***> wrote:

@leonardooyama https://github.com/leonardooyama I like this idea a lot but I don't yet know how much effort it'll be. Have you experience?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/open-dis/open-dis-cpp/issues/63#issuecomment-973295479, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRUXNBX72LNQ2S46IHWKE3UMVXL5ANCNFSM5ECJCYYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

leonardooyama avatar Feb 03 '23 13:02 leonardooyama

Looked into creating a vcpkg port and it actually looks easier than conan. I will get one submitted as soon as there is a release.

wadehunk avatar Feb 03 '23 16:02 wadehunk

I've created a separate issue to track publishing a conan package #77

Am thinking that based on interest we can publish as a vcpkg or conan or both.

leif81 avatar Feb 04 '23 17:02 leif81

VCPkg PR: microsoft/vcpkg#29472 Once a release is tagged, can update and mark as ready.

wadehunk avatar Feb 06 '23 14:02 wadehunk

@wadehunk I've tagged a v1.0.0 release

leif81 avatar Feb 07 '23 03:02 leif81

Woops I guess we'll need a 1.0.1 release. ref #78. No biggie, give me a few minutes.

leif81 avatar Feb 07 '23 03:02 leif81

@wadehunk I've tagged a new release v1.0.1 that includes #78 . Over to you

leif81 avatar Feb 07 '23 03:02 leif81

These are great news! Thank you so much!

On Tue, Feb 7, 2023, 00:49 Leif Gruenwoldt @.***> wrote:

@wadehunk https://github.com/wadehunk I've tagged a new release v1.0.1 that includes #78 https://github.com/open-dis/open-dis-cpp/pull/78 . Over to you

— Reply to this email directly, view it on GitHub https://github.com/open-dis/open-dis-cpp/issues/63#issuecomment-1420159125, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADRUXNCS7MIVTASPTYV6OCTWWHA55ANCNFSM5ECJCYYA . You are receiving this because you were mentioned.Message ID: @.***>

leonardooyama avatar Feb 07 '23 04:02 leonardooyama

PR microsoft/vcpkg#29472 has been merged! open-dis-cpp should be available via VCPkg as soon as it propagates through the CDN.

wadehunk avatar Feb 08 '23 22:02 wadehunk

@wadehunk I could be looking in the wrong spot but have you seen the open-dis-cpp appear in vcpkg yet? When I query for it I don't see it yet. https://vcpkg.io/en/packages.html

leif81 avatar Mar 08 '23 21:03 leif81

@leif81 That index must not get updated often. Seems like it has listed 2022 total packages for a while now. The latest release notes open-dis-cpp as 1 of 47 new ports added: https://github.com/microsoft/vcpkg/releases/tag/2023.02.24

Maybe it will eventually show up there.

wadehunk avatar Mar 08 '23 22:03 wadehunk

If you clone the vcpkg project to your PC, you have to run the bootstrap-vcpkg.bat using cmd or PowerShell. After this, you just have to run "vcpkg install open-dis-cpp:x64-windows". If you want to export the library to use into other environments, like I do with Qt Creator, just run "vcpkg export open-dis-cpp --zip". It will generate a zip file with your library compiled. The good thing about this is that you can easily generate your binaries with your compiler version. Let's say, you can be using either VS 2019 or VS 2022. You will get all binaries and dependencies ready to use. Other good libraries are in vcpkg as well, such as GDAL and GeographicLib (good library to convert to/from MGRS and lat/long and calculate geodesic lines).

leonardooyama avatar Mar 11 '23 23:03 leonardooyama

Open-Dis-Cpp is officially into vcpkg. Thanks!

leonardooyama avatar Mar 11 '23 23:03 leonardooyama