PIME icon indicating copy to clipboard operation
PIME copied to clipboard

VS2019 Install and Build Guide / Walkthrough

Open stanley50z opened this issue 2 years ago • 3 comments

由于想做一种新型的和输入法交互的方式,找到了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上的项目经验,都是学校上课,所以有不当之处请指出)

stanley50z avatar May 30 '24 14:05 stanley50z

The build and install drift this walkthrough documents is fixed in current master by #981 (merged as 21b6a32, PR commit b245596):

  • Download: git clone --recursive is the documented path, and .gitmodules uses https://github.com/openvanilla/McBopomofoWeb.git, so editing .git/config is no longer needed.
  • Build: build.bat and the manual commands use the Visual Studio 18 2026 generator with -DCMAKE_POLICY_VERSION_MINIMUM=3.5 and the build, build64 and build_arm64 directories. The VS2019 steps and the two-copy 32/64 workflow are gone.
  • Install: run makensis installer\installer.nsi to build installer\PIME-<version>-setup.exe, then run it. The README explicitly says not to copy PIMETextService.dll or register it with regsvr32.
  • Uninstall: Settings > Apps or Uninstall.exe; the regsvr32 /u instructions are gone.
  • The pywin32 requirement is gone; python/python3/requirements.txt lists only tornado>=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))

asdf80730 avatar Oct 25 '26 20:10 asdf80730

@PCMan 請以 completed 關閉本 issue:README 的 build/install 漂移已由 PR #981 修正(merge commit 21b6a32)。 (Comment generated with AI assistance from omp (tensorfold/Qwen3.8-Flash-Next))

asdf80730 avatar Nov 12 '26 14:11 asdf80730

Updated README.md build and install instructions in #981.

(Comment generated with assistance from Antigravity + Gemini)

PCMan avatar Nov 15 '26 05:11 PCMan