i have my project linked (there are 2 images, one in the data folder and one in the source folder: the one in the data folder is unused)
what do i need to do
once i type make in my cmd this happens:
my error:
C:\devkitPro\examples\nds\hello_world>make
main.cpp
arm-none-eabi-g++ -MMD -MP -MF /opt/devkitpro/examples/nds/hello_world/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/opt/devkitpro/examples/nds/hello_world/include -I/opt/devkitpro/examples/nds/hello_world/build -I/opt/devkitpro/libnds/include -I/opt/devkitpro/examples/nds/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /opt/devkitpro/examples/nds/hello_world/source/main.cpp -o main.o
linking hello_world.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld.exe: suzanne.o: in function `suzanneTiles':
(.rodata+0x0): multiple definition of `suzanneTiles'; suzanne.o.rodata+0x0): first defined here
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld.exe: suzanne.o: in function `suzannePal':
(.rodata+0x10000): multiple definition of `suzannePal'; suzanne.o.rodata+0x10000): first defined here
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitARM/ds_rules:54: /opt/devkitpro/examples/nds/hello_world/hello_world.elf] Error 1
make: *** [Makefile:95: build] Error 2
what do i need to do
once i type make in my cmd this happens:
my error:
C:\devkitPro\examples\nds\hello_world>make
main.cpp
arm-none-eabi-g++ -MMD -MP -MF /opt/devkitpro/examples/nds/hello_world/build/main.d -g -Wall -O2 -march=armv5te -mtune=arm946e-s -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -I/opt/devkitpro/examples/nds/hello_world/include -I/opt/devkitpro/examples/nds/hello_world/build -I/opt/devkitpro/libnds/include -I/opt/devkitpro/examples/nds/hello_world/build -DARM9 -fno-rtti -fno-exceptions -c /opt/devkitpro/examples/nds/hello_world/source/main.cpp -o main.o
linking hello_world.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld.exe: suzanne.o: in function `suzanneTiles':
(.rodata+0x0): multiple definition of `suzanneTiles'; suzanne.o.rodata+0x0): first defined here
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/9.1.0/../../../../arm-none-eabi/bin/ld.exe: suzanne.o: in function `suzannePal':
(.rodata+0x10000): multiple definition of `suzannePal'; suzanne.o.rodata+0x10000): first defined here
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/opt/devkitpro/devkitARM/ds_rules:54: /opt/devkitpro/examples/nds/hello_world/hello_world.elf] Error 1
make: *** [Makefile:95: build] Error 2