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 [2]  Send TopicPrint
Locked Topic Issue after upgrade arduino ide (Read 21932 times)
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue after upgrade arduino ide
Reply #20 - Dec 17th, 2014 at 2:48pm
 
Thanks, yes exactly the error I expect if cygwin can not be located when the toolchain runs

Please put the command in a .bat file and try to understand why it does not work.

"C:\Program Files\Arduino/hardware/tools/avr/bin/avr-g++" -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=158 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -I"C:\Program Files\Arduino\hardware\arduino\avr\cores\arduino" -I"C:\Program Files\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\montecchil\AppData\Local\VMicro\Arduino\Builds\Blink\uno\Blink.cpp" -o "C:\Users\montecchil\AppData\Local\VMicro\Arduino\Builds\Blink\uno\Blink.cpp.o"

The "CYGWIN environment variable option "nodosfilewarning" turns off this warning." also indicates a similar issue. This is just a wanring that can be ignored but Visual Micro is also setting the envronment variable to prevent this message from happening.

I will also perform some more tests over the next few days but 1.5.8 has been around for some weeks now and there were only two things to make this work for myself and some other testers:-

1) Allow the new g++ to find the cygwin.dll
2) Create a CYGWIN env variable with a value of nodosfilewarning

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue after upgrade arduino ide
Reply #21 - Dec 17th, 2014 at 2:51pm
 
ps: I do need to look at why this has broken for you when it was working with 1.5.7.

You can see here that this issue started in 1.5.7 and was resolved by vm in a similar way to the article

https://github.com/arduino/Arduino/issues/2216

  
Back to top
IP Logged
 
montecchi
Junior Member
**
Offline


Posts: 18
Joined: Oct 19th, 2012
Re: Issue after upgrade arduino ide
Reply #22 - Dec 17th, 2014 at 2:54pm
 
Yes, i found the same article with the gcc error.
Now I solved but i have not undestand how a dll was in toolchain path
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue after upgrade arduino ide
Reply #23 - Dec 17th, 2014 at 2:58pm
 
I asked you to copy the dll into the toolchain path earlier today as a test. 

This was because everything else failed.

It would help to now understand the final actions that have resolved this?

Thanks
  
Back to top
IP Logged
 
montecchi
Junior Member
**
Offline


Posts: 18
Joined: Oct 19th, 2012
Re: Issue after upgrade arduino ide
Reply #24 - Dec 17th, 2014 at 3:00pm
 
Yes, i now.
Buf after this, i have deleted from avr/bin all the dll that was in arduino.exe path and after this the issue is solved.
So, i suppose that the arduino ide upgrade has copy a dll in wrong path, but now i dont know wich of those is
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue after upgrade arduino ide
Reply #25 - Dec 17th, 2014 at 3:01pm
 
Okay I'm confused but pleased that it is working  Smiley
  
Back to top
IP Logged
 
montecchi
Junior Member
**
Offline


Posts: 18
Joined: Oct 19th, 2012
Re: Issue after upgrade arduino ide
Reply #26 - Dec 17th, 2014 at 3:04pm
 
C:\Program Files\Arduino; MUST be in first position of enviroment path (i think because i have winavr installed);


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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue after upgrade arduino ide
Reply #27 - Dec 17th, 2014 at 3:07pm
 
Yes that is true and it was one change between the previous Visual Micro version and the current version because some users with winavr installed had this problem with the previous version.

So I have to investigate why the environment variables that visual micro configured automatically did not work for you. It is simple c# to set the environment variables so I am intrigued to find out why this happened to you.

Thanks for all the help
  
Back to top
IP Logged
 
montecchi
Junior Member
**
Offline


Posts: 18
Joined: Oct 19th, 2012
Re: Issue after upgrade arduino ide
Reply #28 - Dec 17th, 2014 at 3:11pm
 
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint