Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) System cannot find file ?? WHich one? (Read 12593 times)
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
System cannot find file ?? WHich one?
Mar 11th, 2016 at 4:28pm
Print Post  
Can someone please identify WHICH file "system" cannot find?
Thanks 

Compiling 'TEST_NEW' for 'Arduino Due (Programming Port)'
Build folder: /V.Micro/Arduino/Builds/TEST_NEW/arduino_due_x_dbg
Summary: Header=1 Prototypes=3 Imports=0
Additional Defines: 
Architecture Tools: {runtime.tools.arm-none-eabi-gcc.path}/bin/
Sketchbook: file:///c:/temp
Core Include Paths
Include Path 'C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\cores\arduino'
Include Path 'C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\variants\arduino_due_x'
"{runtime.tools.arm-none-eabi-gcc.path}/bin/arm-none-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=168 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="\"Unknown\"" -DUSB_PRODUCT="\"Arduino Due\"" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/libsam" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/CMSIS/CMSIS/Include/" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/CMSIS/Device/ATMEL/" -I"C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\cores\arduino" -I"C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\variants\arduino_due_x" "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\TEST_NEW\arduino_due_x_dbg\TEST_NEW.cpp" -o "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\TEST_NEW\arduino_due_x_dbg\TEST_NEW.cpp.o"
The system cannot find the file specified
     Process: "{runtime.tools.arm-none-eabi-gcc.path}\bin\arm-none-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=168 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="\"Unknown\"" -DUSB_PRODUCT="\"Arduino Due\"" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/libsam" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/CMSIS/CMSIS/Include/" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/CMSIS/Device/ATMEL/" -I"C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\cores\arduino" -I"C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\variants\arduino_due_x" "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\TEST_NEW\arduino_due_x_dbg\TEST_NEW.cpp" -o "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\TEST_NEW\arduino_due_x_dbg\TEST_NEW.cpp.o"
Error compiling
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #1 - Mar 11th, 2016 at 4:41pm
Print Post  
Yes it is in the output it can't resolve build property {runtime.tools.arm-none-eabi-gcc.path}

Arduino 1.6.8 was only released this week so you will see that visual micro currently only supports up to 1.6.7
  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: System cannot find file ?? WHich one?
Reply #2 - Mar 11th, 2016 at 5:58pm
Print Post  
Hi Tim, 
just figured that too. 
The problem is I cannot run 1.6.7. , at least I could not few weeks ago. Some kind of CPU hardware issue been told by developers. 
So I am stuck for time being. 
Or - can I go back to 1.6.6 ? Or eve 1.6.4 for what I am trying to do now. Does not matter. 
I'll try that. 
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #3 - Mar 11th, 2016 at 6:05pm
Print Post  
1.6.5 is good
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #4 - Mar 12th, 2016 at 12:49pm
Print Post  
I have looked at this. I think the problem is that you have an old 1.6.4 SAM tool chain installed in boards manager. I will try it at some stage but if you open the arduino 1.6.8 ide and open "Boards>Board Manager" then update your sam core to 1.6.6 you should find it works.

I have tested with the 1.6.6 SAM core + 1.6.8 Ide and it seems okay. 

I also see that there is a new 1.6.7 core which I will try shortly.
« Last Edit: Mar 12th, 2016 at 1:07pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #5 - Mar 12th, 2016 at 1:35pm
Print Post  
Oh I have just noticed you are using an old version of visual micro. This will not work so well with arduino 1.6.6+. Arduino has changed a lot in the past year.

It does not matter that the arduino ide does not start. Visual micro does not use arduino.exe. So use the zip from arduino.cc to unpack 1.6.5 into a new folder such as c:\arduino\arduino165 then point visual micro to that folder.
« Last Edit: Mar 12th, 2016 at 1:36pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: System cannot find file ?? WHich one?
Reply #6 - Mar 12th, 2016 at 2:05pm
Print Post  
Tim, thanks for doing all this work.Did not mean to open this "update IDE" can of worms again. 
I am not sure how "core updating" works, but I'll try it. 
So if the VM does not use Arduino.exe why is "configuration manager" pointed to it? 
I can switch to different versions of IDE by changing that. 
And minor question - what does the pull down box do in same dialog? 
But the big question - can I still update 6.2 to 1.6.8 IDE BEFORE this mysterious "free trial" expires again?
I do not need to go to AS 7 right now, but MAY in future. 
I am just trying to figure out how to use Due native USB port and the "real" USB software is in ASF, the IDE sucks as far as Due and USB support goes.  That is the ONLY reason I switched from IDE to AS for now. 

PS When you use configuration manager to tactfully download the IDE which package should be used - windows exe or the zipped one? Windows installer wipes out the older IDE version so I quit using that long time ago. 
Never mid - just noticed you already mention to use zip.
« Last Edit: Mar 12th, 2016 at 2:07pm by Vaclav »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #7 - Mar 12th, 2016 at 2:29pm
Print Post  
No probs.

1)
If you want to stay with Atmel 6.2 and Visual Micro then you have to use an Arduino version 1.6.5 or earlier although it shouldn't be that hard to make a working hybrid by replacing the tools and/or core of an earlier version

2)
You point Visual micro to the location of the arduino ide folder so that it can find the sub folders for avr\tools\libraries and references. Also it can establish the version of the ide.

3)
In arduino 1.6.5 and earlier the arduino boards manager stored it's downloaded packages in a different location to 1.6.6+. This caused a lot of confusion and big difference that older versions of visual micro do not know. The path on your machine if different than I expect but maybe this is an XP thing. C:\Documents and Settings\Vaclav\Application Data\arduino15

On my machine:-

<= 1.6.5 board manager installs to "c:\users\myname\appdata\roaming\arduino15"
>= 1.6.6 board manager installs to "c:\users\myname\appdata\local\arduino15"

4)

Visual Micro allows you to have one ide of each different version installed at the same time. This means you can switch between 1.5 and 1.6 using the tool bar "micro apps list" combo box.

5)

No you can not update atmel 6.2 to work with 1.6.8 even if you paid for the software. 

Microsoft discontinued add-ins so visual micro was updated to use the newer system. I might try to revisit the backward compatibility for as6.2 and vs2010 at some future point but it's not easy and holds the project back from using more reliable newer and easier to support technologies.

Atmel in AS7 have also made the integration for arduino .INO more difficult (and more difficult to support) which is why Visual Studio is the main focus of Visual Micro especially now that it is free. The AS7 version is currently behind and will be updated during the next month or two but it will always be behind the VS version. For some users converting their arduino projects to .cpp in AS7 and working outside of the Arduino dev environment might be the best route forward.

« Last Edit: Mar 12th, 2016 at 2:50pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: System cannot find file ?? WHich one?
Reply #8 - Mar 12th, 2016 at 4:05pm
Print Post  
Thanks, I am really sorry for all this. 
I need to reassess what I am after and just find the combination of versions / releases which will work. 
I think 1.6.5. rc2 worked just fine, if I still have the original.

I am basically back to my original project to use SAM3x8e native USB port. I done lots of research and made the "loop" USBTask class to work. Now I want to implement same in true interrupt fashion and IDE just won't do, I need ASF. 
You have a great weekend. 

I did try to "update" the board manager in 1.6.8. - no luck. 
Maybe I need to delete and reinstall it. 

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #9 - Mar 13th, 2016 at 12:50pm
Print Post  
I just tried 1.6.8 with the sam 1.6.6 tool chain in AS6.2 and it worked okay. 

However I had to install the sam tool chain using the Board Manager in the Visual Micro Explorer. This loads board definitions into a different location than 1.6.8

I suspect this is what the problem was when you tried it. If you used 1.6.8 to install the latest SAM defs then Visual Micro will not have found them and would have looked in the "old" location for them. Using Visual Micro to install the SAM hardware ensures the download is expanded to the correct location for Visual Micro. 

In essence, it doesn't seem to matter which Arduino Ide you use with Visual Micro but it is important to use visual micro (or arduino 1.6.5) to install the SAM hardware definitions so they are saved to the expected location. To install SAM 1.6.6 > Click the Yellow question mark on the Visual Micro tool bar then click the "Board Manager" tab. Then click Rescan or Restart Ide.
« Last Edit: Mar 13th, 2016 at 1:09pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: System cannot find file ?? WHich one?
Reply #10 - Mar 13th, 2016 at 2:30pm
Print Post  
Thanks again, Tim. 
So if I may ask - why are these "dependencies" not published? ( I have been looking thru registry trying to find why I cannot make the 1.6.8 play ).
So it is done some weird way, fine. 
I guess using ini  files or registry is "old technology" and not cool, so lets obfuscate stuff as much as they can. Perhaps to keep "developers" gainfully employed? 

That definitely contributed to many of problems when I stared using AS and VM. And it was not limited to VM. 
Remember my crasher which was eventually identified as Visual Assist being active? ? It is still there , on different PC.   
I hope developers do not publish stuff like this because they think it would be "over the user's heads". Bunch of nonsense. 

FYI I just downloaded AS 7 on Windows 7. It took forever and that "thing" is HUGE. 
Funny the editor is a part of the package, some very important videos (!) take big chunk of disk space. 
I hope this kind of "iteration" won't be source of another headaches in the future. 
I run out of time and did not try to load VM, so no report on that. 
I had to uninstall the AS , I did this on my son's PC so I had to uninstall to keep  peace in family, and it did not uninstall ANY of the MS supporting applications ( VS, net ). 
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #11 - Mar 13th, 2016 at 2:33pm
Print Post  
Ok. If yiou have as7 installed you don't need vm for your project. You can import your arduino project and it will convert it to a normal cpp project. Then you can 100% use asf
  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: System cannot find file ?? WHich one?
Reply #12 - Mar 13th, 2016 at 3:16pm
Print Post  
Thanks,
I just spent sleepless night thinking I have been doing this all wrong.
I though I should just ditch Arduino and do ASF.
I guess you talk  me into buying Windows 7, rats!
  
Back to top
 
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: System cannot find file ?? WHich one?
Reply #13 - Mar 14th, 2016 at 2:11pm
Print Post  
Tim, just FYI 
It looks as 1.6.8 is referenced correctly , but the compiler is still looking  for "manager" 1.6.4. 

I keep at it to see where is the issue, but you do not have to.
I am pretty happy running IDE 1.6.4. for now. 

Would this forum be OK to ask about using  "native USB" on Due ?
I had it working few years back using USBTask class. 
Now I want to use interrupts and having some issues. 
I cannot post on Arduino.cc they kicked me out for removing a post I got flamed for. And AVR Freaks do not want to talk ARM at all. 
Compiling 'ASCIITable' for 'Arduino Due (Programming Port)'
Build folder: /V.Micro/Arduino/Builds/ASCIITable/arduino_due_x_dbg
Summary: Header=1 Prototypes=3 Imports=0
Additional Defines: 
Architecture Tools: C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/
Sketchbook: file:///c:/temp
Core Include Paths
Include Path 'C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\cores\arduino'
Include Path 'C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\variants\arduino_due_x'
"C:\Documents and Settings\Vaclav\Application e-eabi-g++" -c -g -Os -w -ffunction-sections -fdata-sections -nostdlib -fno-threadsafe-statics --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -Dprintf=iprintf -MMD -mcpu=cortex-m3 -DF_CPU=84000000L -DARDUINO=168 -DARDUINO_SAM_DUE -DARDUINO_ARCH_SAM -D__SAM3X8E__ -mthumb -DUSB_VID=0x2341 -DUSB_PID=0x003e -DUSBCON -DUSB_MANUFACTURER="\"Unknown\"" -DUSB_PRODUCT="\"Arduino Due\"" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/libsam" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/CMSIS/CMSIS/Include/" "-IC:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\system/CMSIS/Device/ATMEL/" -I"C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\cores\arduino" -I"C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\variants\arduino_due_x" "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg\ASCIITable.cpp" -o "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg\ASCIITable.cpp.o"
Build Core Paths: C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam\1.6.4\cores\arduino
"C:\Documents and Settings\Vaclav\Application e-eabi-gcc" -Os -Wl,--gc-sections -mcpu=cortex-m3 "-TC:\Documents and Settings\Vaclav\Application _scripts/gcc/flash.ld" "-Wl,-Map,C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg/ASCIITable.map" -o "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg/ASCIITable.elf" "-LC:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg" -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group "C:\Documents and Settings\Vaclav\Local Settings\Application  "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg\ASCIITable.cpp.o" "C:\Documents and Settings\Vaclav\Application _sam3x8e_gcc_rel.a" "C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg/core.a" -Wl,--end-group -lm -gcc
arm-none-eabi-gcc*:error: C:\Documents and Settings\Vaclav\Local Settings\Application  No such file or directory
Error creating .elf
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: System cannot find file ?? WHich one?
Reply #14 - Mar 14th, 2016 at 2:27pm
Print Post  
It's okay to ask questions for Arduino compatible builds but not ASF. What I see in your post is normal arduino so that should be okay.

I think the problem is that arduino, in the past months, have moved the temp folder for the "core" to a sub folder called core. The older version of visual micro you are using will not be copying the core to the sub folder but instead doing it the old way in the root of C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg

You can see the error is attempting to find syscalls_sam3.c.o here C:\Documents and Settings\Vaclav\Local Settings\Application Data\V.Micro\Arduino\Builds\ASCIITable\arduino_due_x_dbg\core\syscalls_sam3.c.o

The config can be altered as follows:-

1)
Edit the text file called platform.txt in "C:\Documents and Settings\Vaclav\Application Data\arduino15\packages\arduino\hardware\sam" and remove "\core" from the path references so that the build system expects to find the core in the root. 

2)
Click Tools>Visual Micro\Reload toolchains or restart the ide.
« Last Edit: Mar 14th, 2016 at 2:28pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: System cannot find file ?? WHich one?
Reply #15 - Mar 14th, 2016 at 4:43pm
Print Post  
Thanks,
I sure appreciate your comments.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint