Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker errors on Windows #17

Open
cso-mark opened this issue Sep 25, 2021 · 0 comments
Open

Linker errors on Windows #17

cso-mark opened this issue Sep 25, 2021 · 0 comments

Comments

@cso-mark
Copy link

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",
    ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant