Error message on Uno

Hi, I'm new to Arduino, I've connected an Arduino Uno to my PC (win 7) and when I try to put a code in the sketch page, I get this error message:
Not used: C:\Program Files (x86)\Arduino\libraries\Adafruit-WS2801-Library-1.1.0
exec: "{runtime.tools.ctags.path}/ctags": file does not exist
Error compiling for board Arduino Uno.
Could you help me?

This looks like a library installed in the wrong place.

Could you go into Preferences and turn on verbose messages during compilation? Then try to compile the program again and report back with all of the text that shows up under the sketch window. You can copy and paste from the message window.

Here it is. I don't know if I have to put the library in programfiles(86) or in users
Arduino: 1.8.16 (Windows 7), Board: "Arduino Uno"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Utilisateur\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10816 -build-path C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420 -warnings=none -build-cache C:\Users\UTILIS~1\AppData\Local\Temp\arduino_cache_254799 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0\sketch_nov21a\sketch_nov21a\sketch_nov21a.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Utilisateur\Documents\Arduino\libraries -fqbn=arduino:avr:uno -vid-pid=0000_0000 -ide-version=10816 -build-path C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420 -warnings=none -build-cache C:\Users\UTILIS~1\AppData\Local\Temp\arduino_cache_254799 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0\sketch_nov21a\sketch_nov21a\sketch_nov21a.ino

Using board 'uno' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Detecting libraries used...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420\sketch\sketch_nov21a.ino.cpp" -o nul

Alternatives for Adafruit_WS2801.h: [Adafruit-WS2801-Library-1.1.0@1.1.0]

ResolveLibrary(Adafruit_WS2801.h)

-> candidates: [Adafruit-WS2801-Library-1.1.0@1.1.0]

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0" "C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420\sketch\sketch_nov21a.ino.cpp" -o nul

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

-> candidates: [SPI@1.0]

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420\sketch\sketch_nov21a.ino.cpp" -o nul

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0\Adafruit_WS2801.cpp" -o nul

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o nul

Generating function prototypes...

"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420\sketch\sketch_nov21a.ino.cpp" -o "C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420\preproc\ctags_target_for_gcc_minus_e.cpp"

{runtime.tools.ctags.path}/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\UTILIS~1\AppData\Local\Temp\arduino_build_381420\preproc\ctags_target_for_gcc_minus_e.cpp"

Using library Adafruit-WS2801-Library-1.1.0 at version 1.1.0 in folder: C:\Users\Utilisateur\Documents\Arduino\libraries\Adafruit-WS2801-Library-1.1.0

Using library SPI at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI

exec: "{runtime.tools.ctags.path}/ctags": file does not exist

Error compiling for board Arduino Uno.

I don't have any SPI folder in Program86/Arduino/Library/

Are you able to compile other sketches without error?

No, that's the first one i'm doing

He means sketches written by other people... like the example sketches, Blink.ino for example

Hi @jjcanot. Does this file exist on your computer?

C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino11\ctags.exe

Yes I tried Blink, same problem

I don't have any tools-builder folder. And it's not in tools

Sorry, I found the SPI folder..

There's your problem!

Try reinstalling the Arduino IDE.

Ok I will try that tonight.
Thanks

Ok, I re install Arduino on my computer, and it works fine now. It looks my anti virus was deleting some files. So I turn it off.
I have other errors, I will try to fix that myself before asking for help.
Thank you very much to all of you for your help and your quick answer.

I'm glad to hear that you found the solution for the ctags error. That is progress even if there are still other problems to resolve!

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