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

GOCACHE is not defined 出现这个错误 #25

Closed
lchjczw opened this issue May 2, 2019 · 5 comments
Closed

GOCACHE is not defined 出现这个错误 #25

lchjczw opened this issue May 2, 2019 · 5 comments

Comments

@lchjczw
Copy link

lchjczw commented May 2, 2019

`
$ make start

build cache is required, but could not be located: GOCACHE is not defined and %L ocalAppData% is not defined

make: *** [Makefile:15: start] Error 1
`
执行Makefile出错,但是我看了,这个编译代码,怎么会提示这个错误呢

@lchjczw
Copy link
Author

lchjczw commented May 2, 2019

我在环境变量里面设置了GOCACHE为一个路径,还是不行

@lchjczw
Copy link
Author

lchjczw commented May 2, 2019

这个地方是设置在golang里面,不过我在Windows下还是没有编译通过,应该是sqllite需要重新编译,我看除了需要gcc外,还需要动态链接库

@lchjczw
Copy link
Author

lchjczw commented May 2, 2019

还是我的姿势,哪里不太对?

@lchjczw
Copy link
Author

lchjczw commented May 3, 2019

找到问题了,Windows下编译sqlite有问题,估计在Linux和mac下是没有什么问题的
解决方法:安装完整版的tdm-gcc可以解决,安装mingw和msys是不行的,库不完整

@lchjczw lchjczw closed this as completed May 17, 2019
@freeaswind
Copy link

找到问题了,Windows下编译sqlite有问题,估计在Linux和mac下是没有什么问题的 解决方法:安装完整版的tdm-gcc可以解决,安装mingw和msys是不行的,库不完整

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