How to compile jami on windows

Can you please provide instructions for compiling Jami on Windows? Thank you.

Maybe it’s explained in the docs?

in addition to docs, the windows build is currently broken on daemon master, i would recommend to use
this commit
and this commit for the client

thinks a lot! I build with instrution for linux. when i run : python ./ --install.
there is error information:
[ INFO 1692053980.764749 resolve: 474 ] Resolving: asio
[ INFO 1692053980.768750 resolve: 474 ] Resolving: openssl
[ WARNING 1692053980.770751 make: 292 ] Cleaning build for openssl
[ WARNING 1692053980.801256 make: 296 ] openssl is not up to date
[ WARNING 1692053980.802256 fetch_pkg: 359 ] OpenSSL_1_1_1-stable.tar.gz already exists in the tarball/archive directory
[ DEBUG 1692053980.807758 apply: 431 ] patching openssl…
适用于 Linux 的 Windows 子系统没有已安装的分发版。
可以通过访问 Microsoft Store 来安装分发版:

[ DEBUG 1692053981.159043 setup_vs_env: 726 ] Setting up vs environment
[ DEBUG 1692053984.777361 build: 516 ] Custom Build phase
Can’t open perl script “Configure”: No such file or directory

Microsoft (R) 程序维护实用工具 14.29.30138.0 版
版权所有 (C) Microsoft Corporation。 保留所有权利。

NMAKE : fatal error U1064: 未找到 MAKEFILE 并且未指定目标
[ ERROR 1692053985.072616 make: 330 ] Couldn’t build contrib openssl
Traceback (most recent call last):
File “D:\jami\jami-project\”, line 720, in
File “D:\jami\jami-project\”, line 695, in main
File “D:\jami\jami-project\”, line 374, in run_install
File “C:\Users\raosh\AppData\Local\Programs\Python\Python39\lib\”, line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘C:\Users\raosh\AppData\Local\Programs\Python\Python39\python.exe’, ‘D:\jami\jami-project\scripts/’, ‘–toolset’, ‘142’, ‘–sdk’, ‘10.0.19041.0’]’ returned non-zero exit status 1.

should I install wsl …

Prefer to follow windows instructions.
Also, sometimes the build breaks like your log, but if you try running the same command again it should pass. The build pipeline is under refactoring and we hope it will prevent that kind of error.

1 Like