Berg0162 / simcline

Simulation of Changing Road Inclination for Indoor Cycling
GNU General Public License v3.0
29 stars 7 forks source link

Fail message in Arduino IDE #1

Closed Bigcogdog closed 3 years ago

Bigcogdog commented 3 years ago

hi. im very new at this and this project got me into arduino so here i am struggeling and im getting this messege when compilling the code:

Arduino: 1.8.16 (Windows 7), Board: "Adafruit Feather nRF52832, S132 6.1.1, Level 0 (Release)"

try_one:56:10: fatal error: Lifter.h: No such file or directory

56 | #include

  |          ^~~~~~~~~~

compilation terminated.

exit status 1

Lifter.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Berg0162 commented 3 years ago

Although verbose, the Arduino Error message is very clear: Your (Arduino IDE) Libraries directory is missing a critical file that references to the Lifter library. It fails to find the requested file: and probably (later in the compiling process) ----> Solution: copy ALL the content of the code in the Github directory (subdirectories AND their files) to the Arduino IDE directory.

Bigcogdog commented 3 years ago

Would it possible to contact you on mail? you can mail me at, mads-kudsk@hotmail.com to start a correspond

Berg0162 commented 3 years ago

For the time being, let's use this communication channel and see where it brings us!

Bigcogdog commented 3 years ago

Okay, very well.. Let me be honest, I am a builder with my hands and not very firm with a computer and this project is my first and I know it might be a little ambitious but I would really like it to work, I have everything sorted, tacx hometrainer, the system wired up and the simcline build. The only thing missing is the system on the adafruit board.. Is there a way to get the adafruit with the codes on from you? -Thanks Mads

Berg0162 commented 3 years ago

Ok Mads, that sounds like a worst case scenario! And we shouldn't start there! You are so close and I am convinced you can upload the Feather board with the code all by yourself! On your Windows PC find (with Explorer) the following path: > This PC > Documents > Arduino
That Arduino directory is where the Windows Arduino IDE stores all the user generated program code. When you visually scan that Arduino subdirectory you will see the names of program code that you somehow created before, possibly there is also a subdirectory called libraries. The path looks like this: > This PC > Documents > Arduino > libraries In the error message from above that is exactly the place where the Arduino IDE was looking for a subdirectory called Lifter, containing a file called Lifter.h. How to get things now up and running? All you have to do is, copy ALL the contents of the Github Arduino file directory to the Windows Arduino file directory of your PC. Apparently you have succeeded in downloading some code from Github in that Windows Arduino directory, otherwise you would not have had that error message. So you are capable of downloading a file from Github to that Windows Arduino directory. In the end your Windows Arduino directory should be an exact copy (directory names and file content) of the Github Arduino directory. In the Windows Arduino IDE select: File > Sketchbook and you will see not only the Simcline_v03 code but also the test programs that are helpful with testing your configuration. Now start simple: try compiling and uploading to the Feather board for example the I2C_scanner and then the OLED_SSD1306 test programs.... Succes!