Giter Site home page Giter Site logo

FYI: vcpkg about comms HOT 20 OPEN

commschamp avatar commschamp commented on July 19, 2024
FYI: vcpkg

from comms.

Comments (20)

arobenko avatar arobenko commented on July 19, 2024 1

Also if you feel like contributing more, and you have some other open standard binary protocol that you are using in the commercial environment you can try to create the relevant cc.X.commsdsl and cc.X.generated projects yourself. Then we can put them inside the CommsChampion Ecosystem github organization. I'll assign you as owner/maintainer of these projects.

from comms.

mathisloge avatar mathisloge commented on July 19, 2024 1

oh just saw, that new releases just came out. :D
Will update to the new ones.

from comms.

arobenko avatar arobenko commented on July 19, 2024 1

Hi @mathisloge,
Just want to let you know that v5.0 of the comms library as well as commsdsl code generators is out. Their main purpose was to support ASN.1 encodings (requested here). The ublox project also was released requiring dslVersion="5".

from comms.

arobenko avatar arobenko commented on July 19, 2024

Hi Mathis,
Thanks for letting me know.
I've taken a quick look inside your pull requests and I think you missed "-D" prefix to some of the options:

vcpkg_configure_cmake(
        ...
        -OPT_NO_COMMS=ON
        -OPT_EXTERNALS_UPDATE_DISCONNECTED=ON
)

Also not that I finally started working on ublox-9 platform support, depending on number of required changes I'd say it will take about 2 - 4 weeks to finalize. I'll probably do it as 0.19.2 release (mostly because I want all the example cc.X.commsdsl and cc.X.generated projects to have the same major/minor versions).

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Oh yeah, thats an issue. Thanks for taking a view.

I've saw the work on the feature branch. Sorry for not finishing the work on my PR last year. I had to shift my focus on other projects last year.

As soon as you will update the library, I'll make a new PR at vcpkg to update 👍

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Should I add the other mqtt libraries aswell?

I've added the ublox because I don't really know any other library for the ubx protocol. Especially the new ubx-9.

from comms.

arobenko avatar arobenko commented on July 19, 2024

Don't think so, people usually want a MQTT client library to work with, not the protocol definition one. These protocol projects are just examples of how to use CommsChampion Ecosystem. There are heaps of other mqtt client libraries out there.

I have mqtt-sn project which uses cc.mqttsn.generated and cc.mqtt311.generated protocol definitions to implement MQTT-SN client and gateway libraries. However, this project is not widely popular and not battle tested in the production environment, so I assume there will be little interest from other people to have it inside the vcpkg (or conan), at least for now.

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Okay. Thanks for the feedback.

I will look at how open we can be in that case. But I plan some private projects. There might be some protocols 👍

I think I will let this issue open to just post future vcpkg port updates. Or would you like to handle it differently?

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Merged the new versions.

Added comms-ublox install with
$> vcpkg install comms-ublox

from comms.

arobenko avatar arobenko commented on July 19, 2024

Good job, thanks

from comms.

arobenko avatar arobenko commented on July 19, 2024

Hi Mathis,
Just want to let you known that I introduced some urgent hotfix (was required at my workplace) which allows to build commsdsl without having comms_champion as a dependency (see v3.5.4 release notes). Using the same opportunity I also introduced a fix you applied as patch in vcpkg.

If you want to create a pull request for this fix I recommend the following updates:

  • Remove fix-cmake-cmakedir-path.patch
  • Remove comms from the list of dependencies inside the vcpkg.json
  • Update the portfile.cmake to have the following cmake options:
vcpkg_from_github(
    ...
    REF v3.5.4
    ...
)
vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
    PREFER_NINJA
    OPTIONS
        -DCOMMSDSL_NO_COMMS_CHAMPION=ON
        -DCOMMSDSL_NO_TESTS=ON
        -DCOMMSDSL_NO_WARN_AS_ERR=ON # remove on next version or on next version of boost
)

Probably the "-DCOMMSDSL_NO_WARN_AS_ERR=ON" won't be needed as well (because lack of comms_champion forced the commsdsl to get compiled without any warnings enabled), but keeping this option ON won't make much of a difference.

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

from comms.

arobenko avatar arobenko commented on July 19, 2024

Hi @mathisloge,
Just FYI, new releases of COMMS Library (v3.1.3), commsdsl (v3.6), and cc.ublox.generated with ublox-9 support (v0.20) are available.

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Hi @arobenko
thanks for the ublox-9 update!
if i have some time during my holiday, i will start a gui for gps / ublox devices so you can play around with rtk a bit. I will post the link to the github repo here. ubx-9 will be in there too. Could be a nice example

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

updated comms_champion to 3.1.4
updated commsdsl to 3.6.1

from comms.

arobenko avatar arobenko commented on July 19, 2024

Hi @mathisloge,
Just to let you know that I deprecate the "comms_champion" repository by splitting the contents into two separate ones for
COMMS Library and CommsChampion Tools.

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Hi Alex,
that looks good.
I will update the ports at vcpkg 👍

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Will update next week 👍

from comms.

arobenko avatar arobenko commented on July 19, 2024

HI @mathisloge,
Just want to let you know that I decided to support the vcpkg by creating a separate repository, which can be used as an overlay to the official vcpkg ports. It gives me a full control over the versions and recipes without a need to constantly submit the pull requests for the upstream updates.

By the way I support not only vcpkg, but also yocto, buildroot, and conan.

from comms.

mathisloge avatar mathisloge commented on July 19, 2024

Hi @arobenko

sorry for the late response. Currently I've not so much time for my open source activities. Sorry for not working on this reliably.

from comms.

Related Issues (2)

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.