Closed Gazedo closed 2 years ago
I would guess that your target simply doesn't support memory mapping. Or only a rudimentary one. I would suggest avoiding memmap2 use altogether.
@RazrFalcon Thanks for the advice! I was pretty sure it was a simple compilation issue. The memmap2 dependency is part of the slint dependencies as part of usvg using fontdb which I think are your libraries as well. I'll see if I can figure out how the correct series of features to use, kind of a newbie at this so figuring it out as I go.
I'm having issues when compiling in a dev container while on aarch64 for a target of xtensa-esp32-idf. Its a std application for an esp32 and unfortunately the example is for no_std so I'm trying to convert it for my use. There are a total of 35 errors shown below:
I don't know if the issue is with compiling it on my M1 mac in a Debian docker container or if the issue is the feature selection. Any advice would be appreciated. Let me know if there is any other info required, I don't have my code hosted yet anywhere but I would be happy to upload and share it if that would help as well. I should note that I can compile libc crate just fine and I have tried compiling it in a couple different ways. Standard features and no defaults and "std".