如何解决GoLang后端项目中的“无法删除*.log”错误?

huangapple go评论79阅读模式
英文:

How can I solve this "cannot remove *.log" error in a GoLang backend project?

问题

我有一个GoLang后端项目。在构建这个项目时遇到了一个问题。

pkg-config --cflags -- vips vips vips vips

pkg-config: exec: "pkg-config": 在%PATH%中找不到可执行文件

我正在使用Windows 10。

我该如何解决这个问题?

如何解决GoLang后端项目中的“无法删除*.log”错误?

英文:

I have a GoLang backend project. I have an issue when building this project.

# pkg-config --cflags  -- vips vips vips vips
pkg-config: exec: "pkg-config": executable file not found in %PATH%

I am working on Windows 10.

How can I solve this issue?

如何解决GoLang后端项目中的“无法删除*.log”错误?

答案1

得分: 1

我从这个链接中找到了解决方案。

https://stackoverflow.com/questions/1710922/how-to-install-pkg-config-in-windows

你需要在你的电脑上安装G++和其他相关的库,并注册系统环境变量。

英文:

I've found the solution from this link.

https://stackoverflow.com/questions/1710922/how-to-install-pkg-config-in-windows

You have to install G++ and other relevant libraries on your computer and register the system environment variable.

huangapple
  • 本文由 发表于 2021年5月20日 07:31:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/67612159.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定