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

ios and android ? #894

Closed
gedw99 opened this issue Apr 22, 2022 · 6 comments · Fixed by #924
Closed

ios and android ? #894

gedw99 opened this issue Apr 22, 2022 · 6 comments · Fixed by #924
Projects

Comments

@gedw99
Copy link

gedw99 commented Apr 22, 2022

I gave it a shot anyway to see ....

IOS:

gogio -o godcr.app -target ios .
xcrun simctl install booted godcr.app 

Screenshot 2022-04-22 at 12 19 43

ANDROID:

gogio -target android .
gogio: go build -ldflags=-w -s -X gioui.org/app/internal/log.appID=com.github.godcr -buildmode=c-shared -tags  -o /var/folders/wp/ff6sz9qs6g71jnm12nj2kbyw0000gp/T/gogio-3048283512/jni/x86/libgio.so . failed: # github.com/lib/pq
../../../../pkg/mod/github.com/lib/pq@v1.10.3/user_posix.go:13:6: userCurrent redeclared in this block
	../../../../pkg/mod/github.com/lib/pq@v1.10.3/user_other.go:8:6: other declaration of userCurrent

has a postres driver dependency that is messing things up for android ?

@monsa00 monsa00 added this to To do in godcr board Apr 22, 2022
@monsa00 monsa00 moved this from To do to Backlog in godcr board Apr 22, 2022
@Sirmorrison
Copy link
Contributor

looking through the http://github.com/lib/pq, i see this issue was resolved by the PR lib/pq#1060

@Sirmorrison
Copy link
Contributor

@Sirmorrison
Copy link
Contributor

After further review, it was found out that godcr is references an older version of pq library

image

godcr board automation moved this from Backlog to Done May 11, 2022
@gedw99
Copy link
Author

gedw99 commented May 12, 2022

Any reason why the client gui even as a reference to PostgreSQL driver ? Just curious if the gui makes a connection to a PostgreSQL server ?

@dreacot
Copy link
Collaborator

dreacot commented May 12, 2022

@gedw99
Copy link
Author

gedw99 commented May 12, 2022

ah makes sense now . thanks

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

Successfully merging a pull request may close this issue.

3 participants