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

Can support Linux? #40

Closed
lvhuming opened this issue Apr 26, 2020 · 4 comments
Closed

Can support Linux? #40

lvhuming opened this issue Apr 26, 2020 · 4 comments

Comments

@lvhuming
Copy link

Can support Linux?

@getnamo
Copy link
Owner

getnamo commented Apr 26, 2020

In theory, yes, but in practice it requires rebuilding CEF for linux. I personally don't plan on compiling CEF/chromium for that platform though, so it will require someone else to build it and make a pull request.

See https://github.com/getnamo/BluBrowser/ for some hints on how to do this.

@lvhuming
Copy link
Author

I compiled the binary file under Linux, and there was an error when linking the file

error:undefined reference to std::_rb_tree_decrement(std::_Rb_tree_node_base const*) libcef_dll_wrapper.a(transfer_util.cc.o): in function std::pair<std::_Rb_tree_iterator<std::pair<CefStringBase const, CefStringBase > >, bool> std::_Rb_tree<CefStringBase, std::pair<CefStringBase const, CefStringBase >, std::_Select1st<std::pair<CefStringBase const, CefStringBase > >, std::less<CefStringBase >, std::allocator<std::pair<CefStringBase const, CefStringBase > > >::_M_emplace_unique<std::pair<CefStringBase, CefStringBase > >(std::pair<CefStringBase, CefStringBase >&&)':
1> transfer_util.cc:(.text.ZNSt8_Rb_treeI13CefStringBaseI20CefStringTraitsUTF16ESt4pairIKS2_S2_ESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE17_M_emplace_uniqueIJS3_IS2_S2_EEEES3_ISt17_Rb_tree_iteratorIS5_EbEDpOT[ZNSt8_Rb_treeI13CefStringBaseI20CefStringTraitsUTF16ESt4pairIKS2_S2_ESt10_Select1stIS5_ESt4lessIS2_ESaIS5_EE17_M_emplace_uniqueIJS3_IS2_S2_EEEES3_ISt17_Rb_tree_iteratorIS5_EbEDpOT]+0x16c): undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
1>clang++ : error : linker command failed with exit code 1 (use -v to see invocation)

@lvhuming
Copy link
Author

In theory, yes, but in practice it requires rebuilding CEF for linux. I personally don't plan on compiling CEF/chromium for that platform though, so it will require someone else to build it and make a pull request.

See https://github.com/getnamo/BluBrowser/ for some hints on how to do this.

How should I compile the required files? Thank you

@getnamo
Copy link
Owner

getnamo commented Apr 9, 2023

Closed as duplicate in favor of #69

@getnamo getnamo closed this as completed Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants