Need some help
Posted: Fri Feb 07, 2020 3:26 am
Hey all new to all this i have setup devkitA64 but i don't think i have the variables set right. https://ibb.co/FgRbRmB but also i get an error while building this source https://github.com/Doonut/fpsCounterSwitch i get the error
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld.exe: main.o: in function main':
C:/Users/USER/Desktop/fpsCounterSwitch-master/source/main.c:8: undefined reference to gfxInitDefault'
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/Users/USER/Desktop/fpsCounterSwitch-master/source/main.c:34: undefined reference to gfxFlushBuffers'
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/Users/USER/Desktop/fpsCounterSwitch-master/source/main.c:39: undefined reference to gfxExit'
collect2.exe: error: ld returned 1 exit status
make[1]: [C:\devkitPro/libnx/switch_rules:80: /home/USER/Desktop/fpsCounterSwitch-master/fpsCounterSwitch-master.elf] Error 1
make: [Makefile:143: build] Error 2
thank you for patience im also learning C then moving onto C++ or is that not the right way? im open to help and any suggestions please thank you.
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld.exe: main.o: in function main':
C:/Users/USER/Desktop/fpsCounterSwitch-master/source/main.c:8: undefined reference to gfxInitDefault'
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/Users/USER/Desktop/fpsCounterSwitch-master/source/main.c:34: undefined reference to gfxFlushBuffers'
c:/devkitpro/devkita64/bin/../lib/gcc/aarch64-none-elf/9.2.0/../../../../aarch64-none-elf/bin/ld.exe: C:/Users/USER/Desktop/fpsCounterSwitch-master/source/main.c:39: undefined reference to gfxExit'
collect2.exe: error: ld returned 1 exit status
make[1]: [C:\devkitPro/libnx/switch_rules:80: /home/USER/Desktop/fpsCounterSwitch-master/fpsCounterSwitch-master.elf] Error 1
make: [Makefile:143: build] Error 2
thank you for patience im also learning C then moving onto C++ or is that not the right way? im open to help and any suggestions please thank you.