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

Stax and Flex build failure caused by outdated Cargo.lock #107

Closed
ghallak opened this issue Jan 29, 2025 · 1 comment
Closed

Stax and Flex build failure caused by outdated Cargo.lock #107

ghallak opened this issue Jan 29, 2025 · 1 comment

Comments

@ghallak
Copy link
Contributor

ghallak commented Jan 29, 2025

I have a fresh clone of the main branch of this repo, and I'm trying to build it for Stax. The build will fail with the following errors, indicating that it's trying to build an older version of ledger_secure_sdk_sys (1.6.1 instead of 1.6.3):

warning: [email protected]: /opt/flex-secure-sdk/lib_nbgl/src/nbgl_use_case.c:275:43: error: use of undeclared identifier 'C_Important_Circle_40px'; did you mean 'C_Important_Circle_64px'?
warning: [email protected]: /opt/flex-secure-sdk/lib_nbgl/src/nbgl_use_case.c:278:43: error: use of undeclared identifier 'C_Important_Circle_40px'; did you mean 'C_Important_Circle_64px'?
warning: [email protected]: /opt/flex-secure-sdk/lib_nbgl/src/nbgl_use_case.c:282:20: error: use of undeclared identifier 'C_Important_Circle_40px'; did you mean 'C_Important_Circle_64px'?
warning: [email protected]: /opt/flex-secure-sdk/lib_nbgl/src/nbgl_use_case.c:1048:42: error: use of undeclared identifier 'C_Exclamation_40px'
warning: [email protected]: /opt/flex-secure-sdk/lib_nbgl/src/nbgl_use_case.c:2108:47: error: use of undeclared identifier 'C_Privacy_40px'

Deleting the Cargo.lock file and then trying to rebuild fixes this problem.

@yogh333
Copy link
Contributor

yogh333 commented Feb 6, 2025

Fixed after bumping Rust SDK version

@yogh333 yogh333 closed this as completed Feb 6, 2025
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

No branches or pull requests

2 participants