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

Investigate multiple LNK2005 errors for Windows #77

Open
lukewilliamboswell opened this issue Nov 8, 2024 · 0 comments
Open

Investigate multiple LNK2005 errors for Windows #77

lukewilliamboswell opened this issue Nov 8, 2024 · 0 comments

Comments

@lukewilliamboswell
Copy link
Owner

In build.rs we have a message as follows, this issue is to track this and investigate what it means, if we need to do anything about it.

/// TODO Investigate why we need this... we this error when linking raylib
// this seems to be an acceptable workaround.
// = note: libraylib-69fe326be1a79017.rlib(rcore.obj) : error LNK2005: CloseWindow already defined in user32.lib(USER32.dll)␍
// libraylib-69fe326be1a79017.rlib(raudio.obj) : error LNK2005: PlaySound already defined in winmm.lib(WINMM.dll)␍
println!("cargo:rustc-link-arg=/FORCE:MULTIPLE");
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