Advertisement
Diego_Frenoux

OpenEFI [Horrores de compilacion :,v]

Jul 23rd, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 12.25 KB | None | 0 0
  1. ============== Begin to compile. ==============
  2. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:12:18: error: expected initializer before string constant
  3.  const String ver "## ver 0.01 Alpha ##";
  4.                   ^
  5. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:24:6: error: conflicting declaration 'bool iny'
  6.  bool iny     = false;       //variable para saber si se esta inyectando todavia o no
  7.       ^
  8. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:18:5: note: previous declaration as 'int iny [4]'
  9.  int iny[] = {3,4,5,6};       //Pines de arduino que esta conectados los inyectores **CAMBIAR PINES**
  10.      ^
  11. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:66:13: error: array bound is not an integer constant before ']' token
  12.  int Tdnt[dnt];               //aca se guardan los tiempos entre dientes, luego se promedia (son 12);
  13.              ^
  14. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:118:1: error: expected ',' or ';' before 'int'
  15.  int var  = 0;               //variable usada para bucles
  16.  ^
  17. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:126:25: error: no matching function for call to 'TMAP::TMAP(const uint8_t&, const uint8_t&)'
  18.  TMAP myTMAP = TMAP(A2,A3); //iniciamos sensor TMAP
  19.                          ^
  20. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:126:25: note: candidates are:
  21. In file included from c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:7:0:
  22. C:\Users\FDS2000\Documents\Arduino\libraries\TMAP/TMAP.h:17:7: note: TMAP::TMAP()
  23.  class TMAP{
  24.        ^
  25. C:\Users\FDS2000\Documents\Arduino\libraries\TMAP/TMAP.h:17:7: note:   candidate expects 0 arguments, 2 provided
  26. C:\Users\FDS2000\Documents\Arduino\libraries\TMAP/TMAP.h:17:7: note: constexpr TMAP::TMAP(const TMAP&)
  27. C:\Users\FDS2000\Documents\Arduino\libraries\TMAP/TMAP.h:17:7: note:   candidate expects 1 argument, 2 provided
  28. C:\Users\FDS2000\Documents\Arduino\libraries\TMAP/TMAP.h:17:7: note: constexpr TMAP::TMAP(TMAP&&)
  29. C:\Users\FDS2000\Documents\Arduino\libraries\TMAP/TMAP.h:17:7: note:   candidate expects 1 argument, 2 provided
  30. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'void int0()':
  31. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:141:9: error: 'vuelta3' was not declared in this scope
  32.          vuelta3++;
  33.          ^
  34. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:142:22: error: 'perinyec' was not declared in this scope
  35.          if(vuelta >= perinyec){
  36.                       ^
  37. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:144:15: error: 'per' was not declared in this scope
  38.                per = true;
  39.                ^
  40. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'void setup()':
  41. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:158:13: error: 'Lamb' was not declared in this scope
  42.      pinMode(Lamb, INPUT);
  43.              ^
  44. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:159:13: error: 'ARRpin' was not declared in this scope
  45.      pinMode(ARRpin, INPUT);
  46.              ^
  47. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:167:13: error: 'pinBobinas13' was not declared in this scope
  48.      pinMode(pinBobinas13, OUTPUT);
  49.              ^
  50. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:168:13: error: 'pinBobinas24' was not declared in this scope
  51.      pinMode(pinBobinas24, OUTPUT);
  52.              ^
  53. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:173:9: error: 'var' was not declared in this scope
  54.      for(var = 0; var >= 3; var++){
  55.          ^
  56. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:177:9: error: 'var' was not declared in this scope
  57.      for(var = 0; var >= 3; var++){
  58.          ^
  59. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:183:5: error: 'lcd' was not declared in this scope
  60.      lcd.setCursor(0,0);
  61.      ^
  62. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:188:15: error: 'ver' was not declared in this scope
  63.      lcd.print(ver);
  64.                ^
  65. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:192:14: error: invalid cast to abstract class type 'LCD'
  66.      LCD(5,0,0);
  67.               ^
  68. In file included from C:\Users\FDS2000\Documents\Arduino\libraries\LiquidCrystal_I2C/LiquidCrystal_I2C.h:35:0,
  69.                  from c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:6:
  70. C:\Users\FDS2000\Documents\Arduino\libraries\LiquidCrystal_I2C/LCD.h:187:7: note:   because the following virtual functions are pure within 'LCD':
  71.  class LCD : public Print
  72.        ^
  73. C:\Users\FDS2000\Documents\Arduino\libraries\LiquidCrystal_I2C/LCD.h:573:17: note:  virtual void LCD::send(uint8_t, uint8_t)
  74.     virtual void send(uint8_t value, uint8_t mode) = 0;
  75.                  ^
  76. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:194:6: error: 'SD' was not declared in this scope
  77.   if(!SD.begin(12)){
  78.       ^
  79. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:198:9: error: 'emerg' was not declared in this scope
  80.          emerg = true;
  81.          ^
  82. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'void loop()':
  83. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:210:20: error: 'ControlRPM' was not declared in this scope
  84.          ControlRPM();
  85.                     ^
  86. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:212:27: error: 'sensortemp' was not declared in this scope
  87.          temp = sensortemp();
  88.                            ^
  89. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:213:21: error: 'Temperatura' was not declared in this scope
  90.          Temperatura();
  91.                      ^
  92. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:214:20: error: 'varINY' was not declared in this scope
  93.          ControlINY(varINY);
  94.                     ^
  95. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:214:26: error: 'ControlINY' was not declared in this scope
  96.          ControlINY(varINY);
  97.                           ^
  98. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:215:32: error: 'controlDeEncendido' was not declared in this scope
  99.          controlDeEncendido(temp);
  100.                                 ^
  101. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:216:20: error: 'ControlPWM' was not declared in this scope
  102.          ControlPWM();
  103.                     ^
  104. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:217:24: error: 'RPM' was not declared in this scope
  105.          int rpmC = RPM();
  106.                         ^
  107. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:219:16: error: 'class HardwareSerial' has no member named 'writeLine'
  108.          Serial.writeLine(rpmc)
  109.                 ^
  110. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:219:26: error: 'rpmc' was not declared in this scope
  111.          Serial.writeLine(rpmc)
  112.                           ^
  113. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'void ControlRPM()':
  114. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:236:7: error: 'Tdnt' was not declared in this scope
  115.        Tdnt[indice] = millis() - milirpm;
  116.        ^
  117. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:241:14: error: 'sincronizar' was not declared in this scope
  118.   sincronizar();
  119.               ^
  120. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:248:2: error: 'rpmT' was not declared in this scope
  121.   rpmT = (Tdnt[0] + Tdnt[1] + Tdnt[2] + Tdnt[3]) / 4; //sacamos el tiempo promedio de los 4
  122.   ^
  123. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:248:10: error: 'Tdnt' was not declared in this scope
  124.   rpmT = (Tdnt[0] + Tdnt[1] + Tdnt[2] + Tdnt[3]) / 4; //sacamos el tiempo promedio de los 4
  125.           ^
  126. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'void ControlINY()':
  127. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:262:13: error: 'ARR_FRIO' was not declared in this scope
  128.     ARR_FRIO();
  129.              ^
  130. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:264:4: error: 'inyT' was not declared in this scope
  131.     inyT = Tiny(CINY_RPM, marv);
  132.     ^
  133. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:264:30: error: 'Tiny' was not declared in this scope
  134.     inyT = Tiny(CINY_RPM, marv);
  135.                               ^
  136. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:265:22: error: 'rpm2' was not declared in this scope
  137.      CINY_X = map(map(rpm2,0,7000,0,70)),
  138.                       ^
  139. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:267:26: error: 'ACL' was not declared in this scope
  140.     acl = ACL(CINY_X, inyT);
  141.                           ^
  142. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:269:26: error: 'inyT' was not declared in this scope
  143.   }else{acl = ACL(CINY_X, inyT);}
  144.                           ^
  145. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:269:30: error: 'ACL' was not declared in this scope
  146.   }else{acl = ACL(CINY_X, inyT);}
  147.                               ^
  148. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'void ARR_FRIO()':
  149. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:273:2: error: 'inyT' was not declared in this scope
  150.   inyT = ARR_TINY1;
  151.   ^
  152. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:274:23: error: expected ';' before ')' token
  153.   for(vuelta2 > ARR_PER){
  154.                        ^
  155. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:279:2: error: expected primary-expression before 'do'
  156.   do{
  157.   ^
  158. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:279:2: error: expected ';' before 'do'
  159. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:279:2: error: expected primary-expression before 'do'
  160. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:279:2: error: expected ')' before 'do'
  161. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:281:33: error: 'ACL' was not declared in this scope
  162.    if(!ACL(1500,ARR_RPM,ARR_TINY1)){
  163.                                  ^
  164. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:284:14: error: 'ControlPWM' was not declared in this scope
  165.    ControlPWM();
  166.               ^
  167. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:285:22: error: 't' was not declared in this scope
  168.    controlDeEncendido(t);
  169.                       ^
  170. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:285:23: error: 'controlDeEncendido' was not declared in this scope
  171.    controlDeEncendido(t);
  172.                        ^
  173. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'bool ACL(int, int)':
  174. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:300:11: error: expected primary-expression before ')' token
  175.   }else if(){// ya no hace falta cambiar el tiempo desde esta funcion, esto habilita correccion por sonda lambda y TMAP
  176.            ^
  177. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: In function 'int Tiny(int, int)':
  178. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:310:6: error: 'i' was not declared in this scope
  179.   for(i = 0; i >= rpm3; i++;){ //hasta que coincidan las rpm
  180.       ^
  181. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:310:27: error: expected ')' before ';' token
  182.   for(i = 0; i >= rpm3; i++;){ //hasta que coincidan las rpm
  183.                            ^
  184. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:310:28: error: expected primary-expression before ')' token
  185.   for(i = 0; i >= rpm3; i++;){ //hasta que coincidan las rpm
  186.                             ^
  187. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:314:2: error: 'indice' was not declared in this scope
  188.   indice = 5;
  189.   ^
  190. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:315:12: error: 'lin' was not declared in this scope
  191.   char *p = lin;
  192.             ^
  193. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:318:6: error: 'i' was not declared in this scope
  194.   for(i = 0; i >= marv2){ //hasta que coincida el valor de la mariposa
  195.       ^
  196. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:318:23: error: expected ';' before ')' token
  197.   for(i = 0; i >= marv2){ //hasta que coincida el valor de la mariposa
  198.                        ^
  199. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:320:2: error: expected ';' before '}' token
  200.   }
  201.   ^
  202. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp: At global scope:
  203. c:\Users\FDS2000\OpenEFI\.build\TMAP.cpp\sketch\main.cpp:326:5: error: expected unqualified-id before '[' token
  204.  char[50] LeerLinea(int pos,String nombre){ //posicion, Nombre de archivo
  205.      ^
  206. exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement