Search found 1828 matches

by WinterMute
Sat Feb 10, 2024 12:56 pm
Forum: Switch Development
Topic: SDL 2.28.5 linker error: unrecognized command-line option '-march'
Replies: 9
Views: 684

Re: SDL 2.28.5 linker error: unrecognized command-line option '-march'

Does it work with joycons or is it a general controller issue. I tested with what I had handy but I didn't think to dig out a pro-controller. (...) It didn't work with any controller. The whole GameController interface of SDL2 was borked. The joystick interface worked. Here's the fix: https://githu...
by WinterMute
Thu Feb 08, 2024 1:22 am
Forum: Switch Development
Topic: SDL 2.28.5 linker error: unrecognized command-line option '-march'
Replies: 9
Views: 684

Re: SDL 2.28.5 linker error: unrecognized command-line option '-march'

I also tried setting DDEVILUTIONX_ASSETS_OUTPUT_DIRECTORY but ended up with davem@straylight devilutionX % cmake --build _switch --parallel [0/2] Re-checking globbed directories... ninja: error: dependency cycle: /Users/davem/projects/switch/devilutionX/assets/arena/church.dun -> /Users/davem/projec...
by WinterMute
Thu Feb 08, 2024 1:14 am
Forum: Gamecube/Wii Development
Topic: SDL 1.2 without mouse emulation
Replies: 12
Views: 808

Re: SDL 1.2 without mouse emulation

That's probably a fair point really. I'll see what I can do.
by WinterMute
Wed Feb 07, 2024 10:47 pm
Forum: Switch Development
Topic: SDL 2.28.5 linker error: unrecognized command-line option '-march'
Replies: 9
Views: 684

Re: SDL 2.28.5 linker error: unrecognized command-line option '-march'

Does it work with joycons or is it a general controller issue. I tested with what I had handy but I didn't think to dig out a pro-controller. I had an attempt at building devilution but I failed at the first hurdle unfortunately - this is the last few lines of my attempt to configure a build -- Coul...
by WinterMute
Wed Feb 07, 2024 12:48 pm
Forum: devkitPPC
Topic: libfreetype link problems after last update
Replies: 12
Views: 603

Re: libfreetype link problems after last update

I've removed the freetype dependency on harfbuzz in this now. The circular dependency I think is more hassle than it's worth
by WinterMute
Wed Feb 07, 2024 12:38 pm
Forum: Switch Development
Topic: SDL 2.28.5 linker error: unrecognized command-line option '-march'
Replies: 9
Views: 684

Re: SDL 2.28.5 linker error: unrecognized command-line option '-march'

staphen wrote: Sun Feb 04, 2024 7:00 pm I've confirmed the latest package resolves the issue with the sample as well as with DevilutionX. Now I guess we'll just need to wait for the docker image to be updated. Thanks!
docker has been updated now. I take the updated SDL is behaving fine for you otherwise?
by WinterMute
Mon Feb 05, 2024 8:12 pm
Forum: Gamecube/Wii Development
Topic: SDL 1.2 without mouse emulation
Replies: 12
Views: 808

Re: SDL 1.2 without mouse emulation

Ok, but if you plug a mouse into your Wii then it does just work. I'm not entirely sure it's reasonable to expect the WiiMote to work this way unless you take steps to enable it.
by WinterMute
Mon Feb 05, 2024 6:08 pm
Forum: Gamecube/Wii Development
Topic: SDL 1.2 without mouse emulation
Replies: 12
Views: 808

Re: SDL 1.2 without mouse emulation

Our equivalent is here https://github.com/devkitPro/SDL/blob/o ... .c#L54-L71

If you run the code I posted you'll see a mouse pointer that can be controlled with the wiimote. You need to open joystick 0 for this to work.
by WinterMute
Mon Feb 05, 2024 5:19 pm
Forum: Gamecube/Wii Development
Topic: SDL 1.2 without mouse emulation
Replies: 12
Views: 808

Re: SDL 1.2 without mouse emulation

Hi, in the old version of SDL 1.2 library you can use wiimote as mouse. Why this option is not available in devkitPro version? Now I've had a chance to look there doesn't appear to be a problem. This code shows a mouse pointer that moves with the wiimote for me. #include "SDL.h" int main ...
by WinterMute
Sun Feb 04, 2024 6:19 pm
Forum: devkitPPC
Topic: libfreetype link problems after last update
Replies: 12
Views: 603

Re: libfreetype link problems after last update

Sorry, I edited post above while you were replying.

There still seems to be an issue with pkgconf (used as replacement for pkg-config on msys2)

https://github.com/pkgconf/pkgconf/issues/342