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

Fail to buil on Windows 10 #280

Closed
RichestHumanAlive opened this issue Jan 4, 2023 · 1 comment
Closed

Fail to buil on Windows 10 #280

RichestHumanAlive opened this issue Jan 4, 2023 · 1 comment

Comments

@RichestHumanAlive
Copy link

Using make file

> git clone https://github.com/mickael-menu/zk.git
> cd zk 
make
process_begin: CreateProcess(NULL, uname -sm, ...) failed.
Makefile:52: pipe: No error
go build -tags "fts5" -ldflags "-X=main.Version=`git describe --tags --match v[0-9]* 2> /dev/null` -X=main.Build=`git rev-parse --short HEAD`"
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:128049:10: warning: function may return address of local variable [-Wreturn-local-addr]
128049 |   return pNew;
       |          ^~~~
sqlite3-binding.c:128009:10: note: declared here
128009 |   Select standin;
       |          ^~~~~~~
# github.com/mickael-menu/zk

Using go only

> go build
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function 'sqlite3SelectNew':
sqlite3-binding.c:128049:10: warning: function may return address of local variable [-Wreturn-local-addr]
128049 |   return pNew;
       |          ^~~~
sqlite3-binding.c:128009:10: note: declared here
128009 |   Select standin;
       |          ^~~~~~~

I found this tool really helpful for my daily work process with so many use cases but my main work environment is Windows.

Did I miss something ?

Thanks for your reply.

@mickael-menu
Copy link
Member

Take a look at this issue: https://github.com/mickael-menu/zk/issues/216

This particular comment might help you build on Windows: https://github.com/mickael-menu/zk/issues/216#issuecomment-1240471092

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