duanbi3385 2013-08-10 20:07 采纳率: 100%
浏览 93
已采纳

如何将GOPATH链接到LiteIDE?

I've installed LiteIde and exported GOROOT and GOPATH in my .bashrc. When I use LiteIDE, the auto-completion works just fine, but it can't build/run my code. When I look at 'Manage GOPATH', the System GOPATH box is empty, and I can't type into it either.

Looking up online, the solution seems to be - 'link' the GOPATH and LiteIDE. How do I 'link' the two?

  • 写回答

2条回答 默认 最新

  • dongyi0210 2013-08-10 21:48
    关注

    Select the correct environment for you system from the drop-down:

    enter image description here

    For example, if you're on a Mac and used the package installer it would be "darwin64-local" on a 64 bit Mac.

    Then click on the "Go" folder icon on the left of the drop-down.

    enter image description here

    Click "Add Directory..." and add a folder path that contains src, pkg, and bin folders. Essentially what you set GOPATH to.

    Make sure you do not set GOROOT in .bashrc at all. You don't need to set GOROOT, really.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 yolov8边框坐标
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口
  • ¥15 不是,这到底错哪儿了😭
  • ¥15 2020长安杯与连接网探
  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂