Arduino101 Upload error

Discussion in 'UDOO X86' started by cgallant, Jun 5, 2017.

  1. cgallant

    cgallant New Member

    Joined:
    Jun 5, 2017
    Messages:
    12
    Likes Received:
    4
    I am using Arduino 1.8.2 on Ubuntu 17.04. I used the Boards Manager to install version 2.0.2 for the Intel Curie Boards. When I compile, I get the following error:

    fork/exec /home/gallant/.arduino15/packages/Intel/tools/arc-elf32/1.6.9+1.0.1/bin/arc-elf32-g++: no such file or directory
    Error compiling for board Arduino/Genuino 101.

    I have Tools>Board set to Arduino/Genuino101. The programmer is USBasp.
    Also, I changed upload permissions per some threads on this forum, but my issue is a compile problem.

    Any idea how to fix? Thanks.
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  3. cgallant

    cgallant New Member

    Joined:
    Jun 5, 2017
    Messages:
    12
    Likes Received:
    4
    Thanks for the tip! I actually discovered that one out late last night but couldn't figure out a way to delete a post. Here's what caused the problem in the first place: When I installed the board it hung for a long time and I thought it had crashed. So, I cancelled out and reinstalled with seemingly no problem. But the reinstall didn't actually work when I tried to compile. So, the cancelling out and reinstall were the root of the problem. The lesson is... when you install the board and it hangs, one has to be be very patient, for minutes in fact, and all will be ok. Thanks again.
     
    waltervl likes this.
  4. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    It is good you did not delete your post else we did not have this lessons learned. :)
     
    Kilrah likes this.
  5. asvaldr

    asvaldr New Member

    Joined:
    Oct 18, 2013
    Messages:
    24
    Likes Received:
    0
    Sorry so what was the fix once you were in this situation... cause i'm in that situaltion now.
    Running arduino un-install then install again didn't help.

    Thanks in Advance
     
  6. asvaldr

    asvaldr New Member

    Joined:
    Oct 18, 2013
    Messages:
    24
    Likes Received:
    0
    Turns out. You should undo this and start again by:
    1. Run the uninstall.sh
    2. Delete the folder you were running it from
    3. delete the hidden ~/.arduino15 ffolder in the home directory
    4. Run install again.
    Its that hidden directory tha tholds onto the board installs.
    This time when you install it and arduino says you need libraries for your board. Start the install and leave the room.... it takes a very long time.
    For reference I'm installing Arduino 1.8.9 on Ubuntu Mate 18.04 LTS
     

Share This Page