Skip to content

Windows version #42

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

Closed
GornikSamil opened this issue Jul 15, 2022 · 13 comments
Closed

Windows version #42

GornikSamil opened this issue Jul 15, 2022 · 13 comments

Comments

@GornikSamil
Copy link

Is it possible to make a windows version? I do not use Linux anymore, and I really like Gtkcord becouse it is very good.
It would be great if there was a windows version. I hope you will respond on my message. Thank you.

@diamondburned diamondburned changed the title Hello I have a question Windows version Jul 15, 2022
@diamondburned
Copy link
Owner

gtkcord4 should compile on Windows fine. I won't try and provide cross-compiling for Windows, especially because Nixpkgs' mingw environment is super broken. You'll have to do that yourself.

@Cynosphere
Copy link

It won't compile because cgosymbolizer requires Unix headers that are only available in MSYS2, when all the packages that are required are only in MinGW64.

@diamondburned
Copy link
Owner

It won't compile because cgosymbolizer requires Unix headers that are only available in MSYS2, when all the packages that are required are only in MinGW64.

cgosymbolizer is now Linux-only: https://github.com/diamondburned/gtkcord4/blob/main/cgosymbolizer_linux.go

@Cynosphere
Copy link

Tried with @main instead of @latest and got as far as gotk4/pkg/gtk/v4 before running into diamondburned/gotk4#56.

This was supposedly fixed yet I'm still having the issue on Go 1.19.2...

@God-damnit-all
Copy link

Tried with @main instead of @latest and got as far as gotk4/pkg/gtk/v4 before running into diamondburned/gotk4#56.

This was supposedly fixed yet I'm still having the issue on Go 1.19.2...

I'm having the same problem. So frustrating.

@HerXayah
Copy link

Any1 figured it out yet?

@diamondburned
Copy link
Owner

This was supposedly fixed yet I'm still having the issue on Go 1.19.2...

The fix was tagged for go1.20rc1. You might want to try again with Go 1.20.x.

@HerXayah
Copy link

HerXayah commented Mar 10, 2023

This was supposedly fixed yet I'm still having the issue on Go 1.19.2...

The fix was tagged for go1.20rc1. You might want to try again with Go 1.20.x.
image

It does run through but theres no file created in GoPath

@ghost
Copy link

ghost commented May 11, 2023

so, did someone manage to do it?

@diamondburned
Copy link
Owner

diamondburned commented May 28, 2023

It does run through but theres no file created in GoPath

I'm not sure what you mean by this but the error looks like CGO_ENABLED is off? Are you building this in the right environment?

Edit: see #118 (comment).

@diamondburned
Copy link
Owner

There is now a Windows version. See #118.

@God-damnit-all
Copy link

There is now a Windows version. See #118.

That's good to hear. It seems the workflow that's supposed to upload the artifacts for the Windows version isn't finding the files though:

Warning: No files were found with the provided path: gtkcord4-windows-amd64-b23b4ba.7z. No artifacts will be uploaded.

@diamondburned
Copy link
Owner

Whoops! It's actually fixed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants