Skip to content

redefinition error #13

Description

@toriahazza

I'm trying to flash the code and managed to get the paths right using the arduino ide on windows. i keep stumbling upon the following error message:

[

In file included from C:\Users\littl\Desktop\tama clones\DigimonVPet-master\DigimonVPet-master\digimon.ino\src\GameLogic\ESP32DigimonDataLoader.h:3,
from C:\Users\littl\Desktop\tama clones\DigimonVPet-master\DigimonVPet-master\digimon.ino\digimon.ino.ino:34:
C:\Users\littl\Desktop\tama clones\DigimonVPet-master\DigimonVPet-master\digimon.ino\src\VPetLCD\ImageData\DigimonSprites.h:44:93: error: redefinition of 'const short unsigned int DIGIMON [3][12][16]'
const unsigned short DIGIMON [N_DIGIMON] [N_SPRITES_PER_DIGIMON] [SPRITES_DIGIMON_RESOLUTION] PROGMEM = {
^
In file included from C:\Users\littl\Desktop\tama clones\DigimonVPet-master\DigimonVPet-master\digimon.ino\src\VPetLCD\AbstractSpriteManager.h:3,
from C:\Users\littl\Desktop\tama clones\DigimonVPet-master\DigimonVPet-master\digimon.ino\src\VPetLCD\VPetLCD.h:13,
from C:\Users\littl\Desktop\tama clones\DigimonVPet-master\DigimonVPet-master\digimon.ino\digimon.ino.ino:10:
C:\Users\littl\Desktop\tama clones\DigimonVPet-master\DigimonVPet-master\digimon.ino\src\VPetLCD\ImageData\DigimonSprites.h:44:22: note: 'const short unsigned int DIGIMON [3][12][16]' previously defined here
const unsigned short DIGIMON [N_DIGIMON] [N_SPRITES_PER_DIGIMON] [SPRITES_DIGIMON_RESOLUTION] PROGMEM = {
^~~~~~~
exit status 1

Compilation error: redefinition of 'const short unsigned int DIGIMON [3][12][16]'

]

pls help

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions