Skip to content

How can I set SDL2_PATH environment variable on linux (ubuntu)? #8

@dalima-dev

Description

@dalima-dev

I had installed sdl2 by using the command sudo apt-get install libsdl2-2.0-0 libsdl2-dev, then it was installed under the folder /bin/sdl2-config. When I run zig build I still get the error Build Error: ENV variable 'SDL2_PATH' not found%.

Also tried doing export SDL2_PATH=/bin/sdl2-config, but it didn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions