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

ubuntu22.04 build error #38

Open
dezbracaty opened this issue Jun 23, 2024 · 2 comments
Open

ubuntu22.04 build error #38

dezbracaty opened this issue Jun 23, 2024 · 2 comments

Comments

@dezbracaty
Copy link

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::HandleJS::Value)'
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
Copy link
Collaborator

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
Copy link
Author

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.

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

2 participants