Git Product home page Git Product logo

Comments (1)

kerneltravel avatar kerneltravel commented on August 22, 2024 4

解决了。gojiebad的bleve测试代码,使用LiteIDE菜单内自带的go build都可以了。在这之前,需要做一下准备:
先git clone 出gojieba到GOROOT内,并在LiteIDE内对其做go build和go install。
LiteIDE环境必须设置有CGO_ENABLED=1
例如我的 ( LiteIDE 自动处理环境参数的 ):

set GOARCH=386
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=你的完整GOPATH路径内容
set GORACE=
set GOROOT=d:\install\go
set GOTOOLDIR=d:\install\go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\myname\AppData\Local\Temp\go-build198692226=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1

from gojieba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.