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

Support for Windows ARM64 #41

Closed
Max-RM opened this issue Sep 12, 2024 · 26 comments
Closed

Support for Windows ARM64 #41

Max-RM opened this issue Sep 12, 2024 · 26 comments
Labels
Bug Report Something isn't working Feature Request New feature or request

Comments

@Max-RM
Copy link

Max-RM commented Sep 12, 2024

What feature would you like seen in Chunker?

I tried to compile Chunker App to Windows 11 ARM64, but got this error:

\Users\MaxRM\Downloads\GitHub\Chunker>gradlew build

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\MaxRM\Downloads\GitHub\Chunker\app\build.gradle.kts' line: 4

* What went wrong:
An exception occurred applying plugin request [id: 'com.github.node-gradle.node', version: '7.0.2']
> Failed to apply plugin 'com.github.node-gradle.node'.
   > A problem occurred starting process 'command 'uname''

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 2s
@Max-RM Max-RM added the Feature Request New feature or request label Sep 12, 2024
@FormallyMyles
Copy link
Collaborator

This seems related to the node plugin we use for gradle which I believe they're aware of and a fix is in the pipeline - node-gradle/gradle-node-plugin#315

To work around this you could need to build the cli folder, then install/use your own node/npm to build the app folder

@FormallyMyles FormallyMyles added the Bug Report Something isn't working label Sep 13, 2024
@FormallyMyles
Copy link
Collaborator

This should be fixed in the latest version 1.1.3 if you wanted to try rebuilding, let us know if it's not :)

@Max-RM
Copy link
Author

Max-RM commented Oct 3, 2024

Это должно быть исправлено в последней версии 1.1.3. Если вы хотите попробовать пересобрать, дайте нам знать, если это не так :)

Ok I will try again.

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

This should be fixed in the latest version 1.1.3 if you wanted to try rebuilding, let us know if it's not :)

Hi. Now I got this error:

Chunker.txt

@FormallyMyles
Copy link
Collaborator

This should be fixed in the latest version 1.1.3 if you wanted to try rebuilding, let us know if it's not :)

Hi. Now I got this error:

Chunker.txt

Have you tried clearing the directory the log specifies C:\\Users\\MaxRM\\Downloads\\GitHub\\Chunker\\app\\node_modules?

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

This should be fixed in the latest version 1.1.3 if you wanted to try rebuilding, let us know if it's not :)

Hi. Now I got this error:
Chunker.txt

Have you tried clearing the directory the log specifies C:\\Users\\MaxRM\\Downloads\\GitHub\\Chunker\\app\\node_modules?

Not yet

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

Have you tried clearing the directory the log specifies

Chunker000.txt
Now this error

@FormallyMyles
Copy link
Collaborator

That error seems to indicate that it ran out of memory while building, you can try building without tests -x test

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

That error seems to indicate that it ran out of memory while building

No. I have 7 GB of free space. Should be enought

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

ran out of memory

Or you meant RAM, not ROM?

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

That error seems to indicate that it ran out of memory while building, you can try building without tests -x test

Problem was in fact that after previous attemps JAVA still was in process list and take about 2 GB of RAM. After close those process I got new error:

Chunker001.txt

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

@FormallyMyles

@FormallyMyles
Copy link
Collaborator

That error seems to indicate that it ran out of memory while building, you can try building without tests -x test

Problem was in fact that after previous attemps JAVA still was in process list and take about 2 GB of RAM. After close those process I got new error:

Chunker001.txt

I would guess this might still be related to you running out of memory (RAM) since the daemon shouldn't just die, I did a quick test and this works for me on a ARM machine using 8GB of RAM.

You may want to disable tests e.g. gradlew build -x test as they do consume quite a bit of memory / time.

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

That error seems to indicate that it ran out of memory while building, you can try building without tests -x test

Problem was in fact that after previous attemps JAVA still was in process list and take about 2 GB of RAM. After close those process I got new error:
Chunker001.txt

I would guess this might still be related to you running out of memory (RAM) since the daemon shouldn't just die, I did a quick test and this works for me on a ARM machine using 8GB of RAM.

You may want to disable tests e.g. gradlew build -x test as they do consume quite a bit of memory / time.

This time I watched in the task manager and there was no RAM overflow. The maximum was 80%. but I'll try again with the 'gradle build -x test`

And I have 8 GB too

@Max-RM
Copy link
Author

Max-RM commented Oct 4, 2024

That error seems to indicate that it ran out of memory while building, you can try building without tests -x test

Problem was in fact that after previous attemps JAVA still was in process list and take about 2 GB of RAM. After close those process I got new error:
Chunker001.txt

I would guess this might still be related to you running out of memory (RAM) since the daemon shouldn't just die, I did a quick test and this works for me on a ARM machine using 8GB of RAM.

You may want to disable tests e.g. gradlew build -x test as they do consume quite a bit of memory / time.

Still not enought memory but this time It took longer.
Chunker002.txt

But I have another idea.

Can you just send here your build?

@Max-RM
Copy link
Author

Max-RM commented Oct 5, 2024

I did a quick test and this works for me

Can you send your compiled build here?
I just want to run it on my device.

@FormallyMyles
Copy link
Collaborator

I did a quick test and this works for me

Can you send your compiled build here? I just want to run it on my device.

I sent you an email with a copy of it as i'm unable to upload it here, I did briefly test it and it seemed to work but obviously windows and arm64 is still a relatively new thing in the development world so your mileage might vary.

@Max-RM
Copy link
Author

Max-RM commented Oct 7, 2024

I did a quick test and this works for me

Can you send your compiled build here? I just want to run it on my device.

I sent you an email with a copy of it as i'm unable to upload it here, I did briefly test it and it seemed to work but obviously windows and arm64 is still a relatively new thing in the development world so your mileage might vary.

Ok. Btw Windows ARM32 will never get support?

@FormallyMyles
Copy link
Collaborator

I did a quick test and this works for me

Can you send your compiled build here? I just want to run it on my device.

I sent you an email with a copy of it as i'm unable to upload it here, I did briefly test it and it seemed to work but obviously windows and arm64 is still a relatively new thing in the development world so your mileage might vary.

Ok. Btw Windows ARM32 will never get support?

We'll definitely have automatic builds when GitHub supports ARM64 for linux / windows, unsure on 32 though

@Max-RM
Copy link
Author

Max-RM commented Oct 7, 2024

We'll definitely have automatic builds when GitHub supports ARM64 for linux / windows, unsure on 32 though

Ok

@Max-RM
Copy link
Author

Max-RM commented Oct 7, 2024

I did a quick test and this works for me

Can you send your compiled build here? I just want to run it on my device.

I sent you an email with a copy of it as i'm unable to upload it here, I did briefly test it and it seemed to work but obviously windows and arm64 is still a relatively new thing in the development world so your mileage might vary.

Ok. Btw Windows ARM32 will never get support?

We'll definitely have automatic builds when GitHub supports ARM64 for linux / windows, unsure on 32 though

I will ask my friend to try compile it

@Max-RM
Copy link
Author

Max-RM commented Oct 7, 2024

I did a quick test and this works for me

Can you send your compiled build here? I just want to run it on my device.

I sent you an email with a copy of it as i'm unable to upload it here, I did briefly test it and it seemed to work but obviously windows and arm64 is still a relatively new thing in the development world so your mileage might vary.

Ok. Btw Windows ARM32 will never get support?

We'll definitely have automatic builds when GitHub supports ARM64 for linux / windows, unsure on 32 though

image_2024-10-07_23-34-57 It works

@Max-RM
Copy link
Author

Max-RM commented Oct 30, 2024

I would guess this might still be related to you running out of memory (RAM) since the daemon shouldn't just die, I did a quick test and this works for me on a ARM machine using 8GB of RAM.

I think I understand why we have same space of RAM, but it failed on my side.
I have disabled "SWAP FILE" because of lack of ROM.

I will enable it again and try to compile again.

@Max-RM
Copy link
Author

Max-RM commented Oct 30, 2024

unsure on 32 though

What about make something like custom auto script to compile it?
Because I think GitHub will never support ARM32 platforms.

@FormallyMyles
Copy link
Collaborator

unsure on 32 though

What about make something like custom auto script to compile it? Because I think GitHub will never support ARM32 platforms.

One of those things that we don't have plans for official support unless there's great demand for it and considering ARM64 seems a lot more popular (at least from my perspective).

@Max-RM
Copy link
Author

Max-RM commented Oct 30, 2024

unsure on 32 though

What about make something like custom auto script to compile it? Because I think GitHub will never support ARM32 platforms.

One of those things that we don't have plans for official support unless there's great demand for it and considering ARM64 seems a lot more popular (at least from my perspective).

ок. Btw here is latest Chunker app 1.3.0 (exe was unpacked because it will work faster if unpack it)
https://www.mediafire.com/file/9foc6yln7qesg6c/Chunker-app-1.3.0-arm64.7z/file
So now I can compile myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Report Something isn't working Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants