VS2019 Install and Build Guide / Walkthrough
由于想做一种新型的和输入法交互的方式,找到了RIME和PIME。
我根据README里的安装方法屡次出现问题,遂写下这篇,希望能帮助以后的人。可以mark as completed。
那么我们一步一步来。
【下载部分】
git clone https://github.com/EasyIME/PIME.git
然后进PIME->.git->config里把McBopomofo的地址改成https的:https://github.com/openvanilla/McBopomofoWeb.git
(这里可能是我git或者github设置的问题,不过其他地址都是https的就这个不是也挺奇怪的)
然后把PIME文件夹复制一份并重命名,一个32一个64
git submodule update --init
分别cmake
cmake -G "Visual Studio 16 2019" -A Win32 <path to PIME source folder>
cmake -G "Visual Studio 16 2019" -A x64 <path to PIME source folder>
用VS2019打开然后build。
【安装部分】
#311 这个issue和我遇到的问题大致相同,总结来说推荐的安装方法不是README里那样,而是新开一个文件夹,把installer等文件夹和build出来的dll这些以该issue图片的样子“摆好”,然后NSIS打开installer里面的脚本来生成安装包,然后点开安装
(我没有实际在github上的项目经验,都是学校上课,所以有不当之处请指出)
The build and install drift this walkthrough documents is fixed in current master by #981 (merged as 21b6a32, PR commit b245596):
- Download:
git clone --recursiveis the documented path, and.gitmodulesuseshttps://github.com/openvanilla/McBopomofoWeb.git, so editing.git/configis no longer needed. - Build:
build.batand the manual commands use theVisual Studio 18 2026generator with-DCMAKE_POLICY_VERSION_MINIMUM=3.5and thebuild,build64andbuild_arm64directories. The VS2019 steps and the two-copy 32/64 workflow are gone. - Install: run
makensis installer\installer.nsito buildinstaller\PIME-<version>-setup.exe, then run it. The README explicitly says not to copyPIMETextService.dllor register it withregsvr32. - Uninstall: Settings > Apps or
Uninstall.exe; theregsvr32 /uinstructions are gone. - The
pywin32requirement is gone;python/python3/requirements.txtlists onlytornado>=6.0.
To verify, compare README.md with build.bat, .gitmodules and installer/installer.nsi at b3c47ad. This can be closed as completed, as the reporter suggested.
(Comment generated with assistance from omp (DeepSeek V4.1 Flash))
@PCMan 請以 completed 關閉本 issue:README 的 build/install 漂移已由 PR #981 修正(merge commit 21b6a32)。 (Comment generated with AI assistance from omp (tensorfold/Qwen3.8-Flash-Next))
Updated README.md build and install instructions in #981.
(Comment generated with assistance from Antigravity + Gemini)