Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译 SQLite fts5 中文扩展 #16

Open
ggymm opened this issue Dec 13, 2022 · 0 comments
Open

编译 SQLite fts5 中文扩展 #16

ggymm opened this issue Dec 13, 2022 · 0 comments

Comments

@ggymm
Copy link
Owner

ggymm commented Dec 13, 2022

项目地址

simple

windows环境编译

环境准备

  1. 安装cmake
  2. 安装msys64,执行 pacman -S --needed base-devel mingw-w64-x86_64-toolchain 安装编译工具链
  3. 安装Git

环境变量

  1. 添加cmake的bin目录到path环境变量
  2. 添加msys64目录下,mingw64的bin目录到path环境变量

编译安装

:: 设置代理
set http_proxy=http://127.0.0.1:9910
set https_proxy=http://127.0.0.1:9910

:: 创建编译目录
mkdir build && cd build

:: 执行cmake
cmake .. -G "Unix Makefiles" -DSIMPLE_WITH_JIEBA=OFF -DCMAKE_INSTALL_PREFIX=release

:: 编译安装
make && make install
@ggymm ggymm changed the title 编译SQLite fts5中文扩展 编译 SQLite fts5 中文扩展 Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant