Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MapLibre: Ubuntu 22.04 support #31278

Closed
wants to merge 1 commit into from

Conversation

sunnyhaibin
Copy link
Contributor

@sunnyhaibin sunnyhaibin commented Feb 2, 2024

Description
Introduced in #31185, the library does not allow scons to build in Ubuntu 22.04.

Verification
After rebuilding the library in Ubuntu 22.04, scons was able to build successfully.

@adeebshihadeh
Copy link
Contributor

What's the problem? If it's linking against a library of a different version, we may not be able to have one version that works on both.

@andiradulescu
Copy link
Contributor

From what I read on Discord, seems to be related to libcapnp-0.7.0 which is missing in 22.04 (but available in 20.04). libcapnp-0.7.0 is available in 20.04 (focal). On 22.04 (jammy) libcapnp-0.8.0 is available.

In openpilot libcapnp-dev is installed, which installs the "appropiate" lib of libcapnp version based on the ubuntu release: libcapnp-0.8.0 in 22.04 and libcapnp-0.7.0 in 20.04.

I guess we can compile libcapnp also in openpilot, not just in agnos. I can help out, if needed.

@adeebshihadeh
Copy link
Contributor

That's okay. We'll update libcapnp when we go to 24.04 soon. @sunnyhaibin for now, you can build (or install) the older libcapnp to work around this.

@andiradulescu
Copy link
Contributor

Pretty weird that I don't see any capnp dependency for maplibre-native-qt. I think I linked the wrong Discord chat. @sunnyhaibin's maplibre message on Discord is this one.

Will pull the latest master anyway and test it out on 22.04.

@sunnyhaibin sunnyhaibin deleted the maplibre-22.04 branch March 12, 2024 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants