Add the path to MinGW gcc to your Windows PATH environment variable.
When i try to use cgo I get the error
exec gcc: exec: "gcc": executable file not found in %PATH%
I have Mingw installed. How do I tell Goclipse where gcc is? I could not find a way in preferences or properties to set this.
2条回答 默认 最新
- 已采纳 douguachan2879 2012-07-07 04:20点赞 评论 复制链接分享
- dongsisui7562 2017-05-08 09:34
I had the same problem and just wanted to add that you specifically need to add the path to the bin directory of MinGW to your PATH environment variable. Something like:
Not enough reputation to make this a comment, so it's an answer.点赞 评论 复制链接分享