Compilation error with Arduino 1.6.9, FW 0.92.9, Due+RADDS, Delta Printer
Hello,
I configured and downloaded a configuration.h with the web based configuration tool with my DUE+RADDS delta printer setup. For the first try I just configured the general page and let the rest by default values.
I build up a due+RADDS based delta printer for the first time. Could this be a arduino library issue?
I got a lot of errors during compilation:
Arduino: 1.6.9 (Windows 10), Board: "Arduino Duemilanove or Diecimila, ATmega328"
Bibliothek SPI in Version 1.0 im Ordner: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI wird verwendet
exit status 1
'DIOMISO_PIN_DDR' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:34: error: 'DIOMISO_PIN_PIN' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOMOSI_PIN_PIN' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOSCK_PIN_DDR' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOSCK_PIN_PIN' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOSDSS_DDR' was not declared in this scope
C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Printer.h: In static member function 'static void Printer::disableXStepper()':
fastio.h:29: error: 'DIOORIG_X_ENABLE_PIN_WPORT' was not declared in this scope
fastio.h:29: error: 'DIOORIG_X_ENABLE_PIN_PIN' was not declared in this scope
fastio.h:29: error: 'DIOORIG_X_ENABLE_PIN_PIN' was not declared in this scope
...
I configured and downloaded a configuration.h with the web based configuration tool with my DUE+RADDS delta printer setup. For the first try I just configured the general page and let the rest by default values.
I build up a due+RADDS based delta printer for the first time. Could this be a arduino library issue?
I got a lot of errors during compilation:
Arduino: 1.6.9 (Windows 10), Board: "Arduino Duemilanove or Diecimila, ATmega328"
Bibliothek SPI in Version 1.0 im Ordner: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI wird verwendet
exit status 1
'DIOMISO_PIN_DDR' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:34: error: 'DIOMISO_PIN_PIN' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOMOSI_PIN_PIN' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOSCK_PIN_DDR' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOSCK_PIN_PIN' was not declared in this scope
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:83:0,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539,
from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\BedLeveling.cpp:107:
fastio.h:36: error: 'DIOSDSS_DDR' was not declared in this scope
C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Printer.h: In static member function 'static void Printer::disableXStepper()':
fastio.h:29: error: 'DIOORIG_X_ENABLE_PIN_WPORT' was not declared in this scope
fastio.h:29: error: 'DIOORIG_X_ENABLE_PIN_PIN' was not declared in this scope
fastio.h:29: error: 'DIOORIG_X_ENABLE_PIN_PIN' was not declared in this scope
...
Comments
I installed SAM boards and selected the DUE Programming port. And I got an answer when I selected "Get board info" :-)
But now I have another problem... The compiler can´t find avr/io.h what is included in the HAL (HAL.h)
Do I have to install something else?
What kind of programmer do I have to select at tools/programmer?
I found an io.h file at the following path:
C:\Program Files (x86)\Arduino\hardware\tools\avr\avr\include\avr
Here the error report of the compiler:
In file included from C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\Repetier.h:539:0,
from C:\Users\Benjamin\Dropbox\3D_Drucker\Repetier-Firmware\Repetier\Repetier.ino:151:
C:\Users\Benjamin\AppData\Local\Temp\buildbc593312f23070b14d455f0f585951d7.tmp\sketch\HAL.h:34:20: fatal error: avr/io.h: No such file or directory
#include <avr/io.h>
^
compilation terminated.
Do you have an idea, why the configuration tool is not working with my system?
I don´t know why, but I have trouble with the configuration tool... However the creation of the configuration.h works with the separate download. So I´m happy now!
Thanks a lot for your support!