Skip to content
New issue

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

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

Already on GitHub? # to your account

raylibVersion symbol not included in MSVC DLL for raylib 4.2.0 #21

Closed
schveiguy opened this issue Sep 5, 2022 · 5 comments
Closed

raylibVersion symbol not included in MSVC DLL for raylib 4.2.0 #21

schveiguy opened this issue Sep 5, 2022 · 5 comments

Comments

@schveiguy
Copy link
Owner

In raysan5/raylib#2671 it was noted that the MSVC dll for raylib 4.2.0 doesn't properly export the raylibVersion symbol.

The fix is simple. But there will not be a new binary built! So we can include the DLL directly on our repository. However, if we start going that route, we may as well just include them all. Or at least set up a way to download them all.

My first inclination is to include all the pre-packaged binaries on the repository, and then provide a sub-project to install it to the right place -- either your project directory (Windows) or /usr/local/lib (Posix). Then building can be done without having to properly install the lib files.

@EugZol
Copy link

EugZol commented Sep 8, 2022

Would be helpful if this was solved and binding actually worked :)

@schveiguy
Copy link
Owner Author

schveiguy commented Sep 8, 2022

Sorry. I fear there is zero chance that Ray will fix the official build. The only thing I can do is either a) disable the validateRaylibBinding function in windows, or b) provide my own corrected build.

I will see if I can in the next week make a build on Windows. I don't have a Windows system that I use regularly, so it's a process...

@EugZol
Copy link

EugZol commented Sep 8, 2022

No worries, thanks for your work! I don't know much about C or D ecosystems and how things work traditionally but bundling dll in the bindings seems like a good idea to me.

@schveiguy
Copy link
Owner Author

Please try out the new raylib-d install script in 4.2.1 and see if it fixes your issue.

@schveiguy
Copy link
Owner Author

I'm satisfied this is fixed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants