stormon-force / odile

GUI utility for croc
MIT License
17 stars 3 forks source link

Linux compatibility #1

Open Chief36 opened 1 year ago

Chief36 commented 1 year ago

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: fddce4bfcad7c5b13e4561dfbfe0aa076827f1d8 (from master branch)

Chief36 commented 1 year ago

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 commented 1 year ago

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.