-
Notifications
You must be signed in to change notification settings - Fork 62
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
chore: compile mobile with nwaku support (android) #3232
Comments
Building
For these reasons it is not feasibly to simply add To achieve this in a clean manner the best possible solution is probably to develop a Nix flake setup for |
To add a bit more of details of what should the .flake for nwaku support to compile nwaku:
This will generate the following folders inside
|
@Ivansete-status @gabrielmer @jakubgs @markoburcul To build status-mobile with libwaku, I'm currently doing this manually. Do note i'm using specific branches of status-go and status-mobile
|
Thanks, that's very helpful. |
Referenced issue: waku-org/nwaku#3232 Signed-off-by: markoburcul <[email protected]>
Referenced issue: waku-org/nwaku#3232 Signed-off-by: markoburcul <[email protected]>
It includes also androidndk and files needed for nimbus-build-system Referenced issue: #3232 Signed-off-by: markoburcul <[email protected]>
It includes also androidndk and files needed for nimbus-build-system Referenced issue: #3232 Signed-off-by: markoburcul <[email protected]>
I've managed to overcome building the Nim compiler using nimbus-build-system. The issue I've encountered is that |
@richard-ramos do we want also do this for iOS? |
It includes also androidndk and files needed for nimbus-build-system Referenced issue: #3232 Signed-off-by: markoburcul <[email protected]>
It includes also androidndk and files needed for nimbus-build-system Referenced issue: #3232 Signed-off-by: markoburcul <[email protected]>
It includes also androidndk and files needed for nimbus-build-system Referenced issue: #3232 Signed-off-by: markoburcul <[email protected]>
After debug session with @jakubgs , we are still getting the error when building
Further debugging with strace to see which files were touched on the system, we noticed it is trying to open a nonexisting file which is an empty string:
We added an export of current environment to this line in the nimbus-build-system env script to compare it with a local non-nix build(which is successful) to see what are the differences in terms of |
Here are the env files to compare them:
env.nix.final.fail.log |
yes, altho i have not tried compiling libwaku for ios before so I do not know what issues we could run into. |
According to Dustin the issue also sometimes appears in |
Mobile should compile in android while using nwaku. This means all dependencies must be met, and no missing libraries warning should be visible.
wakuNew
from libwakuThe text was updated successfully, but these errors were encountered: