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

non-compiled #3

Closed
ghost opened this issue Feb 1, 2019 · 9 comments
Closed

non-compiled #3

ghost opened this issue Feb 1, 2019 · 9 comments

Comments

@ghost
Copy link

ghost commented Feb 1, 2019

hello,Can you provide a non-compiled version? I now have the dynamic library of skia and the header file of skia. How can I change it?

@Brooooooklyn
Copy link
Member

I will provide precompiled static link library after I finished #2

@ghost
Copy link
Author

ghost commented Feb 1, 2019

I can contribute to this project, but this compilation has failed. I copied libskia.so from others, but I didn't get it.(ubuntu18)

@Brooooooklyn
Copy link
Member

I don't want commit static link file into git. It should generate by CI.
In Ubuntu18, you can just follow this two steps to run the example:

  1. follow this guide to setup skia tools https://skia.org/user/download
  2. INIT_SKIA=true cargo run --example hello (this step may require a proxy to access google codes

@ghost
Copy link
Author

ghost commented Feb 1, 2019

I am blocking this step in the proxy.The network is specially processed

@ghost
Copy link
Author

ghost commented Feb 1, 2019

println!("cargo:rustc-link-lib=static=skiabinding")??????????
What is skiabinding? I compiled skia separately without this file! I am now compiling skia from another server and copying the dynamic library.

@ghost
Copy link
Author

ghost commented Feb 1, 2019

我才发现你是中国上海 我北京的

@Brooooooklyn
Copy link
Member

skiabinding is generated by src/binding.cc

@ghost
Copy link
Author

ghost commented Feb 1, 2019

I gave up on him, it feels difficult, I will continue to use c++.

Brooooooklyn pushed a commit that referenced this issue Feb 27, 2019
@pragmatrix
Copy link
Member

Hello, we are trying to make this library easier to compile, for example #48 is one step in this direction. Also we prepared a readme that should be merged soon, which may be reviewed here #43. In addition to that, @Brooooooklyn is working on providing prebuilt binaries #49.

If there are further compilation problems, please open a new issue and provide the exact platform and the output of the cargo build -vv command.

Closing this in favor of the issues #48, #43, and #49.

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