Skip to content

[Software Issue] cross-compiling for Windows #1227

@csylvain

Description

@csylvain

Platform

Linux

Platform Version

Ubuntu 24.04.3 LTS

FreeDV Version

dev-2026-02-14-259c

Steps to Reproduce

  1. ensure Ubuntu prerequisites are installed
  2. obtain llvm-mingw-20251216-ucrt-ubuntu-22.04-x86_64.tar.xz as shown in "Building for Windows" "Instructions" step #1
  3. add LLVM path and use the cmake command as shown in "Building for Windows" "Instructions" step #5 [arch x86_64]

Expected Behavior

successfully compiled FreeDV-dev-2026-02-14-259c

Actual Behavior

[Error 2](make: *** [Makefile:156: all] Error 2)

during the compile, the following message in red text is emitted:

CMake Error at CMakeLists.txt:56 (message):
  Must provide -DPython3_ROOT_DIR when cross-compiling.

Additional Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions