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

Undefined pointer.ButtonLeft When execute go run -race github.com/yarcat/playground-gio/transition-app #4

Open
TechComSpot opened this issue Aug 28, 2021 · 12 comments

Comments

@TechComSpot
Copy link

....\go\pkg\mod\github.com\yarcat\playground-gio@v0.0.0-20200921171708-533b06c8706a\transition-app\gesture\drag.go:31:20: undefined: pointer.ButtonLeft

Hi, I tried to execute go run -race github.com/yarcat/playground-gio/transition-app but got such kind of an error.

Could you advice, please ?

@yarcat
Copy link
Owner

yarcat commented Sep 24, 2021

Sorry for the delay

Tried out

git clone git@github.com:yarcat/playground-gio.git
cd playground-gio
go run -race ./transition-app

Seems to work perfectly to me

Could you try to repeat the same?

@yarcat
Copy link
Owner

yarcat commented Sep 24, 2021

I think the reason is that I haven't updated my dependencies for a long while. Maybe there's no more pointer.ButtonLeft in gioui. How do you run it?

@TechComSpot
Copy link
Author

TechComSpot commented Sep 25, 2021 via email

@TechComSpot
Copy link
Author

Hi, tnx for response
image

@yarcat
Copy link
Owner

yarcat commented Sep 25, 2021

Yeah, you need a r/o version. Please use git clone https://github.com/yarcat/playground-gio.git or gh repo clone yarcat/playground-gio (if you have gh installed, which I recommend, since it's a great tool dealing with GitHub)

@TechComSpot
Copy link
Author

Thanx
I have manage it to run :D
image

@TechComSpot
Copy link
Author

Um....it is all ? :D
I mean what does it do?
Is it only preview for gifs or they could be created with the app ?

@yarcat
Copy link
Owner

yarcat commented Sep 25, 2021 via email

@TechComSpot
Copy link
Author

Could it be build for android?
Because I got the error
image

@yarcat
Copy link
Owner

yarcat commented Sep 25, 2021 via email

@yarcat
Copy link
Owner

yarcat commented Sep 25, 2021

LoL
GitHub hasn't included my attachment (-; So sending it here image sample

This one I've created manually, and then decided to automate the process. But had never finished it (-;

20200912_150342

@yarcat
Copy link
Owner

yarcat commented Sep 25, 2021

It builds for me

Please note that I've invoked this:
go get gioui.org/cmd/gogio@v0.0.0-20200912153211-2f67feafc0a2
To ensure I use the same version of gogio, as my gioui is:

yarca@DESKTOP-1VRTNBV MINGW64 /f/Documents/playground-gio (master)
$ cat go.mod | grep gioui
        gioui.org v0.0.0-20200912153211-2f67feafc0a2
        gioui.org/cmd v0.0.0-20200912153211-2f67feafc0a2 // indirect

image

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

2 participants