beginner here just want to try this but its full of errors
v1.ino (788 Bytes)
v2.ino (957 Bytes)
Please do this:
If the text exceeds the forum’s 9000 character limit, save it to a .txt file and post it as an attachment. If you click the “Reply” button here, you will see an “Attachments and other settings” link.
Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno" v1:1:10: fatal error: FastLED.h: No such file or directory #include <FastLED.h> ^~~~~~~~~~~ compilation terminated. exit status 1 FastLED.h: No such file or directory This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
thanks in advance
When you see a "No such file or directory" error it almost always means you need to install the library that contains the missing file.
Often the code you're compiling will come with documentation (either a comment or separate document) that tells you where to get the library dependencies.
In other cases the author of the code will not have been so kind and you'll need to go on a hunt for the missing library.
A good place to start is the Arduino IDE's Library Manager:
If you have no luck in Library Manager then load up your favorite search engine and do a search for the missing filename. You will often get multiple results. If you have a lot of results you might add "arduino" as an additional search keyword. I will usually prefer results on github.com since that is where most Arduino libraries are hosted and downloading from there is fast and easy. In some cases there will be multiple libraries that contain the given filename and you'll need to do some evaluation to determine which seems the most appropriate, then try it out. After downloading the library you found you'll need to install it. This requires a different process than the Library Manager installation. You will find instructions here:
Arduino: 1.8.12 (Windows 10), Board: "Arduino Uno" In file included from C:\Users\xemnaxss\Documents\Arduino\Music-Reactive-LED-Strip-master\v1\v1.ino:1:0: C:\Users\xemnaxss\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.003 # pragma message "FastLED version 3.003.003" ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Error running c:\program files (x86)\arduino\hardware\tools\avr\bin\../lib/gcc/avr/7.3.0/../../../../avr/bin/ar.exe: CreateProcess exit status 1 Error compiling for board Arduino Uno. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
The “#pragma message” is just a way for FastLED to tell you what version of the library you are using. It is not an error.
The problem seems to be in running a part of the build process. That might be a bug in the IDE or it might be caused by a bad installation. My recommendation would be to re-install the Arduino IDE. A re-install will not harm your sketches or third-party libraries (like FastLED).
sorry for late reply but thanks for the help