8000 redefinition error · Issue #13 · Berational91/DigimonVPet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

redefinition error #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
toriahazza opened this issue Jun 6, 2025 · 0 comments
Open

redefinition error #13

toriahazza opened this issue Jun 6, 2025 · 0 comments

Comments

@toriahazza
Copy link

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

@toriahazza toriahazza changed the title const short error redefinition error Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0