Skip to content

Build fails on Ubuntu 20.04 #330

Closed
Closed
@r1walz

Description

@r1walz

Bevy requires alsa (provided by libsdl2-dev on Ubuntu) to be compiled
on Linux based platforms as mention by the following error:

Error Log
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"alsa\"` did not exit successfully: exit code: 1\n--- stderr\nPackage alsa was not found in the pkg-config search path.\nPerhaps you should add the directory containing `alsa.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'alsa\' found\n"', /home/r1walz/.cargo/registry/src/github.com-1ecc6299db9ec823/alsa-sys-0.1.2/build.rs:4:5

But I was unable to find this in the docs or anywhere else. Please, investigate and
provide a list of such dependencies for different platforms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Build-SystemRelated to build systems or continuous integrationC-DependenciesA change to the crates that Bevy depends onC-DocsAn addition or correction to our documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions