sciter-sdk / rust-sciter

Rust bindings for Sciter
https://sciter.com
MIT License
804 stars 75 forks source link

I have new err on compile error. #118

Closed iakuf closed 3 years ago

iakuf commented 3 years ago

$ cargo run --example minimal Finished dev [unoptimized + debuginfo] target(s) in 0.03s Running target/debug/examples/minimal thread 'main' panicked at 'called Result::unwrap() on an Err value: ()', examples/minimal.rs:18:12 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

pravic commented 3 years ago

sciter::set_options returns an error? Is this Sciter.JS?

iakuf commented 3 years ago

Sciter sdk

pravic commented 3 years ago

I mean, Sciter.JS or Sciter.TIS?

iakuf commented 3 years ago

$ RUST_BACKTRACE=1 cargo run --example minimal Finished dev [unoptimized + debuginfo] target(s) in 0.01s Running target/debug/examples/minimal thread 'main' panicked at 'called Result::unwrap() on an Err value: ()', examples/minimal.rs:18:12 stack backtrace: 0: rust_begin_unwind at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/std/src/panicking.rs:493:5 1: core::panicking::panic_fmt at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/panicking.rs:92:14 2: core::result::unwrap_failed at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/result.rs:1355:5 3: core::result::Result<T,E>::unwrap at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/result.rs:1037:23 4: minimal::main at ./examples/minimal.rs:15:2 5: core::ops::function::FnOnce::call_once at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/ops/function.rs:227:5 note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

my library is libsciter.dylib. I use Sciter.TIS. my set library use DYLD_LIBRARY_PATH

pravic commented 3 years ago

I see, thanks. And what Sciter SDK version?

iakuf commented 3 years ago

sorry, my fault. everything is ok if i use new Sciter SDK

pravic commented 3 years ago

Interesting. Was it because of #107?

iakuf commented 3 years ago

yes