el_supremo
Well-known member
I upgraded to 1.6.0 and Teensyduino 1.2.1 RC6 yesterday and almost immediately ran into a problem where the compiler only prints "Error compiling" with no error or warning messages at all. I got fed up trying to figure it out yesterday and reinstalled 1.0.6 and TD 1.20 rc6 which work just fine.
I've just tried reinstalling 1.6.0/1.21 and have the same problem.
With 1.0.6/1.20 I get this output when I compile some code which has one variable declaration commented to force an error:
This is what I get when 1.6.0/1.21 is installed:
There have been a couple of mentions of this problem on the Arduino forum in relation to Arduino 1.5.7 but the solutions offered there either haven't helped me or aren't applicable.
Anyone seen this problem or have any idea how to fix it? It is absolutely hopeless trying to develop code with a compiler that doesn't print error messages!
I have attached a zip file of a very stripped down version of the project I was using to produce the output above. I have deliberately commented the declaration of the variable cw_decoder_state so that it generates a compilation error.
With 1.0.6 these error messages are produced:
but with 1.6.0 I get:
Pete
View attachment ad_test_junk_1.zip
I've just tried reinstalling 1.6.0/1.21 and have the same problem.
With 1.0.6/1.20 I get this output when I compile some code which has one variable declaration commented to force an error:
S:\arduino-1.0.6\hardware\tools\arm-none-eabi\bin\arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mcpu=cortex-m4 -DF_CPU=96000000 -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -mthumb -nostdlib -D__MK20DX256__ -DTEENSYDUINO=120 -fno-rtti -felide-constructors -std=gnu++0x -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IS:\arduino-1.0.6\hardware\teensy\cores\teensy3 -IS:\arduino-1.0.6\libraries\Audio -IS:\arduino-1.0.6\libraries\Wire -IS:\arduino-1.0.6\libraries\SPI -IS:\arduino-1.0.6\libraries\SD -IC:\Users\Peter\Documents\Teensy\libraries\wff_fht -IC:\Users\Peter\Documents\Teensy\libraries\Adafruit_GFX -IS:\arduino-1.0.6\libraries\Adafruit_ST7735 C:\Users\Peter\AppData\Local\Temp\build4746263102512170715.tmp\ad_fht_t3_TFT_1d.cpp -o C:\Users\Peter\AppData\Local\Temp\build4746263102512170715.tmp\ad_fht_t3_TFT_1d.cpp.o
S:\arduino-1.0.6\hardware\tools\arm-none-eabi\bin\arm-none-eabi-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mcpu=cortex-m4 -DF_CPU=96000000 -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -mthumb -nostdlib -D__MK20DX256__ -DTEENSYDUINO=120 -fno-rtti -felide-constructors -std=gnu++0x -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IS:\arduino-1.0.6\hardware\teensy\cores\teensy3 -IS:\arduino-1.0.6\libraries\Audio -IS:\arduino-1.0.6\libraries\Wire -IS:\arduino-1.0.6\libraries\SPI -IS:\arduino-1.0.6\libraries\SD -IC:\Users\Peter\Documents\Teensy\libraries\wff_fht -IC:\Users\Peter\Documents\Teensy\libraries\Adafruit_GFX -IS:\arduino-1.0.6\libraries\Adafruit_ST7735 C:\Users\Peter\AppData\Local\Temp\build4746263102512170715.tmp\cw_decode.cpp -o C:\Users\Peter\AppData\Local\Temp\build4746263102512170715.tmp\cw_decode.cpp.o
cw_decode.cpp: In function 'void word_space(cw_decodex*)':
cw_decode.cpp:74: error: 'cw_decoder_state' was not declared in this scope
cw_decode.cpp: In function 'void cw_decoder()':
cw_decode.cpp:82: error: 'cw_decoder_state' was not declared in this scope
This is what I get when 1.6.0/1.21 is installed:
Using library Audio in folder: S:\arduino-1.6.0\hardware\teensy\avr\libraries\Audio (legacy)
Using library Wire in folder: S:\arduino-1.6.0\hardware\teensy\avr\libraries\Wire (legacy)
Using library SPI in folder: S:\arduino-1.6.0\hardware\teensy\avr\libraries\SPI (legacy)
Using library SD in folder: S:\arduino-1.6.0\hardware\teensy\avr\libraries\SD (legacy)
Using library wff_fht in folder: C:\Users\Peter\Documents\Teensy\libraries\wff_fht (legacy)
Using library Adafruit_GFX in folder: C:\Users\Peter\Documents\Teensy\libraries\Adafruit_GFX (legacy)
Using library Adafruit_ST7735 in folder: S:\arduino-1.6.0\hardware\teensy\avr\libraries\Adafruit_ST7735 (legacy)
S:\arduino-1.6.0/hardware/tools/arm/bin/arm-none-eabi-g++ -c -g -Os -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -D__MK20DX256__ -DTEENSYDUINO=121 -DARDUINO=10600 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IS:\arduino-1.6.0\hardware\teensy\avr\cores\teensy3 -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\Audio -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\Wire -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\SPI -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\SD -IC:\Users\Peter\Documents\Teensy\libraries\wff_fht -IC:\Users\Peter\Documents\Teensy\libraries\Adafruit_GFX -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\Adafruit_ST7735 C:\Users\Peter\AppData\Local\Temp\build8700067988532345937.tmp\ad_fht_t3_TFT_1d.cpp -o C:\Users\Peter\AppData\Local\Temp\build8700067988532345937.tmp\ad_fht_t3_TFT_1d.cpp.o
S:\arduino-1.6.0/hardware/tools/arm/bin/arm-none-eabi-g++ -c -g -Os -Wall -ffunction-sections -fdata-sections -MMD -nostdlib -fno-exceptions -felide-constructors -std=gnu++0x -fno-rtti -mthumb -mcpu=cortex-m4 -D__MK20DX256__ -DTEENSYDUINO=121 -DARDUINO=10600 -DF_CPU=96000000 -DARDUINO_ARCH_AVR -DUSB_SERIAL -DLAYOUT_US_ENGLISH -IS:\arduino-1.6.0\hardware\teensy\avr\cores\teensy3 -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\Audio -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\Wire -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\SPI -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\SD -IC:\Users\Peter\Documents\Teensy\libraries\wff_fht -IC:\Users\Peter\Documents\Teensy\libraries\Adafruit_GFX -IS:\arduino-1.6.0\hardware\teensy\avr\libraries\Adafruit_ST7735 C:\Users\Peter\AppData\Local\Temp\build8700067988532345937.tmp\cw_decode.cpp -o C:\Users\Peter\AppData\Local\Temp\build8700067988532345937.tmp\cw_decode.cpp.o
C:\Users\Peter\AppData\Local\Temp\build8700067988532345937.tmp\cw_decode.cpp: In function 'void word_space(cw_decodex*)':
Error compiling.
There have been a couple of mentions of this problem on the Arduino forum in relation to Arduino 1.5.7 but the solutions offered there either haven't helped me or aren't applicable.
Anyone seen this problem or have any idea how to fix it? It is absolutely hopeless trying to develop code with a compiler that doesn't print error messages!
I have attached a zip file of a very stripped down version of the project I was using to produce the output above. I have deliberately commented the declaration of the variable cw_decoder_state so that it generates a compilation error.
With 1.0.6 these error messages are produced:
cw_decode.cpp: In function 'void word_space(cw_decodex*)':
cw_decode.cpp:74: error: 'cw_decoder_state' was not declared in this scope
cw_decode.cpp: In function 'void cw_decoder()':
cw_decode.cpp:82: error: 'cw_decoder_state' was not declared in this scope
but with 1.6.0 I get:
C:\Users\Peter\AppData\Local\Temp\build8700067988532345937.tmp\cw_decode.cpp: In function 'void cw_decoder()':
Error compiling.
Pete
View attachment ad_test_junk_1.zip