• Witaj na Forum Arduino Polska! Zapraszamy do rejestracji!
  • Znajdziesz tutaj wiele informacji na temat hardware / software.
Witaj! Logowanie Rejestracja


Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
emulator stacji dyskietek do atari
#1
witajcie,
prośba o pomoc. Próbuję zrobić emulator stacji dyskietek do atari wg https://www.youtube.com/watch?v=_n6lGP4OkiA
niestety podczas kompilacji pojawia  mi się następujący błąd w liniBig GriniskImage();  boolean setFile(SdFile* file);  i pojawia się komunikat:'SdFile' has not been declared.


In file included from /disk_drive.h:6,
                from disk_drive.cpp:23:
disk_image.h:91: error: 'SdFile' has not been declared
disk_image.h:96: error: 'SdFile' has not been declared
disk_image.h:103: error: 'SdFile' has not been declared
disk_image.h:104: error: ISO C++ forbids declaration of 'SdFile' with no type
disk_image.h:104: error: expected ';' before '*' token
In file included from disk_drive.cpp:23:
disk_drive.h:13: error: 'SdFile' has not been declared
disk_drive.h:17: error: 'SdFile' has not been declared
disk_drive.cpp:37: error: 'boolean DiskDrive:ConfusedetImageFile' is not a static member of 'class DiskDrive'
disk_drive.cpp:37: error: 'SdFile' was not declared in this scope
disk_drive.cpp:37: error: 'file' was not declared in this scope
disk_drive.cpp:37: error: expected ',' or ';' before '{' token



Czy ktoś wie czym to jest spowodowane. Co robię źle?

Układ to Arduino UNO  VID: 2341 PID: 0043


pozdrawiam 
Bartosz
 
Odpowiedź
#2
Zmienna SdFile nie została zadeklarowana.
Pokaż kod, biblioteki, albo link do repozytoriów.

P.S. Te poprawki z opisu zostały wprowadzone?
P.S.2 Link z opisu filmu nie działa, więc skąd masz kod?
Jeśli masz problem z kodem lub sprzętem, zadaj pytanie na forum. Nie odpowiadam na PW, jeśli nie dotyczą one spraw forum lub innych tematów prywatnych.

[Obrazek: SsIndaG.jpg]
 
Odpowiedź
  


Skocz do:


Przeglądający: 1 gości