Closed MarcoDotIO closed 6 years ago
linking Hamsters_NX.elf main.o: In function main': /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:537: undefined reference tosetInitialize' /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:538: undefined reference to setGetSystemLanguage' /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:539: undefined reference tosetMakeLanguage' /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:567: undefined reference to `setExit' collect2: error: ld returned 1 exit status /home/foxofgrey/home/foxofgrey/devkitPro//libnx/switch_rules:51: recipe for target '/home/foxofgrey/projects/myswitchproject/Hamsters_NX/Hamsters_NX.elf' failed make[1]: [/home/foxofgrey/projects/myswitchproject/Hamsters_NX/Hamsters_NX.elf] Error 1 Makefile:144: recipe for target 'build' failed make: [build] Error 2
main': /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:537: undefined reference to
setGetSystemLanguage' /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:539: undefined reference to
Don't ask why home/foxofgrey/ is repeated twice, that's how devkitPro likes it apparently.
Update: Update Libnx https://github.com/switchbrew/libnx/
linking Hamsters_NX.elf main.o: In function
main': /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:537: undefined reference to
setInitialize' /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:538: undefined reference tosetGetSystemLanguage' /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:539: undefined reference to
setMakeLanguage' /home/foxofgrey/projects/myswitchproject/Hamsters_NX/source/main.c:567: undefined reference to `setExit' collect2: error: ld returned 1 exit status /home/foxofgrey/home/foxofgrey/devkitPro//libnx/switch_rules:51: recipe for target '/home/foxofgrey/projects/myswitchproject/Hamsters_NX/Hamsters_NX.elf' failed make[1]: [/home/foxofgrey/projects/myswitchproject/Hamsters_NX/Hamsters_NX.elf] Error 1 Makefile:144: recipe for target 'build' failed make: [build] Error 2Don't ask why home/foxofgrey/ is repeated twice, that's how devkitPro likes it apparently.