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

undefined reference to `rCloseWindow' #10

Closed
joseph-montanez opened this issue May 31, 2021 · 1 comment
Closed

undefined reference to `rCloseWindow' #10

joseph-montanez opened this issue May 31, 2021 · 1 comment

Comments

@joseph-montanez
Copy link

Both on Windows and Linux has this is undefined using the pre-built Raylib releases:
https://github.com/raysan5/raylib/releases

If change it back to CloseWindow, it works fine.

[LinkName("rCloseWindow") /* linker fix */]

I think this is because you tried to compile this on your own and Raylib has issues with the Windows API when being included.

@M0n7y5
Copy link
Owner

M0n7y5 commented Jun 1, 2021

Yeah this is definitely fix for Win API linking. I provided working binaries in release, but only for windows. I am interested in Linux development tho. But i want to use WSL for it, so i need to figure it out few things first. Anyways ... i am gonna push small fix for this ASAP.

@M0n7y5 M0n7y5 closed this as completed in 18c6d91 Jun 1, 2021
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

2 participants