VS Arduino | |
Visual Micro >> General Board >> Mingw32.c Compile Error
https://www.visualmicro.com/forums/YaBB.pl?num=1531423731 Message started by TheStallionMang on Jul 12th, 2018 at 7:28pm |
Title: Mingw32.c Compile Error Post by TheStallionMang on Jul 12th, 2018 at 7:28pm
Hi everyone...
I get a lot out of forums so I just wanted to contribute something I ran into and fixed. I suddenly got a compile error from Visual Studios 2017 when compiling a solution for a Teensy 3.6 with Visual Micro. It was complaining about a line of code in "mingw32.c". I assume that's one of the files I don't touch in the Program Files (x86) Arduino directory... Or somethings else... Definitely isn't something I had touched though. I went to the build menu and selected "clean solution" and the problem went away. In fact... that has fixed a few perplexing problems. Hope that helps at least one person! |
Title: Re: Mingw32.c Compile Error Post by Visual Micro on Jul 12th, 2018 at 9:54pm
Thanks very much for the post!
Out of interest, have you recently updated your teensy core? |
Title: Re: Mingw32.c Compile Error Post by TheStallionMang on Jul 13th, 2018 at 1:50pm
The day before I updated to Visual Studios 2017, then installed arduino 1.8.5, and reinstalled teensyduino.
I had done several compiles after I completed all of those updates. The compile error seemed to come out of the blue... I went to lunch, came back, went to compile a few minor changes to my code, and I started getting: Quote:
:-? Cleaned the solution, and everything was fine. |
Title: Re: Mingw32.c Compile Error Post by Visual Micro on Jul 13th, 2018 at 2:47pm
Maybe renaming or re-structuring your project could cause some confusion in the build folder but not heard of this before.
Let's see if it happens again. Thanks |
Title: Re: Mingw32.c Compile Error Post by DIYGeezer on May 15th, 2019 at 10:44pm
Thank you TheStallionMang! I also encountered the same compile error and spent much time trying to figure which code change I did that caused the problem. Your solution fixed me right up! Thank you! :)
|
Title: Re: Mingw32.c Compile Error Post by Visual Micro on May 16th, 2019 at 6:26pm
Admin request: If anyone else posts against this thread please give the info request at the top of this forum so we can understand which hardware tool chain you are referring too.
Thanks |
Title: Re: Mingw32.c Compile Error Post by FrankP on Oct 1st, 2022 at 1:07am Tim@Visual Micro wrote on May 16th, 2019 at 6:26pm:
Here is a 'before fix' and 'after fix' verbose compile with build info. The 'fix' was to do a 'clean solution'. |
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |