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

Copy openal32.dll alongside the executable #13

Closed
ChrisThrasher opened this issue Mar 21, 2023 · 1 comment · Fixed by #21
Closed

Copy openal32.dll alongside the executable #13

ChrisThrasher opened this issue Mar 21, 2023 · 1 comment · Fixed by #21

Comments

@ChrisThrasher
Copy link
Member

Anyone using the Audio module on Windows is going to run into this problem. Because there is no corresponding CMake target for that DLL, CMake can't know to automatically copy it like it does all other DLLs. An upstream fix to SFML/SFML would be preferred but maybe for now we automatically copy that DLL whenever someone is using Windows.

@ChrisThrasher
Copy link
Member Author

ChrisThrasher commented Sep 7, 2023

We've made some progress in SFML 3 to improve this situation but we really just need to add some code to this project automatically copies the correct DLL for their current architecture. It's a bit tedious but doable. That way users can use the Audio module without issue. I've always wanted to fix that long standing issue. This will be simpler if #19 is merged because then we always know where to copy openal32.dll.

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

Successfully merging a pull request may close this issue.

1 participant