Skip to content
Snippets Groups Projects
Closed Windows build issues
  • View options
  • Windows build issues

  • View options
  • Closed Issue created by Sébastien Blin

    Scenario

    • Build jami-qt following the docs with a brand new Windows 11

    Issues

    • cmake is not correctly installed by chocolatey (not in path)
    • WSL is not installed with any distribution
    • Ask users to allow Virtualization in the BIOS

    Build error

    C:\Users\sfl\Projects\jami-project>python build.py --install
    [ INFO     1665586231.109292       main: 835 ] Making: daemon
    [ INFO     1665586231.109292    resolve: 465 ]  Resolving: daemon
    [ WARNING  1665586231.124917 make_daemon: 226 ] Cmake generating vcxproj files
    -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.16299.0.
    -- The C compiler identification is MSVC 19.29.30146.0
    -- The CXX compiler identification is MSVC 19.29.30146.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Configuring done
    -- Generating done
    -- Build files have been written to: C:/Users/sfl/Projects/jami-project/daemon/build
    [ INFO     1665586237.377584    resolve: 465 ]     Resolving: asio
    [ INFO     1665586237.393208    resolve: 465 ]       Resolving: openssl
    [ WARNING  1665586237.408835       make: 287 ]        openssl is not up to date
    [ DEBUG    1665586237.408835  fetch_pkg: 339 ]         Fetching openssl from: https://github.com/openssl/openssl/archive/OpenSSL_1_1_1-stable.tar.gz
    --2022-10-12 10:50:37--  https://github.com/openssl/openssl/archive/OpenSSL_1_1_1-stable.tar.gz
    Resolving github.com (github.com)... 140.82.112.3
    Connecting to github.com (github.com)|140.82.112.3|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://codeload.github.com/openssl/openssl/tar.gz/refs/heads/OpenSSL_1_1_1-stable [following]
    --2022-10-12 10:50:37--  https://codeload.github.com/openssl/openssl/tar.gz/refs/heads/OpenSSL_1_1_1-stable
    Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
    Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: unspecified [application/x-gzip]
    Saving to: 'C:/Users/sfl/Projects/jami-project/daemon/contrib/tarballs/openssl_OpenSSL_1_1_1-stable.tar.gz'
    
    C:/Users/sfl/Projects/jami-pr     [         <=>                                      ]   9,58M  5,42MB/s    in 1,8s
    
    2022-10-12 10:50:39 (5,42 MB/s) - 'C:/Users/sfl/Projects/jami-project/daemon/contrib/tarballs/openssl_OpenSSL_1_1_1-stable.tar.gz' saved [10046816]
    
    [ DEBUG    1665586239.895778 extract_tar: 376 ]           Decompressing OpenSSL_1_1_1-stable.tar.gz to C:\Users\sfl\Projects\jami-project\daemon\contrib\build\openssl
    [ DEBUG    1665586241.427032      apply: 422 ]         patching openssl...
    [ DEBUG    1665586245.588293 setup_vs_env: 717 ]          Setting up vs environment
    dictionary update sequence element #0 has length 1; 2 is required
    [ ERROR    1665586248.318790    resolve: 471 ]       Make openssl failed!
    Traceback (most recent call last):
      File "C:\Users\sfl\Projects\jami-project\build.py", line 718, in <module>
        main()
      File "C:\Users\sfl\Projects\jami-project\build.py", line 693, in main
        run_install(parsed_args)
      File "C:\Users\sfl\Projects\jami-project\build.py", line 372, in run_install
        return subprocess.run([
      File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 524, in run
        raise CalledProcessError(retcode, process.args,
    subprocess.CalledProcessError: Command '['C:\\Users\\sfl\\AppData\\Local\\Microsoft\\WindowsApps\\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\\python.exe', 'C:\\Users\\sfl\\Projects\\jami-project\\scripts/build-windows.py', '--toolset', '142', '--sdk', '10.0.16299.0']' returned non-zero exit status 1.
    
    C:\Users\sfl\Projects\jami-project>

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first