error in compiling rokit smart



  • I'm getting this error message when I try to verify the default programs:
    Arduino: 1.8.5 (Windows 10), Board: "Rokit-SmartInventor-mega32_v2"

    C:\Users\Efraim\Downloads\rokitarduinov1-0-9-1\rokitarduinov1-0-9\Rokit\Smart\Recovery_Smart-Inventor_160322\Recovery_Smart-Inventor_160322.ino:64:27: fatal error: SmartInventor.h: No such file or directory

    #include <SmartInventor.h>

                           ^
    

    compilation terminated.

    exit status 1
    Error compiling for board Rokit-SmartInventor-mega32_v2.

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


  • Global Moderator

    Download and install Rokit Arduino add-on files
    Before you can start using the Smart Inventor Board with the Arduino IDE, you'll need to download the Rokit add-on files. Click here to do that!
    This is the part that hasn't been done correctly. as per your file location it states:

    C:\Users\Efraim\Downloads\ rokitarduinov1-0-9-1 \rokitarduinov1-0-9\Rokit\Smart\Recovery_Smart-Inventor_160322\Recovery_Smart-Inventor_160322.ino:64:27: fatal error: SmartInventor.h: No such file or directory

    The bolded section indicates that it is still located in the zip folder or not in the same location, please extract it.

    -->Unzip the compressed file named “rokitarduinov1-0-9-1”.<--

    Run the Arduino IDE.
    Click the "File" tab.
    Go to "Preferences."
    Click the "Browse" button to find and select the folder where you unzipped “rokitarduinov1-0-9-1”.
    Exit out of Arduino and then reopen it.
    Click on the "Tools" tab and select the board you are using. If you're not sure which one you have, look on the front of your Smart Inventor Board and check the green sticker. For example, if your board says "Smart Inventor V2," you should select "Rokit-SmartInventor-mega32_V2".


Log in to reply
 

Looks like your connection to Robolink community was lost, please wait while we try to reconnect.