sciter-sdk / rust-sciter

Rust bindings for Sciter

Home Page:https://sciter.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I have new err on compile error.

iakuf opened this issue · comments

$ 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

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

I mean, Sciter.JS or Sciter.TIS?

$ 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

I see, thanks. And what Sciter SDK version?

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

Interesting. Was it because of #107?