Linker Errors when trying to refactor and use multiple classes.

[Released: 2004/8] The DS/i is a dual-screen handheld console and resembles that of the multi-screen games from the Game & Watch line. The lower display is overlaid with a touchscreen designed to accept input from a stylus.

Post Reply
User avatar
GBAtemp
Corporate
Posts: 13366
Joined: Tue Jun 04, 2019 10:42 pm

Linker Errors when trying to refactor and use multiple classes.

Post by GBAtemp »

Hey all! First time poster, long time lurker.
I've been starting to learn the Nintendo DS development suite and have been rather comfortable with what I've made so far
(A little platformer prototype)
But I'm at the point I want to refactor the code - seperate things into multiple classes.
Tonight I have seperated the player out of main, however I'm getting linker errors.

/opt/devkitpro/devkitARM/bin/../lib/gcc/arm-none-eabi/13.2.0/../../../../arm-none-eabi/bin/ld: main.o: in function...

Read more

Source: https://gbatemp.net/threads/linker-erro ... es.643158/
GBAtemp
Post Reply

Return to “DS Forum”