Coder Social home page Coder Social logo

xlog-decoder's People

Contributors

porum avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

homenglau staccar

xlog-decoder's Issues

Build failed on windows platform

yarn run v1.22.21
$ tauri build --target aarch64-pc-windows-msvc --bundles nsis
Running beforeBuildCommand yarn build
$ vue-tsc --noEmit && vite build
vite v5.0.10 building for production...
✓ 52 modules transformed.
dist/index.html 0.46 kB │ gzip: 0.30 kB
dist/assets/ic_settings-sU7Fk1UA.png 4.57 kB
dist/assets/index-yW-XyS5X.css 3.60 kB │ gzip: 1.25 kB
dist/assets/index-iiL0NEoO.js 81.68 kB │ gzip: 33.08 kB
✓ built in 2.09s
Compiling fork v0.1.22
error[E0412]: cannot find type pid_t in crate libc
--> C:\Users\panda.cargo\registry\src\index.crates.io-6f17d22bba15001f\fork-0.1.22\src\lib.rs:21:18
|
21 | Parent(libc::pid_t),
| ^^^^^ not found in libc

error[E0425]: cannot find function fork in crate libc
--> C:\Users\panda.cargo\registry\src\index.crates.io-6f17d22bba15001f\fork-0.1.22\src\lib.rs:112:30
|
112 | let res = unsafe { libc::fork() };
| ^^^^ not found in libc

error[E0412]: cannot find type pid_t in crate libc
--> C:\Users\panda.cargo\registry\src\index.crates.io-6f17d22bba15001f\fork-0.1.22\src\lib.rs:128:33
|
128 | pub fn setsid() -> Result<libc::pid_t, i32> {
| ^^^^^ not found in libc

error[E0425]: cannot find function setsid in crate libc
--> C:\Users\panda.cargo\registry\src\index.crates.io-6f17d22bba15001f\fork-0.1.22\src\lib.rs:129:30
|
129 | let res = unsafe { libc::setsid() };
| ^^^^^^ help: a function with a similar name exists: getpid
|
::: C:\Users\panda.cargo\registry\src\index.crates.io-6f17d22bba15001f\libc-0.2.152\src\windows\mod.rs:491:5
|
491 | pub fn getpid() -> ::c_int;
| -------------------------- similarly named function getpid defined here

error[E0412]: cannot find type pid_t in crate libc
--> C:\Users\panda.cargo\registry\src\index.crates.io-6f17d22bba15001f\fork-0.1.22\src\lib.rs:140:34
|
140 | pub fn getpgrp() -> Result<libc::pid_t, i32> {
| ^^^^^ not found in libc

error[E0425]: cannot find function getpgrp in crate libc
--> C:\Users\panda.cargo\registry\src\index.crates.io-6f17d22bba15001f\fork-0.1.22\src\lib.rs:141:30
|
141 | let res = unsafe { libc::getpgrp() };
| ^^^^^^^ not found in libc

Some errors have detailed explanations: E0412, E0425.
For more information about an error, try rustc --explain E0412.
error: could not compile fork (lib) due to 6 previous errors
Error failed to build app: failed to build app
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.