-
-
Notifications
You must be signed in to change notification settings - Fork 34
Some build issues #13
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
Comments
Nanosleep should be available with mingw, I'm not sure why that issue is happening. As for the macOS issues, those confuse me as well. The header causing that issue shouldn't exist because RGFW is designed for C and that is an objective c header iirc. That's why RGFW needs to define these types and functions. None of these issues happen when compiling with C normally. |
Never mind on nanosleep. It seems that only some versions of mingw include nanosleep. I'll look more into this issue asap. |
Ok, I understand now, I have this in CFLAGS |
I'm pretty sure Miniaudio should be able to compile without objective-c. |
For iOS needs to be compiled as objective-c, and this was probably left then from some experiment. I will remove it. |
Could you also tell me what the redef errors for Linux were? |
For Linux, similar warnings as above for Windows, about redefined Rectangle. |
Yes, for Linux, only warnings, there were no errors, sorry. |
Ok, then the windows error is the only one that's left? I'll fix it later by adding |
Should be solved now. |
All good, thanks. |
I added the RGFW backend to my Raylib Go bindings and noticed a few issues with MinGW and macOS.
This happens when I try to compile with OSXCross:
I just "fixed" this but commenting offending lines, but with GitHub actions, there are more, I guess that SDK versions are different:
And then, there is the issue with MinGW:
The problem with
nanosleep
is on line6077 #ifndef _MSC_VER
, I just fixed this with#if !defined(_MSC_VER) && !defined(__MINGW32__)
.Linux only had some redefinition errors, I hacked it with some undefs. They are unfortunate because I cannot silence only redefinition warnings.
Hope this is helpful.
The text was updated successfully, but these errors were encountered: