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

x64 build for librime, WeaselDeployer.exe and WeaselServer.exe #459

Closed
CharlesMengCA opened this issue Jan 3, 2020 · 2 comments
Closed
Labels

Comments

@CharlesMengCA
Copy link
Contributor

Hi,

Could you add x64 build for librime, WeaselDeployer.exe and WeaselServer.exe?

I love rime very much and would like to give it a try to run x64 version on Windows 10 64bit

Thanks a lot.

@Prcuvu
Copy link
Contributor

Prcuvu commented Jan 3, 2020

We have x64 IME/TSF binaries for Weasel to work with x64 applications already.

I don't find it necessary to include x64 backend binaries in the installer package because the performance boost it may possibly bring is too little. Plus, the peak memory consumption is much less than 4 gigabytes under most situations.

You may go ahead pull the source tree and follow the instructions in Markdown documents to compile them by yourself.

@Prcuvu Prcuvu transferred this issue from rime/librime Jan 3, 2020
@Prcuvu Prcuvu added the Question label Jan 3, 2020
@CharlesMengCA
Copy link
Contributor Author

I recently wrote a small windows service to serve static HTML pages and found that x64 build has bigger file size but smaller memory consumption comparing to x86 build. the size WeaselServer.exe is not big, so I think I should give it a try.

I successfully built Weasel with current instruction you posted here, but having difficulty build WeaselServer.exe and WeaselDeployer.exe in x64 mode because they need x64 version of rime.lib and rime.dll.

I tried to build the third party libs and lib rime with -DCMAKE_GENERATOR_PLATFORM=x64 and got the x64 version of rime.lib. used them to generate the WeaselServer.exe. The file size of the x64 version is only 1.09MB while the x32 is 1.5MB. this doesn't look good.

I tried to run my x64 build and the IME is not working. I am not expert in C++, so I asked help here. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants