-
Notifications
You must be signed in to change notification settings - Fork 240
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
vcpkg dependency example #2274
base: main
Are you sure you want to change the base?
vcpkg dependency example #2274
Conversation
If I had to guess, this is the order of likelihood to cause these errors:
You could post any errors from the log output too, but I'll try to find time to test this branch myself. |
Oh I didn't realize you replaced GLM too! Yes the |
mhm strange .after replacing most of the libraries, I get a nullptr exception in Freetype (by Alfons). |
That is a possibility! Could also be a case of accidentally using undefined behavior that happens to work correctly in debug mode. Hard to say without more info! |
By the way, while I can appreciate the goal of unifying tangram's dependencies under vcpkg, I have to ask: Do you expect vcpkg to work with our current Android and iOS build systems? From what I've read, vcpkg doesn't support Android and iOS to the same extent as desktop platforms. |
I generally expect it to work with vcpkg. But this PR should also test this.
The situation is that ios and android are community maintained. But there are currently a lot of PRs for improvements of the toolchain (the most important one might be microsoft/vcpkg#15605. however the scripts are currently under a active audit session to refactor them). For android I've added the needed things to work with tangram (currently there are still some key points I have to figure out). macos itself is officially supported. (I don't have any apple hardware or experience with it, so i can't judge the differences between macos vs ios.) If all things are working, i'm extracting some of the overlay-ports to vcpkg main repo / custom registry for alfons (since it seems that the author does not maintain it). However tangram has some additions to libraries. So we will have to maintain those as overlay ports, so that all other depending libraries will get build with those as well. |
it will fail at
this is the callstack:
Log output
|
Have updated my comment #2274 (comment) as I had some brain lag :D |
@matteblair saw a issue at freetype. https://gitlab.freedesktop.org/freetype/freetype/-/issues/1089 using freetype 2.10.4 everything works. |
This PR is based on #2272
As you can see, there are definitly some problems with newer versions.
I had to patch all mapbox repositories, since the new versions are incompitable with the current implementation.
The shapes drawn over the map are broken, too
Version differences:
So there are not so many version differences, but the end result is clearly different.
Any idea which dependency is the most likely cause?
Then I could test it with the original version.