-
Notifications
You must be signed in to change notification settings - Fork 331
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
build error with c lib #72
Comments
You'll need to specify the particular system (Linux (?) distribution, GCC version, at least) this is happening on. I cannot reproduce this. |
Sorry about that
GCC is
This in Windows WSL btw |
also now that i have your attention
this should build a working dll for windows 64 right? I'm working on JNI bindings for the c api. so thats why i need to build the project in different platforms while appending the Java bindings Thanks! |
Could mere Windows users without compilers try this bleeding-edge stuff? Give us a binary, please. |
It would appear that on this GCC version, either Regarding Windows, I am not too familiar with the MinGW toolchain, but you might need |
@sneves i just tried it with gcc 7.4 and it resulted in the same error btw. strange |
@sneves i got it to compile a working dll with the following
it works with either It works now as in the library is successfully loaded into jvm. Testing the actually bindings is next. https://github.com/sken77/BLAKE3jni here is a link of the project |
@sergeevabc, this issue is discussing a specific set of compiler errors. If you'd like to discuss pre-compiled binaries, please open a separate issue. (If you want to try out BLAKE3, I recommend taking a look at the |
@sken77 tweeted :) |
It looks like the questions here have been answered, so I'm going to close this one. I've opened #78 about pre-compiled binaries. |
I'm getting the error above when trying to compile the share library. including
-fPIC
solves it, but not sure if that will result in intended behavior. a small clarification on this would be goodThe text was updated successfully, but these errors were encountered: