Welcome! Log In Create A New Profile

Advanced

Repetier

Posted by Pr012 
Repetier
April 08, 2014 10:28AM
Bonjour,

Après avoir télécharger le repetier firmware et modifier les valeurs dans le fichiers configuration.h, le fichier compile avec un nombre incalculable d'erreur, notamment :

In file included from /Repetier.h:264,
from Commands.cpp:22:
/HAL.h:71:21: error: Arduino.h: No such file or directory
In file included from /Repetier.h:264,
from Commands.cpp:22:
HAL.h:192: error: conflicting return type specified for 'virtual size_t RFHardwareSerial::write(uint8_t)'
C:\Program Files (x86)\Arduino\hardware\Gen7\cores\arduino/Print.h:37: error: overriding 'virtual void Print::write(uint8_t)'
/HAL.h: In static member function 'static void HAL::digitalWrite(uint8_t, uint8_t)':
HAL.h:449: error: '::digitalWrite' has not been declared
/HAL.h: In static member function 'static uint8_t HAL::digitalRead(uint8_t)':
HAL.h:453: error: '::digitalRead' has not been declared
/HAL.h: In static member function 'static void HAL::pinMode(uint8_t, uint8_t)':
HAL.h:457: error: '::pinMode' has not been declared
/HAL.h: In static member function 'static void HAL::delayMicroseconds(unsigned int)':
HAL.h:462: error: '::delayMicroseconds' has not been declared
/HAL.h: In static member function 'static void HAL::delayMilliseconds(unsigned int)':
HAL.h:466: error: '::delay' has not been declared
/HAL.h: In static member function 'static void HAL::tone(uint8_t, int)':
HAL.h:470: error: '::tone' has not been declared
/HAL.h: In static member function 'static void HAL::noTone(uint8_t)':
HAL.h:474: error: '::noTone' has not been declared
/HAL.h: In static member function 'static void HAL::allowInterrupts()':
HAL.h:512: error: 'sei' was not declared in this scope
/HAL.h: In static member function 'static void HAL::forbidInterrupts()':
HAL.h:516: error: 'cli' was not declared in this scope
/HAL.h: In static member function 'static long unsigned int HAL::timeInMilliseconds()':
HAL.h:520: error: 'millis' was not declared in this scope
/HAL.h: In static member function 'static void HAL::spiInit(uint8_t)':
HAL.h:573: error: 'HIGH' was not declared in this scope
In file included from /Repetier.h:265,
from Commands.cpp:22:
/gcode.h: In member function 'float GCode::parseFloatValue(char*)':
gcode.h:147: error: 'strtod' was not declared in this scope
/gcode.h: In member function 'long int GCode::parseLongValue(char*)':
gcode.h:154: error: 'strtol' was not declared in this scope
In file included from /Repetier.h:356,
from Commands.cpp:22:
/Extruder.h: In static member function 'static void Extruder::step()':
Extruder.h:107: error: 'HIGH' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::unstep()':
Extruder.h:156: error: 'LOW' was not declared in this scope
In file included from /Repetier.h:385,
from Commands.cpp:22:
/Printer.h: In static member function 'static void Printer::endXYZSteps()':
Printer.h:534: error: 'LOW' was not declared in this scope
Printer.h:535: error: 'LOW' was not declared in this scope
Printer.h:536: error: 'LOW' was not declared in this scope
In file included from /Repetier.h:386,
from Commands.cpp:22:
/motion.h: In member function 'void PrintLine::startXStep()':
motion.h:501: error: 'HIGH' was not declared in this scope
/motion.h: In member function 'void PrintLine::startYStep()':
motion.h:541: error: 'HIGH' was not declared in this scope
/motion.h: In member function 'void PrintLine::startZStep()':
motion.h:577: error: 'HIGH' was not declared in this scope
Commands.cpp: In static member function 'static void Commands::setFanSpeed(int, bool)':
Commands.cpp:208: error: 'constrain' was not declared in this scope
Commands.cpp: In static member function 'static void Commands::executeGCode(GCode*)':
Commands.cpp:912: error: 'OUTPUT' was not declared in this scope
Commands.cpp:912: error: 'pinMode' was not declared in this scope
Commands.cpp:913: error: 'digitalWrite' was not declared in this scope
Commands.cpp:914: error: 'analogWrite' was not declared in this scope
Commands.cpp:961: error: 'abs' was not declared in this scope
Commands.cpp:1049: error: 'fabs' was not declared in this scope
Commands.cpp:1102: error: 'HIGH' was not declared in this scope
Commands.cpp:1102: error: 'LOW' was not declared in this scope
Commands.cpp:1109: error: 'LOW' was not declared in this scope
Commands.cpp:1109: error: 'HIGH' was not declared in this scope


et une erreur concernant un certain uint8_t ?

Quelqu'un aurait il déjà eu ce problème ?

Merci de votre réponse
Re: Repetier
April 08, 2014 10:38AM
Je précise que j'ai essayer un firwmare Repetier 0.91 pour une carte GEN 7 v1.3
Re: Repetier
April 10, 2014 05:04PM
Pfiou j'ai reproduit ton probleme et l'ai solutionné grace a Mr repetier sur le fofo anglais...-->ici

Télécharge le dernier conseil gen7 V2.1 ->ici
remplace le conseil dans ton arduino (moi je l'ai fait avec la version 1.0.2 d'arduino)
Ensuite regarde mon 1er lien et suis la manipulation de Mr repetier.... il faut mettre un 0 a la place d'un -1 dans le fichier HAL.h (vers la fin de la page..)

et normalement tu arrive a compilé grinning smiley

tiens nous au courant winking smiley

++


Alsacien du 68, ayant une prusa2 avec ramps1.4 et Aio
Re: Repetier
April 15, 2014 08:15AM
Bonjour,

J'ai essayé plusieurs solutions, notamment la votre mais rien n'y fait j'ai toujours beaucoup d'erreur, notamment avec un unit_8 ?

Pouvez vous me fournir votre configuration repetier ?

Cela m'aiderait beaucoup à comprendre pourquoi la compilation est impossibe.
Re: Repetier
April 15, 2014 09:42AM
Salut, oui biensur!

A tu bien remplacer ton conseil gen7 dans ton arduino par le nouveau? (je t'ai joint le conseil, mettre le dossier gen7 dans ton dossier arduino-1.0.2\hardware) (v1.0.2 ou v1.0.3)
Le firmware que je t'ai joint est compilable chez moi, mais n'est pas configurer(step moteur endstop etc...), je l'ai dl juste pour faire des tests sur ton soucis...

J'espère que sa sera la bonne cette fois ci, sinon n'hésite pas smiling smiley


Alsacien du 68, ayant une prusa2 avec ramps1.4 et Aio
Attachments:
open | download - Gen7 Arduino IDE Support 2.1.zip (83.5 KB)
open | download - Repetier.zip (304.5 KB)
Sorry, only registered users may post in this forum.

Click here to login