Giter Club home page Giter Club logo

octree-tracer's People

Contributors

ria8651 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

octree-tracer's Issues

tokio version error

error[E0793]: reference to packed field is unaligned
    --> C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ntapi-0.3.6\src\ntexapi.rs:2785:52
     |
2785 |         *tick_count.QuadPart_mut() = read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad);
     |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses
     = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)

error[E0793]: reference to packed field is unaligned
    --> C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\ntapi-0.3.6\src\ntexapi.rs:2809:25
     |
2809 |         ((read_volatile(&(*USER_SHARED_DATA).u.TickCountQuad)
     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses
     = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced)
     = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers)

this error is resolved when upgrading the tokio dependency from 1.17 to 1.28.0 in Cargo.toml

`parent device is lost` crash

cargo run --release crashes with the following error

note: this is done with dependency change from #2

$ cargo run --release
    Finished release [optimized + debuginfo] target(s) in 0.28s
warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target\release\octree-tracer.exe`
octree-tracer v0.1.0
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
Staring to mip...
Cataloged 0 million nodes
Mip success!
thread 'main' panicked at C:\Users\stormy\.cargo\registry\src\index.crates.io-6f17d22bba15001f\wgpu-0.12.0\src\backend\direct.rs:214:9:
Error in Queue::submit: parent device is lost
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\release\octree-tracer.exe` (exit code: 101)

os: windows 10 home
device: dell laptop with integrated and GTX 960m

graphics drivers are up to date
wgpu runs on other projects

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.