Installing LiteIDE(Go 语言开发工具)

love254443233 · · 2187 次点击 · · 开始浏览    
这是一个创建于 的文章,其中的信息可能已经有所发展或是发生改变。

Prerequisites

Use LiteIDE development golang need to install the Go language development environment.

Go

Begin by installing the Go language runtime. Detailed instructions can be found athttp://golang.org/doc/install.html. Testing your installation before continuing is highly recommended.

Install from binary

http://sourceforge.net/projects/liteide/files

Windows

Download the archive and extract it into c:\

Linux and MacOSX

Download the archive and extract it into /usr/local or $HOME

Building from Source

Source code for LiteIDE can be found at https://github.com/visualfc/liteide. You will need to install Qt4/Qt5 in order to compile the source. Qt can be obtained fromhttps://qt-project.org/downloads or from your distribution's package manager.

Windows

> git clone https://github.com/visualfc/liteide.git
> set QTDIR=c:\Qt\Qt484
> set MINGWDIR=c:\Qt\MinGW
> cd liteide/build
> update_pkg.cmd
> build_mingw.cmd
> deploy_qt4.8_webkit.cmd

Linux

$ git clone https://github.com/visualfc/liteide.git
$ export QTDIR=$HOME/QtSDK/Desktop/Qt/484/gcc
$ cd liteide/build
$ ./update_pkg.sh
$ ./build_linux.sh
$ ./deploy_linux_qt4.8_webkit.sh

Ubuntu

$ git clone https://github.com/visualfc/liteide.git
$ sudo apt-get update
$ sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui
$ cd liteide/build
$ ./update_pkg.sh
$ QTDIR=/usr ./build_linux.sh

## Run it: ##
$ cd ~/liteide/build/liteide/bin
$ ./liteide

Mac OS X

$ git clone https://github.com/visualfc/liteide.git
$ export QTDIR=$HOME/QtSDK/Desktop/Qt/484/gcc
$ cd liteide/build
$ ./update_pkg.sh
$ ./build_osx.sh
$ ./deploy_osx_qt4.sh

OpenBSD

$ git clone https://github.com/visualfc/liteide.git
$ export QTDIR=/usr/local/lib/qt4
$ cd liteide/build
$ ./update_pkg.sh
$ ./build_openbsd.sh

## Run it: ##
$ export LD_LIBRARY_PATH=$HOME/liteide/build/liteide/bin:$LD_LIBRARY_PATH
$ cd ~/liteide/build/liteide/bin
$ ./liteide

Be sure to set QTDIR (and MINGWDIR for Windows users) accordingly based on your local environment.


有疑问加站长微信联系(非本文作者)

本文来自:CSDN博客

感谢作者:love254443233

查看原文:Installing LiteIDE(Go 语言开发工具)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

2187 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传