When i try to compile a libnx app which uses SDL2, i always get the following linker error after compiling ok:
aarch64-none-elf-g++.exe: fatal error: C:/devkitPro/libnx/switch.specs: attempt to rename spec 'link' to already defined spec 'old_link'
I've tested it with other projects which don't use SDL2 and everything works ok.
I've also updated devkitpro several times using pacman, no idea what's wrong. Any help?
aarch64-none-elf-g++.exe: fatal error: C:/devkitPro/libnx/switch.specs: attempt to rename spec 'link' to already defined spec 'old_link'
I've tested it with other projects which don't use SDL2 and everything works ok.
I've also updated devkitpro several times using pacman, no idea what's wrong. Any help?