-
Notifications
You must be signed in to change notification settings - Fork 94
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
Not able to build core #35
Comments
Are you building inside docker? This could be due to a proto compiler mismatch. |
Thanks Alok for your help. I am building on a MacOS laptop from the source (no docker). I installed protoc using homebrew. Is there a specific version I should look for? |
The dockerfile uses 3.5.2. On my mac, I believe I have used 3.6.1 (I can confirm that tomorrow). |
3.6.1 on mac os works. What version are you using? You might want to try picking up #37 and running
|
Yes I had that same protoc version. Those instructions worked fine though. Originally I had cloned the nanopb and trezor-crypto dependencies myself. I guess something went wrong with that. Now with the submodules this is how I did:
And then the build instructions you provided:
Now when I run
But those don't prevent it from starting as I see final message Are the errors above expected behaviour for execution outside HSM? This is the complete output:
|
Great! Sorry for not including the submodule in the first place, I didn't set things up the right way. Yes, the code performs a bunch of self checks at startup. We do this, because our CI infrastructure don't have HSMs. I guess I could set/unset a flag to not show the output in red? You are now ready to talk to the C code from the Java GUI (or your own custom thing if you don't want to use the GUI). The java piece is still missing a bunch of build scripts, which I'm currently working on. |
I think it is ok the way it is in red. Thanks a lot for your help on this. |
I'm going to close this ticket. I'll post an update in #11 once our build story improves (I'm getting close -- probably need another few days and we should be good). |
Hello I am getting error below on the make step trying to build the core component. Any ideas on what the issue could be?
The text was updated successfully, but these errors were encountered: