Digispark, does not compile: "...ctags_target_for_gcc_minus_e.cpp: File can not be found."

Hello, have not got the digispark yet, its on the way, but I have tinkered with a simple program and just wanted to see that it was all right but when I pushed "verify" I got this:

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\\Documents\Arduino\libraries -fqbn=digistump:avr:digispark-tiny -ide-version=10819 -build-path C:\Users\\AppData\Local\Temp\arduino_build_294628 -warnings=none -build-cache C:\Users\\AppData\Local\Temp\arduino_cache_712288 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.micronucleus.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -verbose C:\Users\\AppData\Local\Temp\arduino_modified_sketch_100749\sketch_feb05a_batteri2.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\\Documents\Arduino\libraries -fqbn=digistump:avr:digispark-tiny -ide-version=10819 -build-path C:\Users\\AppData\Local\Temp\arduino_build_294628 -warnings=none -build-cache C:\Users\\AppData\Local\Temp\arduino_cache_712288 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.avr-gcc-4.8.1-arduino5.path=C:\Users\\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino5 -prefs=runtime.tools.micronucleus.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -prefs=runtime.tools.micronucleus-2.0a4.path=C:\Users\\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.0a4 -verbose C:\Users\\AppData\Local\Temp\arduino_modified_sketch_100749\sketch_feb05a_batteri2.ino
Using board 'digispark-tiny' from platform in folder: C:\Users\\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7
Using core 'tiny' from platform in folder: C:\Users\\AppData\Local\Arduino15\packages\digistump\hardware\avr\1.6.7
Detecting libraries used...
"C:\\Users\\\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=16500000L -DARDUINO=10819 -DARDUINO_AVR_DIGISPARK -DARDUINO_ARCH_AVR "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\cores\\tiny" "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\variants\\digispark" "C:\\Users\\\\AppData\\Local\\Temp\\arduino_build_294628\\sketch\\sketch_feb05a_batteri2.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\4.8.1-arduino5/bin/avr-g++" -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -w -x c++ -E -CC -mmcu=attiny85 -DF_CPU=16500000L -DARDUINO=10819 -DARDUINO_AVR_DIGISPARK -DARDUINO_ARCH_AVR "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\cores\\tiny" "-IC:\\Users\\\\AppData\\Local\\Arduino15\\packages\\digistump\\hardware\\avr\\1.6.7\\variants\\digispark" "C:\\Users\\\\AppData\\Local\\Temp\\arduino_build_294628\\sketch\\sketch_feb05a_batteri2.ino.cpp" -o "C:\\Users\\\\AppData\\Local\\Temp\\arduino_build_294628\\preproc\\ctags_target_for_gcc_minus_e.cpp"
open C:\Users\\AppData\Local\Temp\arduino_build_294628\preproc\ctags_target_for_gcc_minus_e.cpp: File can not be found.
Error compiling for board Digispark (Default - 16.5mhz).

What I have done:

  1. Updated IDE to latest version
  2. Deleted everything in the ..Arduino15 folder except preferences.txt
  3. Re installed the board digispark. Gets an error that it doesn't run at .BAT file but I have run that afterwards and its just drivers. Every driver will be installed there except one that I believe will be installed the first time the digispark board is connected.

But shouldn't it be able to verify the program anyway?

Ok you can get the program as well so won't there be any questions where that is, not finished what so ever:

int mosfet = 0;           
int button = 4;           
int pwm = 255;            // PWM 0 - 255

void setup() {

  pinMode(mosfet, OUTPUT);
  pinMode(button, INPUT);

}

void loop() {
  
check_button  

}

void check_button () {

}

I have not seen many with this problem at a search and the install should jut be a breeze, but nope.

@Kevin_tsvg Installation and Troubleshooting is for Problems with the Arduino itself NOT your project. It says so in the description of the section. Therefore I have moved your post here. Please be more careful where you post in future.

You may want to read this before you proceed:-
how to get the best out of this forum

Aha, so if the board it self is problematic, ok I get it. Thanks for moving it, sorry.

Shouldn't there be "();" after the function name?

It wasn't even really checked before I put it there. And well I can't verify it either since it won't compile due to the error, so no I didn't saw that but I most likely would, and you are absolutely correct. Now the program is totally different and 100 rows of code and has been verified with a totally other board, but still no compile for digispark.

I haven't found a solution to why it doesn't compile yet and I'm pretty much done with the program, anyone have any clue?

I have seen similar problems little back in time, not recently strange enough, but those problems was unrelated to mine, so I'm lost. I could program a tiny with ISP but then I have to order a USBISP which I didn't thought I would but it would have been good if I could used the digispark as is as intended.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.