KDABLabs / cxx-qt-servo-webview

Servo WebView for Qt using CXX-Qt
43 stars 1 forks source link

ubuntu22.04 build error #38

Open dezbracaty opened 3 weeks ago

dezbracaty commented 3 weeks ago

Info : os: ubuntu22.04 CC: clang GCC: clang architecture: x86_64

build error : build.log = note: /home/allen/Project/Rust/cxx-qt-servo-webview/target/release/deps/libscript-106ac0ca1e68a534.rlib(script-106ac0ca1e68a534.script.4cfe4aa319b95af3-cgu.00.rcgu.o):script.4cfe4aa319b95af3-cgu.00:function script::dom::bindings::codegen::Bindings::BeforeUnloadEventBinding::BeforeUnloadEvent_Binding::set_returnValue::{{closure}}: error: undefined reference to 'js::ToStringSlow(JSContext*, JS::Handle)' Such like this . so , how to fix it ? Or how can I build this example successful ? I had tried build it on macos m1 ,and ubuntu x86_64 ,all build failed. This is so frustrating...

ahayzen-kdab commented 3 weeks ago

Unsure whether something has changed since we last built it in the dependencies. But have you tried using the shell.nix to build? This might be more successful as Servo requires very specific versions of things.

dezbracaty commented 3 weeks ago

Unsure whether something has changed since we last built it in the dependencies. But have you tried using the shell.nix to build? This might be more successful as Servo requires very specific versions of things.

Thanks for replying ~. I will try it today.