Linker Error #34
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rafaelcaricio/lvgl-rs#34
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When trying to use the library in
no-std
context, I am getting the following linker errorI just added
lvgl
as the cargo dependency and tried to create an example with it.Should lvgl's native libraries be included manually?
OS: OSX
Target: Custom x64 triplet
My target triplet if needed
That's an interesting error. The lvgl native src is vendored into the
lvgl-rs
crate. What version of the Rust compiler are you using?This is the latest rust nightly
My suspicion is that the cc compilation is not being done in a cross platform way. My host is mac and target is not. Mac's symbols can contain extra underscore in symbol names. May be bindgen and cc are being run differently?
Note that i can run examples fine. And examples are not cross compiled.