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

Should link against windows rutnime libraries #14

Open
Ybalrid opened this issue Nov 24, 2023 · 0 comments
Open

Should link against windows rutnime libraries #14

Ybalrid opened this issue Nov 24, 2023 · 0 comments

Comments

@Ybalrid
Copy link
Member

Ybalrid commented Nov 24, 2023

Either the library, or the downstream executable should instruct the linker that libraries like user32, kernel32 and shell32 are required. If not, you cannot actually link an executable together.

This may be avoided if instead openvr_api.dll was dynamically linked, as that responsibility falls from the linker at build time, down to the operating system at module load time!

But Since we statically link against openvr_api, we should satisfy its requirements...

For reference, here's a screenshot of a tool that shows runtime dependencies of DLL files. These are the DLLs required for all the imports from OpenVR

image

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