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) Cygwin errors ? how to remove (Read 11847 times)
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Cygwin errors ? how to remove
Sep 19th, 2014 at 5:11pm
Print Post  
Hi all, new user here.
When I compile (VS8) Sept 14 VMicro) 
I get LOTS of - for example
  Preferred POSIX equivalent ms_T31.elf
:CYGWIN environment variable option "nodosfilewarning" turns off this warning.

It compiles ok - I know nothing of Cygwin ?
I have added Cygwin and the nodosfilewarning to the system environment variables and rebooted - exactly the same.

Also - with intellisense - I seem to get lots more than Arduino  !! - how can I limit it to just arduino commands please ?
Many thanks
And hi to all.
Joe
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cygwin errors ? how to remove
Reply #1 - Sep 19th, 2014 at 6:18pm
Print Post  
Hi Joe,

Arduino 1.5.7+ uses cygwin and Visual Micro sets an Environment variable to prevent the warning you are seeing.

It's strange that you see the warning. Can you please confirm the version of Visual Micro you are using from tools>options>visual micro>version>version?

If you are using the latest release 1407.10 of Visual Micro we will have to look into why the env var is not working on your pc. Maybe you already have another piece of software that has set this variable. Please look in "computer>advanced>environment variables" and look for the CYGWIN variable. 

If it doesn't exist then add it with a value of:-

Code
Select All
nodosfilewarning 



Look forward to hearing your vm version and if the variable exists in your global pc config aready.

Let's deal with intellisense discussion in another thread to keep things clean. When you create the thread please confirm the hardware and arduino version you are using.

Thanks

EDIT: Another thought. Arduino 1.0.6 was released a few days ago. I haven't had an issue with it but if you are using 1.0.6 then let me know that would change my answer. Thanks
« Last Edit: Sep 19th, 2014 at 6:55pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #2 - Sep 20th, 2014 at 8:42am
Print Post  
Hi Tim,
VM 1.1407.10

Arduino 1.57

VS 2008

Win 8.1

Sorry if you missed it but as I said in my post, I added the global environment variable prior to posting, no difference at all.
Out of interest - I was trying to run with 1.06 arduino prior to this and there were no boards or programmers - com ports yes - but boards and programmers blank - on both VS and Atmel 6.2
Using the beta of Arduino solved the boards and programmers option but then got the cygwin -  note - there are no problem at all in Atmel 6.2 with cygwin.
Joe
« Last Edit: Sep 20th, 2014 at 8:43am by Joe_H »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cygwin errors ? how to remove
Reply #3 - Sep 20th, 2014 at 11:20am
Print Post  
Hi Joe,

Sorry I missed the version info.

1)

I have replicated the cygwin warnings issue with Visual Studio 2008. Will have to look into why this happens for 2008 and not for all other VS and Atmel versions. I suspect that it is something to do with .NET3.5 which the 2008 version of Visual Micro has to use. All other versions of Visual Micro use .net 4.0 or 4.5. Each Ide loads the version of Visual Micro that it requires.

2)

The boards will be blank if you attempt to configure 1.0.6 location for the Arduino 1.5.x setting. You should select the Arduino 1.0.x location setting for 1.0.6.

You can run Visual Micro with both 1.0.x and 1.5.x locations configured then use the tool bar to switch between them for individual projects or tests.

I'll post again when I find why vs 2008 is ignoring the CYGWIN=nodosfilewarnings environment variable. Your guess will be as good as mine!
  
Back to top
IP Logged
 
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #4 - Sep 20th, 2014 at 11:29am
Print Post  
Many thanks Tim,
The boards were blank with V1.0 selected also - on both Atmel 6.2 and VS.
Loading 1.57 and setting 1.5 cured that. I could not run V1.0 with the release arduino at all.
Joe
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cygwin errors ? how to remove
Reply #5 - Sep 20th, 2014 at 11:31am
Print Post  
Hi Joe,

Did you install 1.0.6 into the same folder that previously contain 1.5.7 or a clean new folder?

This info will help me track down what happened to you.

Thanks
« Last Edit: Sep 20th, 2014 at 11:41am by Tim@Visual Micro »  
Back to top
IP Logged
 
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #6 - Sep 20th, 2014 at 11:38am
Print Post  
Hi Tim,
I originally had 1.06, so tried with - nothing on either atmel or VS with 1.0 set (no boards or programmers - but comm ports ok)
I then uninstalled and cleaned the old arduino (program files x86) - then reinstalled into c:\arduino - no difference.
Then replaced it with 1.57 (after full deletion of 1.06 and folder) - works but cygwin errors as you know - atmel ok.
Couldnt get 1.06 working any way at all.
Joe
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cygwin errors ? how to remove
Reply #7 - Sep 20th, 2014 at 11:43am
Print Post  
Hi,

So with 1.0.6 and 1.5.7 installed you had both Arduino 1.0.x and Arduino 1.5.x as options in the tool bar?

When you selected Arduino 1.0.x the tool bar boards list became empty and when you selected Arduino 1.5.x the "Yun" appeared?

Thanks

ps: did you re-start your pc after setting the CYGWIN environment variables. I found a blog on google that suggested this might be required for .net3.5. Might be a red herring
  
Back to top
IP Logged
 
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #8 - Sep 20th, 2014 at 11:49am
Print Post  
Hi Tim, yes restarted after system variable - no difference - 
I have never tried the 2 arduinos together.
I can test if you like ? 
Please advise how to run both together ?
  
Back to top
 
IP Logged
 
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #9 - Sep 20th, 2014 at 12:07pm
Print Post  
Just to clarify, it was 1.05 r2 I was using - I cannot dl 1.06 at the moment as their server appears down.
Joe
  
Back to top
 
IP Logged
 
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #10 - Sep 20th, 2014 at 12:50pm
Print Post  
Ok ,
Have installed 1.06 AND 1.5.7 - pointed the ide location for each at the appropriate folders -

Cannot see boards with 1.06 - ok with 1.57


Cygwin still same.
  
Back to top
 
IP Logged
 
Joe_H
Junior Member
**
Offline


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #11 - Sep 20th, 2014 at 1:10pm
Print Post  
Also installed 1.05 r2 - set pointer for 1.0 to this directory - still no boards in Ver 1.0 - ok in 1.57
Joe
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cygwin errors ? how to remove
Reply #12 - Sep 20th, 2014 at 1:13pm
Print Post  
Hi Joe,

Let's open a new thread for your boards issue because I know that there are over a 100,000 users who can see the boards so need to ask you some questions. When you create the thread please include a screen shot of the ide locations dialog with the path configured for 1.0.x

The CYGWIN warnings will be fixed by scouting the internet for an understanding of why a .net3.5 app would ignore environment variables. In the meantime I recommend atmel studio instead of Visual Studio 2008

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


Posts: 20
Joined: Sep 19th, 2014
Re: Cygwin errors ? how to remove
Reply #13 - Sep 20th, 2014 at 1:16pm
Print Post  
Out of interest - how many of those users are using VS 2008 and win 8.1 ?

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


Posts: 12204
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cygwin errors ? how to remove
Reply #14 - Sep 20th, 2014 at 1:20pm
Print Post  
Well the windows version doesn't make any difference but 2008 + Arduino 1.0.x is a combination that dates back to the beginnings of Visual Micro and the code is built from the same code base just compiled for each .net platform.

So it really is a lot of users and many years of testing for the combination you are using.

The Arduino 1.5.7 beta with the CYGWIN errors is a new combination but that is not 1.0.x.

I think when we look at some trace and config options that I will tell you about we will see the reason. The screen shot of the Ide config window with the path might also show something up.

But hopefully in a different thread so that other users can search and find the same discussion if applicable.

By the way did you run arduino 1.0.x to test it installed okay?

Thanks
« Last Edit: Sep 20th, 2014 at 1:27pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint