View Single Post
Old 04-08-2017, 12:37 PM   #98 (permalink)
josemapiro
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
Hi t vago
This new version is giving the following error.
Code:
Arduino: 1.8.0 (Windows 10), Placa:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

E:\arduino-1.8.0\arduino-builder -dump-prefs -logger=machine -hardware E:\arduino-1.8.0\hardware -tools E:\arduino-1.8.0\tools-builder -tools E:\arduino-1.8.0\hardware\tools\avr -built-in-libraries E:\arduino-1.8.0\libraries -libraries C:\Users\josem\OneDrive\Documentos\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10800 -build-path C:\Users\josem\AppData\Local\Temp\arduino_build_897858 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=E:\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=E:\arduino-1.8.0\hardware\tools\avr -verbose C:\Users\josem\Desktop\MPGuino\MPGuino.ino
E:\arduino-1.8.0\arduino-builder -compile -logger=machine -hardware E:\arduino-1.8.0\hardware -tools E:\arduino-1.8.0\tools-builder -tools E:\arduino-1.8.0\hardware\tools\avr -built-in-libraries E:\arduino-1.8.0\libraries -libraries C:\Users\josem\OneDrive\Documentos\Arduino\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10800 -build-path C:\Users\josem\AppData\Local\Temp\arduino_build_897858 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=E:\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.avrdude.path=E:\arduino-1.8.0\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=E:\arduino-1.8.0\hardware\tools\avr -verbose C:\Users\josem\Desktop\MPGuino\MPGuino.ino
Using board 'mega' from platform in folder: E:\arduino-1.8.0\hardware\arduino\avr
Using core 'arduino' from platform in folder: E:\arduino-1.8.0\hardware\arduino\avr
Detecting libraries used...
"E:\arduino-1.8.0\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\arduino-1.8.0\hardware\arduino\avr\cores\arduino" "-IE:\arduino-1.8.0\hardware\arduino\avr\variants\mega" "C:\Users\josem\AppData\Local\Temp\arduino_build_897858\sketch\MPGuino.ino.cpp" -o "nul"
Generating function prototypes...
"E:\arduino-1.8.0\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\arduino-1.8.0\hardware\arduino\avr\cores\arduino" "-IE:\arduino-1.8.0\hardware\arduino\avr\variants\mega" "C:\Users\josem\AppData\Local\Temp\arduino_build_897858\sketch\MPGuino.ino.cpp" -o "C:\Users\josem\AppData\Local\Temp\arduino_build_897858\preproc\ctags_target_for_gcc_minus_e.cpp"
"E:\arduino-1.8.0\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\josem\AppData\Local\Temp\arduino_build_897858\preproc\ctags_target_for_gcc_minus_e.cpp"
A compilar o rascunho...
"E:\arduino-1.8.0\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10800 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IE:\arduino-1.8.0\hardware\arduino\avr\cores\arduino" "-IE:\arduino-1.8.0\hardware\arduino\avr\variants\mega" "C:\Users\josem\AppData\Local\Temp\arduino_build_897858\sketch\MPGuino.ino.cpp" -o "C:\Users\josem\AppData\Local\Temp\arduino_build_897858\sketch\MPGuino.ino.cpp.o"
MPGuino:4584: error: expected '}' before '{' token

   {FuelSettingScreenIdx, stmFuelSettings}

   ^

MPGuino:4584: error: expected ',' or ';' before '{' token

MPGuino:4585: error: expected unqualified-id before '{' token

   {MiscSettingScreenIdx, stmMiscSettings}

   ^

MPGuino:4587: error: expected unqualified-id before ',' token

   ,{dragRaceIdx, stmDragRace}

   ^

MPGuino:4587: error: expected unqualified-id before '{' token

   ,{dragRaceIdx, stmDragRace}

    ^

MPGuino:4590: error: expected unqualified-id before ',' token

   ,{coastdownIdx, stmCoastdown}

   ^

MPGuino:4590: error: expected unqualified-id before '{' token

   ,{coastdownIdx, stmCoastdown}

    ^

MPGuino:4593: error: expected unqualified-id before ',' token

   ,{partialRefuelScreenIdx, stmPartialRefuel}

   ^

MPGuino:4593: error: expected unqualified-id before '{' token

   ,{partialRefuelScreenIdx, stmPartialRefuel}

    ^

MPGuino:4596: error: expected unqualified-id before ',' token

   ,{tripSaveCurScreenIdx, stmCurrSave}

   ^

MPGuino:4596: error: expected unqualified-id before '{' token

   ,{tripSaveCurScreenIdx, stmCurrSave}

    ^

MPGuino:4597: error: expected unqualified-id before ',' token

   ,{tripSaveTankScreenIdx, stmTankSave}

   ^

MPGuino:4597: error: expected unqualified-id before '{' token

   ,{tripSaveTankScreenIdx, stmTankSave}

    ^

MPGuino:4608: error: expected unqualified-id before ',' token

   ,{bigFEscreenIdx, stmBigFE}

   ^

MPGuino:4608: error: expected unqualified-id before '{' token

   ,{bigFEscreenIdx, stmBigFE}

    ^

MPGuino:4611: error: expected unqualified-id before ',' token

   ,{barFEvTscreenIdx, stmFEvT}

   ^

MPGuino:4611: error: expected unqualified-id before '{' token

   ,{barFEvTscreenIdx, stmFEvT}

    ^

MPGuino:4614: error: expected unqualified-id before ',' token

   ,{barFEvSscreenIdx, stmFEvS}

   ^

MPGuino:4614: error: expected unqualified-id before '{' token

   ,{barFEvSscreenIdx, stmFEvS}

    ^

MPGuino:4617: error: expected unqualified-id before ',' token

   ,{bigDTEscreenIdx, stmBigDTE}

   ^

MPGuino:4617: error: expected unqualified-id before '{' token

   ,{bigDTEscreenIdx, stmBigDTE}

    ^

MPGuino:4620: error: expected unqualified-id before ',' token

   ,{bigTTEscreenIdx, stmBigTTE}

   ^

MPGuino:4620: error: expected unqualified-id before '{' token

   ,{bigTTEscreenIdx, stmBigTTE}

    ^

MPGuino:4629: error: expected unqualified-id before ',' token

   ,{CPUmonScreenIdx, stmCPUinfo}

   ^

MPGuino:4629: error: expected unqualified-id before '{' token

   ,{CPUmonScreenIdx, stmCPUinfo}

    ^

MPGuino:4631: error: expected unqualified-id before ',' token

   ,{mainScreenIdx, stmMain}

   ^

MPGuino:4631: error: expected unqualified-id before '{' token

   ,{mainScreenIdx, stmMain}

    ^

MPGuino:4632: error: expected declaration before '}' token

 };

 ^

exit status 1
expected '}' before '{' token
thanks
José Rodrigues
  Reply With Quote
The Following User Says Thank You to josemapiro For This Useful Post:
t vago (04-09-2017)