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

Linux compatibility #1

Open
Chief36 opened this issue Jan 11, 2023 · 2 comments
Open

Linux compatibility #1

Chief36 opened this issue Jan 11, 2023 · 2 comments

Comments

@Chief36
Copy link

Chief36 commented Jan 11, 2023

How do I compile this on Linux? When I try to pass the command go build gui.go I get this error:

command-line-arguments

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find -lXxf86vm
collect2: error: ld returned 1 exit status

And when I try to pass the command go build -ldflags -H=windowsgui gui.go I get this error:

command-line-arguments

/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
gcc: error: unrecognized command-line option ‘-mwindows’

OS: MX Linux 21 (based on Debian 11 Bullseye)
go version: go1.19.2 linux/amd64
odile version: 1.2.0 (?)
odile commit: fddce4b (from master branch)

@Chief36
Copy link
Author

Chief36 commented Jan 11, 2023

Alright, I installed the missing libraries (xorg-dev and libgl1-mesa-dev) and compilation succeeded. Will test the app and make sure to provide valuable comments and feedback.

@Chief36
Copy link
Author

Chief36 commented Jan 11, 2023

So upon execution, it creates two folders wherever the binary is located, namely 'output' and 'logs'. These folders are not being created with proper permissions (d--------- ; where it should be drwxr-xr-x). And I'm unable to choose a file to open. The 'Choose File' button is unresponsive. The 'Receive' button is unresponsive as well.

@Chief36 Chief36 changed the title Compilation on Linux Linux compatibility Jan 11, 2023
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

1 participant