Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ABoes1
Beginner
3,477 Views

unable to compile - missing file error - new installation

Hi,

I'm hoping someone can help me get me past an error I have trying to connect to a Galileo 2 for the first time.

I'm on a Windows 8.1 machine.

Here's what I've tried so far.

From

https://software.intel.com/en-us/iot/hardware/galileo/downloads https://software.intel.com/en-us/iot/hardware/galileo/downloads

downloaded

http://downloadmirror.intel.com/25384/eng/w_galileo_2015.0.010.exe http://downloadmirror.intel.com/25384/eng/w_galileo_2015.0.010.exe

installed to c:/intel

successful installation of device drivers, then this appeared.

Hung at this point in the installation:

This is what the installed arduino folder looked like at this point:

At this point I ended the Arduino_debug task in task manager

Still stuck on the installation of Arduino (6 of 6)

I ended the installation by end task in task manager

When I run Arduino, the following error appears:

When I run Arduino from the intel folder, the galileo board and the port show up fine from within the arduino sketch.

However when trying to compile the blink sketch I get this error:

Arduino: 1.6.5 (Windows 8.1), Board: "Intel® Galileo Gen2"

Build options changed, rebuilding all

C:\Users\Ann\AppData\Roaming\Arduino15\packages\Intel\tools\i586-poky-linux-uclibc\1.6.2+1.0/pokysdk/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++ -m32 -march=i586 --sysroot=C:\Users\Ann\AppData\Roaming\Arduino15\packages\Intel\tools\i586-poky-linux-uclibc\1.6.2+1.0/i586-poky-linux-uclibc -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -D__ARDUINO_X86__ -Xassembler -mquark-strip-lock=yes -march=i586 -m32 -DARDUINO=10605 -IC:\Users\Ann\AppData\Roaming\Arduino15\packages\Intel\hardware\i586\1.6.7+1.0\cores\arduino -IC:\Users\Ann\AppData\Roaming\Arduino15\packages\Intel\hardware\i586\1.6.7+1.0\variants\galileo_fab_g C:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp\Blink.cpp -o C:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp\Blink.cpp.o

(SNIPPED ABOUT 8 PAGES OF OUTPUT HERE…..)

C:\Users\Ann\AppData\Roaming\Arduino15\packages\Intel\tools\i586-poky-linux-uclibc\1.6.2+1.0/pokysdk/usr/bin/i586-poky-linux-uclibc/i586-poky-linux-uclibc-g++ -m32 -march=i586 --sysroot=C:\Users\Ann\AppData\Roaming\Arduino15\packages\Intel\tools\i586-poky-linux-uclibc\1.6.2+1.0/i586-poky-linux-uclibc -Os -Wl,--gc-sections -march=i586 -o C:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp/Blink.cpp.elf C:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp\Blink.cpp.o C:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp\variant.cpp.o C:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp/core.a -LC:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp -lm -lpthread

i586-poky-linux-uclibc-g++: error: C:\Users\Ann\AppData\Local\Temp\build1190872854453120664.tmp/core.a: No such file or directory

Error compiling.

At this point this is what the device manager shows:

Rebooted computer. Recompiled blink.

Did NOT get Sketchbook Folder disappeared window.

Got same error .

Any help is appreciated. I would really like to use this board.

Thanks,

Ann

0 Kudos
15 Replies
FTinetti
Honored Contributor I
285 Views

Hi Ann,

Try the manual installation https://software.intel.com/en-us/installing-drivers-and-updating-firmware-for-arduino-windows IoT - Installing drivers and updating firmware for Arduino on a system with Windows* | Intel® Developer Zone.

If you need specific help please ask.

Fernando.

ABoes1
Beginner
285 Views

Thanks Fernando,

I just attempted the manual update of the firmware.

The update started, and almost immediately gave me the following error:

I reran the update firmware program just to see what firmware it said was on the board and it now says it's 1.0.4

I tried to compile the blink sketch again and got the same file not found error.

i586-poky-linux-uclibc-g++: error: C:\Users\Ann\AppData\Local\Temp\build8467939714959025414.tmp/core.a: No such file or directory

Error compiling.

FTinetti
Honored Contributor I
285 Views

Interesting...

I tend to blame the installer... but I don't have strong technical support for this...

Anyway, since it is not working right now, please carry on with this:

1) Uninstall/delete the installed Arduino IDE

2) In the device manager (I take as reference the screen you posted) uninstall every unknown device (2 with ! in the screen) and Galileo (COM3 in the screen)

3) Install drivers manually and try again with the firmware update

Please let me know if this worked,

Fernando.

ABoes1
Beginner
285 Views

How do I install just the drivers manually?

FTinetti
Honored Contributor I
285 Views

ABoes1
Beginner
285 Views

Ok It's confusing to me because it seems as if this is the installation of everything not just the drivers.

I'll do this now and let you know what happens.

FTinetti
Honored Contributor I
285 Views

alb4h wrote:

Ok It's confusing to me because it seems as if this is the installation of everything not just the drivers.

I'll do this now and let you know what happens.

Yes, it's rather confusing (I felt horribly lost the first time I made it...), follow the step-by-step guide under the title

"Install and run the Firmware Updater tool"

and let me know what happens. Remember to uninstall everything before following the step-by-step guide.

Fernando,

ABoes1
Beginner
285 Views

WOOHOO!!! Success!!!

I had to do it all twice but I now have a working board that is running Blink!

I think the main problem was that I was not properly updating the drivers once I had them downloaded. I had to let the computer search for the Galileo driver rather than me browsing for and manually selecting it. Once the drivers were updated, then the firmware update worked. I reinstalled Arduino, added the board, and it worked.

THANK YOU!!!! for the hand holding and suggestions. I appreciate it so much!!

Ann

FTinetti
Honored Contributor I
285 Views

CONGRATS!

Maybe these hints help others, I'll use this thread as a reference.

And thank you for letting me (us) know.

Fernando.

ABoes1
Beginner
285 Views

One thing to add. I did discover that when running the installer, I did have the option to choose to install just the drivers. And that's what I did.

Thanks again!!! I really appreciate your help.

Ann

RCord2
Novice
285 Views

Hi Ann,

I don't know if I understood it correctly: Did you install the drivers manually or with the installer?

Thanks for your help.

Roberto

ABoes1
Beginner
285 Views

Hi Roberto - I'm not sure whether I am using the terminology properly.

I first tried to install everything using

http://downloadmirror.intel.com/25384/eng/w_galileo_2015.0.010.exe http://downloadmirror.intel.com/25384/eng/w_galileo_2015.0.010.exe

(the INtel Galileo board Windows installer)

I wasn't able to compile or upload to the board. After several tries, I deleted everything and reran the installer to install just the drivers.

Then I followed the steps listed under

Install and run the Firmware Updater tool

On this page: https://software.intel.com/en-us/installing-drivers-and-updating-firmware-for-arduino-windows IoT - Installing drivers and updating firmware for Arduino on a system with Windows* | Intel® Developer Zone

  1. Download and unzip the https://downloadcenter.intel.com/downloads/eula/24748/Intel-Galileo-Firmware-and-Drivers-1-0-4?httpD... Intel® Galileo board Firmware Updater for Windows.
  2. From the Windows Start menu, do one of the following:
    • For Windows 7: Open the Control Panel and select System and Security. In the System group, open the Device Manager.
    • For Windows 8: Point to Settings and select Control Panel. Click System. On the left, click Device Manager.
  3. In Ports (COM & LPT), you should see an open port named Gadget Serial V2.4 (if the board contains an old release like v0.7.5) or simply Galileo on newer releases.
  4. Right-click Gadget Serial V2.4 or Galileo port and choose the Update Driver Software option.
  5. Select Browse my computer for driver software.
  6. Navigate to the location of the Firmware Updater's folder. Inside the Galileo driver folder, select thelinux-cdc-acm.inf file.
  7. Once the driver is successfully installed, the Device Manager will show a Galileo (COMx) device under Ports (COM & LPT), as shown below.

HOWEVER,

I never saw anything that said Gadget Serial and even though there were no errors showing in the device manager next to the Galileo under ports, I went ahead and updated the drivers as described above. But instead of choosing the driver (steps 5 and 6), I had the computer search for the driver. It found the driver and updated it. Then I continued with the process and ran the firmware updater tool. It then updated without error. I think previously, when I tried to manually choose the driver I was choosing the wrong one. IT never let me actually choose a file, just a folder when I tried to browse for the driver so I'm not sure which file it actually chose. But when I had the computer search for the driver instead of choosing Browse my computer, then it worked.

Hopefully I answered your question... If not, feel free to ask again.

Ann

VUgho
Innovator
285 Views

i need help with the same error. I am using intel Arduino 1.5.3 but it gives the same error

i586-poky-linux-uclibc-g++: error

idata
Community Manager
285 Views

Hi Victor,

 

 

I'd recommend you to do an Arduino IDE upgrade. Go to https://www.arduino.cc/en/Main/Software https://www.arduino.cc/en/Main/Software and download a newer version. I use 1.6.11 and it works great on the Galileo. Make sure that the folders of this IDE do not mix with the ones from other IDEs.

 

 

Let us know your results.

 

 

-Sergio

 

FTinetti
Honored Contributor I
285 Views

Hi Victor_Ughonu

I agree with Sergio, I think the best way to go is by updating the Arduino IDE. Actually, the current version has a way better hardware handling as compared to the version you are using.

Fernando.

Reply