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

Outdated for libctru v2.3.1-1 #143

Closed
honkling opened this issue Nov 21, 2023 · 2 comments
Closed

Outdated for libctru v2.3.1-1 #143

honkling opened this issue Nov 21, 2023 · 2 comments

Comments

@honkling
Copy link

honkling commented Nov 21, 2023

This warning occurs when building.

warning: [email protected]+2.2.2-1: failed to check libctru version: libctru version is 2.3.1-1 but this crate was built for 2.2.2-1

For the time being, is it possible to downgrade the 3ds-dev group to the supported version? I attempted sudo dkp-pacman -S libctru=2.2.2-1 but it yielded a package not found error.

e: my build is failing, but after further investigation it seems possible that it is not failing due to a version mismatch but rather just missing clang libraries c:

@honkling
Copy link
Author

build was indeed failing because clang was not installed

@ian-h-chamberlain
Copy link
Member

ian-h-chamberlain commented Nov 21, 2023

Yeah, that warning (which should never prevent building) should go away with #141 which should hopefully make it more clear when there is a build failure for other reasons.

I guess I didn't realize that clang was required for building the crate, with bindgen as a build dependency! We should probably include a link to https://rust-lang.github.io/rust-bindgen/requirements.html somewhere in our "Getting started" documentation to make it more clear.

Edit: added a brief new wiki section https://github.com/rust3ds/ctru-rs/wiki/Getting-Started#install-llvm-for-bindgen

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