-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Compilation build failed #5816
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
Comments
@Neoblock8 Can you specify your compile environment? Such as OS/JVM/JDK/Version, etc. |
@Neoblock8 What's your modifications? |
hi, @Neoblock8
By step-by-step troubleshooting the possible causes, you should be able to resolve the missing Librustzcash and Libsodium class definitions. |
OS: Ubuntu |
Modified package of tron to test |
Hi @endiaoekoe, |
@Neoblock8 LibrustzcashJNI comes from another project: |
Hi @317787106, |
@Karthigasrini There are 3 steps to import local zksnark-java-sdk.jar:
|
Hi @317787106, As you said, I modified in build.gradle file still having same issue |
Hi @317787106 |
@Karthigasrini It's a little complicated. I will try to test it when I am free. |
Thanks @317787106. Kindly test and provide a best solution asap |
@Karthigasrini What changes have you made ? How do you modify package of tron to test ? |
I have rename all tron to test and changed the tron package name to test. |
@Karthigasrini I have compiled the project successful, it is complicated and time cost. You can do it as following:
replace import:
modify any other necessary class.
|
Thanks a lot @317787106. I will check and let you know |
Hi @317787106, |
@Karthigasrini what's the error? |
|
@Karthigasrini Please make sure this not changed:
I have successfully run the node after changed. Don't forget to modify .gradle, logback.xml, TransactionRegister and CommonConfig class. |
@Karthigasrini Have you fix this problem? If you did, please tell me. |
Thanks for your contribution to java-tron, this issue will be closed as no update for a long time. Please feel free to re-open it if you still see the issue, thanks. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Trying to compile with some modifications getting this error.
../common/zksnark/JLibrustzcash.java:24: error: cannot find symbol
private static Librustzcash INSTANCE = LibrustzcashWrapper.getInstance();
^
symbol: class Librustzcash
location: class JLibrustzcash
/common/zksnark/JLibsodium.java:13: error: cannot find symbol
private static Libsodium INSTANCE = LibsodiumWrapper.getInstance();
^
symbol: class Libsodium
location: class JLibsodium
2 errors
How to overcome this error? Kindly guide me to solve this error
The text was updated successfully, but these errors were encountered: