vita-rust / vitasdk-sys Goto Github PK
View Code? Open in Web Editor NEWvitasdk bindings to be used in rust
License: Other
vitasdk bindings to be used in rust
License: Other
There probably should be a slightly more thorough migration guide to the new crate design, or more and more "modernized" examples of its use, especially in terms of features.
My actions:
rustup install nightly
rustup default nightly
git clone https://github.com/vita-rust/vitasdk-sys/
cd vitasdk-sys
git submodule update --init --recursive
cd generator
cargo run
cd ../examples/std-hello-world/
cargo make vpk
Output:
[cargo-make] INFO - cargo make 0.36.8
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Project: std-hello-world
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: vpk
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: "cargo" "build" "-Z" "build-std=std,panic_abort" "--target=armv7-sony-vita-newlibeabihf" "--profile" "dev"
Compiling vitasdk-sys v0.1.1 (/run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys)
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2/location.rs:48:21
|
48 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
48 + use crate::psp2common::types::SceInt32;
|
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2/location.rs:54:21
|
54 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
54 + use crate::psp2common::types::SceInt32;
|
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2/location.rs:61:21
|
61 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
61 + use crate::psp2common::types::SceInt32;
|
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2/location.rs:66:21
|
66 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
66 + use crate::psp2common::types::SceInt32;
|
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2/location.rs:75:21
|
75 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
75 + use crate::psp2common::types::SceInt32;
|
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2common/kernel/processmgr.rs:12:21
|
12 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
12 + use crate::psp2common::types::SceInt32;
|
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2common/kernel/processmgr.rs:18:21
|
18 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
18 + use crate::psp2common::types::SceInt32;
|
error[E0412]: cannot find type `SceInt32` in this scope
--> /run/media/sweetbread/50AF29954CE66E9F/Coding/Rust/vitasdk-sys/src/psp2common/kernel/processmgr.rs:24:21
|
24 | pub type Type = SceInt32;
| ^^^^^^^^ not found in this scope
|
help: consider importing this type alias
|
24 + use crate::psp2common::types::SceInt32;
|
For more information about this error, try `rustc --explain E0412`.
error: could not compile `vitasdk-sys` (lib) due to 8 previous errors
[cargo-make] ERROR - Error while executing command, exit code: 101
[cargo-make] WARN - Build Failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.