同步操作将从 lotem/librime 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
librime is tested to work on Windows with the following build tools and libraries:
Python>=2.7 is needed to build opencc dictionaries.
You may need to update Boost when using a higher version of VS.
You can also build third-party libraries manually, by following instructions in the build script.
git clone --recursive https://github.com/rime/librime.git
Copy env.bat.template
to env.bat
and edit the script according to your setup.
Specifically, make sure BOOST_ROOT
is set to the path to Boost source directory;
modify CMAKE_GENERATOR
and PLATFORM_TOOLSET
if using a different version of Visual Studio;
set DEVTOOLS_PATH
for build tools installed to a custom location.
When prepared, run the following commands in a Developer Command Prompt window.
build.bat boost
build.bat thirdparty
This builds dependent libraries in thirdparty\src\*
, and copies artifacts to thirdparty\lib
and thirdparty\bin
.
build.bat librime
This creates build\lib\Release\rime.dll
.
copy /Y build\lib\Release\rime.dll build\bin
cd build\bin
echo "congmingdeRime{space}shurufa" | Release\rime_api_console.exe > output.txt
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。