golang-ui / nuklear

This project provides Go bindings for nuklear.h — a small ANSI C GUI library.
https://github.com/vurtun/nuklear
MIT License
1.57k stars 98 forks source link

Sailfish OS #79

Open tbellembois opened 5 years ago

tbellembois commented 5 years ago

Hello,

This is a newbie question as I am not very aware of the different graphical toolkits. Is there any chance to run a Golang nuklear application under Sailfish OS ? Go getting the package leads to an error (probably due to the fact that Sailfish runs Wayland but I am not sure).

Regards.

xlab commented 5 years ago

Hi! Wayland is not supported directly, only via GLFW (desktop-class loader). I think we could implement Wayland loader targeting Sailfish, but I need to test it somewhere. Does emulator provide enough performance to test? I know that Android emulator was limited to GL ES2.

Otherwise shouldn't be much problem, imho.

tbellembois commented 5 years ago

I think that the emulator should be alright. I would much appreciate this implementation.

xlab commented 5 years ago

Go getting the package leads to an error (probably due to the fact that Sailfish runs Wayland but I am not sure).

Are you getting the package on desktop Linux or in Sailfish already? I'm looking for a "starting point" Go program that already compiles and runs fine.

tbellembois commented 5 years ago

On my Sailfish telephone. No problem under Linux. Here is my code: https://github.com/tbellembois/gobkm-nk/blob/master/main.go I would like to be able to run it under Sailfish.