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) Something has gone terribly wrong not able to compile at all! (Read 6097 times)
GeckospotNixie
Junior Member
**
Offline


Posts: 18
Location: East Coast
Joined: Mar 24th, 2013
Something has gone terribly wrong not able to compile at all!
Dec 15th, 2016 at 1:55pm
Print Post  
I will try and make this short and to the point.
I have 2 computers that are configured almost identical.
Each has VS2013 with Visual Micro 1.1611.21,1125  and Arduino 1.6.11 and 1.612.
One computer works just fine without issue its name is “Lenovo”.
And the other “LAB10” is the one I cannot compile a thing on.
And it was all working just fine no issues about a month back.
The test code compiles on the Lenovo no issues.
But on LAB10 in VS2013 with VM I get the following errors.
“Error compiling core”
But the code will compile using either V1.6.11 or V1.6.12 in the Arduino IDE without issue.

So I may have made hard on Visual Micro Extension.
The way I had it set up was in the “Configure Ide Location” under “Arduino 1.6” I have the Arduino IDE location of version 1.6.12 and under “Arduino 1.5” I have the location of version 1.6.11.
The issues started with Arduino 1.6.12 I would get the error.
And 1.6.11 would compile without issue.
I was trying to fix the 1.6.12 and now the 1.6.11 has the same error.
I have removed the Visual Micro Extension and reinstalled it in VS2013 but that was no help.
It looks to me that VM is not using the correct path to the compiler?
I have attached a number of files.

Good output from VS2013, VM, Arduino 1.6.11 when it was working LAB10
Visual Micro in VS2013 Arduino 1.6.11 Build Output of Mega_Nano_Clock LAB10 121416.txt

Errors from VS2013, VM Arduino 1.6.11 or 1.6.12  LAB10
Visual Micro in VS2013 Arduino 1.6.12 Build Output of Mega_Nano_Clock LAB10 121416.txt

Any help would be outstanding Thank You all

  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Something has gone terribly wrong not able to compile at all!
Reply #1 - Dec 15th, 2016 at 2:13pm
Print Post  
Hi

Thanks for he detailed info.

The error is that the system seems unable to compile .S assembler files. I will run a test over the next 24 hours

The error is 

Code
Select All
el3.5.3-arduino/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=106012 -DARDUINO_1284P_STANDARD -DARDUINO_ARCH_AVR -I"C:\Users\LAB10\Documents\arduino-1.6.12\hardware\arduino\avr\cores\arduino" \standard" ng_pulse.S" -o -nano-1284p_avr_meganano_mbps\core\wiring_pulse.S.o"
The system cannot find the file specified 

  
Back to top
IP Logged
 
GeckospotNixie
Junior Member
**
Offline


Posts: 18
Location: East Coast
Joined: Mar 24th, 2013
Re: Something has gone terribly wrong not able to compile at all!
Reply #2 - Dec 15th, 2016 at 3:09pm
Print Post  
Thank You Tim
You know I thinking about this some of this may have to do with the boards.
I don’t know how but for your info I was using an Adafurit Huzzah ESP8266 board for somethings. 
I think that this came up when I moved back to the Atmel boards.
The Mega Nano 1284 is a custom board of mine so it is an Amega 1284 Atmel chip.
Just FYI info.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Something has gone terribly wrong not able to compile at all!
Reply #3 - Dec 15th, 2016 at 3:25pm
Print Post  
Thanks it's always useful to know but I don't think it's related. Each part of the build process is unrelated.

You should be able to run this line from cmd prompt or .bat file and see the same error

Code
Select All
el3.5.3-arduino/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -mmcu=atmega1284p -DF_CPU=16000000L -DARDUINO=106012 -DARDUINO_1284P_STANDARD -DARDUINO_ARCH_AVR -I"C:\Users\LAB10\Documents\arduino-1.6.12\hardware\arduino\avr\cores\arduino" \standard" ng_pulse.S" -o -nano-1284p_avr_meganano_mbps\core\wiring_pulse.S.o" 



I would be interested to see a verbose output from the arduino ide. "File>preferences>verbose compile"

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


Posts: 18
Location: East Coast
Joined: Mar 24th, 2013
Re: Something has gone terribly wrong not able to compile at all!
Reply #4 - Dec 15th, 2016 at 3:51pm
Print Post  
Tim
Here are the requested outputs.
One from 1.6.11 and the other is 1.6.12 from LAB10 computer.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
GeckospotNixie
Junior Member
**
Offline


Posts: 18
Location: East Coast
Joined: Mar 24th, 2013
Re: Something has gone terribly wrong not able to compile at all!
Reply #5 - Dec 15th, 2016 at 3:55pm
Print Post  
Tim
And here are some screen shots from that computer.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
GeckospotNixie
Junior Member
**
Offline


Posts: 18
Location: East Coast
Joined: Mar 24th, 2013
Re: Something has gone terribly wrong not able to compile at all!
Reply #6 - Dec 15th, 2016 at 3:59pm
Print Post  
The inserting thing is I have the same file structure under the “Roaming” AppData
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Something has gone terribly wrong not able to compile at all!
Reply #7 - Dec 15th, 2016 at 4:04pm
Print Post  
Ignore the Roaming. Arduino switched from roaming to local in recent versions.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Something has gone terribly wrong not able to compile at all!
Reply #8 - Dec 15th, 2016 at 4:07pm
Print Post  
Okay I can see the problem. You have a partial avr install in the appData folder. 

Arduino contains the avr under the ide folder

Delete "C:\Users\LAB10\AppData\Local\arduino15\packages\arduino" then re-start Visual studio.

I will look into a better check to determine a partial/corrupted package but removing the folder should sort this out.

  
Back to top
IP Logged
 
GeckospotNixie
Junior Member
**
Offline


Posts: 18
Location: East Coast
Joined: Mar 24th, 2013
Re: Something has gone terribly wrong not able to compile at all!
Reply #9 - Dec 15th, 2016 at 5:57pm
Print Post  
Cry of Joy “Hooray”  Cheesy
You came you saw and kicked its xxx

Thank you so much!  Cool
So that fixed it all up happily compiling now.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Something has gone terribly wrong not able to compile at all!
Reply #10 - Dec 15th, 2016 at 9:55pm
Print Post  
Great, thanks for the update and for the very clear reports.
« Last Edit: Dec 15th, 2016 at 9:56pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint