Error in compiling arduino uno

Hello! I'm a beginner and I can't seem to upload my code, It keeps sending the same message please help me

Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"

C:\Users\VES\Desktop\arduino-1.8.13\arduino-builder -dump-prefs -logger=machine -hardware C:\Users\VES\Desktop\arduino-1.8.13\hardware -tools C:\Users\VES\Desktop\arduino-1.8.13\tools-builder -tools C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -built-in-libraries C:\Users\VES\Desktop\arduino-1.8.13\libraries -libraries C:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0043 -ide-version=10813 -build-path C:\Users\VES\AppData\Local\Temp\arduino_build_748030 -warnings=none -build-cache C:\Users\VES\AppData\Local\Temp\arduino_cache_281364 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -verbose C:\Users\VES\Documents\Arduino\sketch_jan18a\sketch_jan18a.ino

C:\Users\VES\Desktop\arduino-1.8.13\arduino-builder -compile -logger=machine -hardware C:\Users\VES\Desktop\arduino-1.8.13\hardware -tools C:\Users\VES\Desktop\arduino-1.8.13\tools-builder -tools C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -built-in-libraries C:\Users\VES\Desktop\arduino-1.8.13\libraries -libraries C:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\libraries -fqbn=arduino:avr:uno -vid-pid=2341_0043 -ide-version=10813 -build-path C:\Users\VES\AppData\Local\Temp\arduino_build_748030 -warnings=none -build-cache C:\Users\VES\AppData\Local\Temp\arduino_cache_281364 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr -verbose C:\Users\VES\Documents\Arduino\sketch_jan18a\sketch_jan18a.ino

Using board 'uno' from platform in folder: C:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr

Detecting libraries used...

"C:\Users\VES\Desktop\arduino-1.8.13\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=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\cores\arduino" "-IC:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\variants\standard" "C:\Users\VES\AppData\Local\Temp\arduino_build_748030\sketch\sketch_jan18a.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\Users\VES\Desktop\arduino-1.8.13\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=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\cores\arduino" "-IC:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\variants\standard" "C:\Users\VES\AppData\Local\Temp\arduino_build_748030\sketch\sketch_jan18a.ino.cpp" -o "C:\Users\VES\AppData\Local\Temp\arduino_build_748030\preproc\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\Users\VES\Desktop\arduino-1.8.13\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\VES\AppData\Local\Temp\arduino_build_748030\preproc\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\Users\VES\Desktop\arduino-1.8.13\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 -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\cores\arduino" "-IC:\Users\VES\Desktop\arduino-1.8.13\hardware\arduino\avr\variants\standard" "C:\Users\VES\AppData\Local\Temp\arduino_build_748030\sketch\sketch_jan18a.ino.cpp" -o "C:\Users\VES\AppData\Local\Temp\arduino_build_748030\sketch\sketch_jan18a.ino.cpp.o"

Compiling libraries...

Compiling core...

Using precompiled core: C:\Users\VES\AppData\Local\Temp\arduino_cache_281364\core\core_arduino_avr_uno_af0c86e63ef296b9e6670b4121cb7824.a

Linking everything together...

"C:\Users\VES\Desktop\arduino-1.8.13\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\Users\VES\AppData\Local\Temp\arduino_build_748030/sketch_jan18a.ino.elf" "C:\Users\VES\AppData\Local\Temp\arduino_build_748030\sketch\sketch_jan18a.ino.cpp.o" "C:\Users\VES\AppData\Local\Temp\arduino_build_748030/..\arduino_cache_281364\core\core_arduino_avr_uno_af0c86e63ef296b9e6670b4121cb7824.a" "-LC:\Users\VES\AppData\Local\Temp\arduino_build_748030" -lm

exit status 1

Error compiling for board Arduino Uno.

Invalid library found in C:\Users\VES\Desktop\arduino-1.8.13\libraries\libraries: no headers files (.h) found in C:\Users\VES\Desktop\arduino-1.8.13\libraries\libraries

Welcome to the forum

 no headers files (.h) found in C:\Users\VES\Desktop\arduino-1.8.13\libraries\libraries

What, if anything, is in that folder ?

What is the full path to your Sketchbook folder, ie where your sketches are saved by default ?

Do you mean where my sketches are automatically saved?
It's in a folder where all my other sketches are but there is also another folder inside entitled "libraries" and inside it had a note that said "read me" which made me go to a webpage that basically shows the steps to install the libraries and I tried it but I didn't seem to get it right because nothing changed

All your sketches are in the folder "libraries" ?
Why did you put them there?

But it seems not to be that - your current code located on another path::
C:\Users\VES\Documents\Arduino\sketch_jan18a\sketch_jan18a.ino

As about error, it seems to me that the message "Invalid library found..." is not connected with fail of building process. The error is somewhere else.
Do you have options "verbose output for compilation and upload" checked in IDE Preferences?

Oh no, what I meant was that my sketches were in a folder called "Arduino" but the "libraries" folder is also in the same folder as the folder for my sketches but they're separated

I also may have locate the code on another path by accident trying to fix the error

But I do have the options "verbose output for compilation and upload" checked

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