Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Rnnoise does not compile on Windows #7

@Flakebi

Description

@Flakebi

Hi,

rnnoise has a few problems when it comes to compiling on Windows.

  1. libclang has to be installed and referenced by $env:LIBCLANG_PATH = "/path/to/clang/dlls/", not a big problem but if you know a way to make this more convenient that would be nice.
  2. msvc does not support variable size stack arrays. There are some open pull-requests which fix this issue, also Mumble uses its own fork with a fix: https://github.com/mumble-voip/rnnoise
  3. There is a line that crashes on Windows and probably gets optimized out on Linux. Removing it is not perfect but it works afterwards 🤷 Flakebi/rnnoise@fdc7a18
  4. M_PI is missing by default on Windows.
  5. The Windows linker complains about symbols being defined multiple times when using audiopus and rnnoise simultaneously.

Here is my full list of changes: xiph/rnnoise@master...Flakebi:master.

The upstream project doesn’t seem to be maintained unfortunately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions