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

template app crashes on changed file save #1

Open
suiluj opened this issue Jun 15, 2024 · 0 comments
Open

template app crashes on changed file save #1

suiluj opened this issue Jun 15, 2024 · 0 comments

Comments

@suiluj
Copy link

suiluj commented Jun 15, 2024

hi i tried out the template but when I changed the background color the app crashes:

.
.
[lib] [Running 'cargo build -p lib']
[lib]    Compiling nannou_dynamic v0.1.0 (/Users/.../nannou-projects/projects/a-first-hot-reload-test/nannou_dynamic)
[lib]    Compiling lib v0.1.0 (/Users/.../nannou-projects/projects/a-first-hot-reload-test/lib)
[lib]     Finished `dev` profile [optimized + debuginfo] target(s) in 0.61s
[lib] [Finished running. Exit status: 0]
[bin] thread '<unnamed>' panicked at src/main.rs:3:1:
[bin] hot lib update(): LibraryLoadError(DlOpen { desc: "dlopen(/Users/.../nannou-projects/projects/a-first-hot-reload-test/target/debug/liblib-hot-1.dylib, 0x0005): Symbol not found: __ZN62_$LT$nannou..frame..Frame$u20$as$u20$core..ops..drop..Drop$GT$4drop123456789E\n  Referenced from: <E1234567D> /Users/.../nannou-projects/projects/a-first-hot-reload-test/target/debug/liblib-hot-1.dylib\n  Expected in:     <DF1D2889-6B44-31A6-B1EF-36240AFD2B10> /Users/.../nannou-projects/projects/a-first-hot-reload-test/target/debug/deps/libnannou_dynamic.dylib" })
[bin] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[bin] thread 'main' panicked at src/main.rs:3:1:
[bin] lib loader RwLock read failed: PoisonError { .. }
[bin] [Finished running. Exit status: 101]

i used the cargo runcc command and installed runcc and cargo-watch before.

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

1 participant