doulao2128 2013-08-26 12:20
浏览 16
已采纳

如何基于levigo进行二次开发

I made a second development on levigo, when I finished it and try to install it on my system with the following command:

go install github.com/AndreMouche/levigo/

it reports the following error:

# github.com/AndreMouche/levigo
/home/fun/software/go/go/pkg/tool/linux_amd64/6c: unknown flag -FVw

Does anybody know how to fix it?

  • 写回答

1条回答 默认 最新

  • doushou5761 2013-08-26 15:57
    关注

    Your go command probably differs from your go tool chain. Check if the right version of the go tool is in the PATH of your shell or try reinstalling go.

    The go tool calls tools like the compiler (e.g. 6g) and the linker. If the go tool version does not correspond with the version of these tools, said tools may get called with parameters they don't yet know or they don't know anymore.

    Check the version using these commands:

    $ go version
    $ go tool 6g -V
    

    They both should report the same version string.

    See this and this post for related problems.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器