Skip to content

Linker errors on Windows #17

@cso-mark

Description

@cso-mark

I tried to build on Windows 10 with just deps = ["@bazelregistry_sdl2//:SDL2_lib"], but I got a bunch of linker errors. Here is the list of libraries I had to add to get rid of the linker errors.

    linkopts = ["User32.lib",
                "Shell32.lib",
                "Ole32.lib",
                "Winmm.lib",
                "OleAut32.lib",
                "Gdi32.lib",
                "Version.lib",
                "Setupapi.lib",
                "Imm32.lib",
                "Advapi32.lib",
    ]

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