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
Normal Topic chipKIT UNO32 compile error (Read 5279 times)
goroth
Newbies
*
Offline


Posts: 3
Joined: Dec 4th, 2014
chipKIT UNO32 compile error
Dec 4th, 2014 at 4:07am
Print Post  
I receive the following when compiling a new empty chipKIT UNO32 project.
mpide.exe is compiling projects just fine but not through VS.
I even tried to uninstall and reinstall the VisualMicro VS plugin.

Compiling 'TestUno32' for 'chipKIT UNO32'
core.a(WSystem.c.o)*:In function `initIntVector'
WSystem.c:undefined reference to `_image_header_info'
WSystem.c:undefined reference to `_image_header_info'
collect2*:ld returned 1 exit status
Error creating .elf
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: chipKIT UNO32 compile error
Reply #1 - Dec 4th, 2014 at 3:47pm
Print Post  
Hi,

Before we look into this can you please un-tick "tools>visual micro>automatic debugging" and try the build again. 

Thanks
  
Back to top
IP Logged
 
goroth
Newbies
*
Offline


Posts: 3
Joined: Dec 4th, 2014
Re: chipKIT UNO32 compile error
Reply #2 - Dec 4th, 2014 at 4:02pm
Print Post  
I unchecked the "automatic debugging" but I still get the same error in the output window.
Also it shows the following in the error list window.
"Error      1      Sketch (WSystem.c.o)"

The core.a(WSystem.c.o) filename seems odd to me.

As a side note, I also compile Arduino UNO through your tool in VS 2013 Update 4 and it is working fine.
It seems to only happen with the MPIDE builds.
Also, this computer is a Windows 10 Preview Build 9879.
But like I said, MPIDE builds fine outside of VS 2013.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: chipKIT UNO32 compile error
Reply #3 - Dec 5th, 2014 at 2:00am
Print Post  
Hi,

Thanks for the info. What version of mpide are you using. Maybe they have updated it since we last tested with it?

Thanks
  
Back to top
IP Logged
 
goroth
Newbies
*
Offline


Posts: 3
Joined: Dec 4th, 2014
Re: chipKIT UNO32 compile error
Reply #4 - Dec 5th, 2014 at 2:18pm
Print Post  
MPIDE 0023-Windows-20140821
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: chipKIT UNO32 compile error
Reply #5 - Dec 6th, 2014 at 7:30pm
Print Post  
Oh,

Thanks I didn't realise they had released a new ide version in August. They have changed some compiler settings which are now working in vm so will make a release or give you a patch shortly.

Thanks for raising the issue.

ps: The MPIDE page on Visual Micro is useful. It states the currently supported MPIDE release.
http://www.visualmicro.com/page/ChipKit-Pic32-and-MPIDE-in-Visual-Studio.aspx
« Last Edit: Dec 6th, 2014 at 7:33pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: chipKIT UNO32 compile error
Reply #6 - Dec 6th, 2014 at 11:54pm
Print Post  
There is a new beta of visual micro available from the downloads page. The beta contains an updated platform.txt for mpide pic32 boards. see http://www.visualmicro.com/page/Visual-Micro-Product-Version-History-Fixes-and-A...

The .o files build okay for most chipKIT sources but the new version has additional flags. So it is best to ensure you start with a  clean build. It would be a good idea to click "build.clean solution" the first time you build with the updated visual micro. 

Thanks for the post
« Last Edit: Dec 7th, 2014 at 3:23am by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint