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 Cant build chipKit Project (Read 24814 times)
Hartwig
Newbies
*
Offline


Posts: 4
Location: Germany-Buxtehude
Joined: Apr 19th, 2013
Cant build chipKit Project
Jul 27th, 2014 at 5:52pm
Print Post  
Hi Guys.

I have a particular chipKit (PIC32) project witch can't be build by Visual Micro for Arduino.
The project contains a lot of c++ libraries and includes.

My Develop Environment is.....

Windows 7 Professional SP 1 
Visual Studio 2010 Version: 10.0.40219.1 SP1
Visual Micro Version: 14.07.1001
MPIDE Version: 0023 for Windows 20140316

I've got the following Error Message:
Couldn't determine program size information: System.ComponentModel.Win32Exception (0x80004005): Das System kann die angegebene Datei nicht finden
   bei System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   bei System.Diagnostics.Process.Start()
   bei processing.app.debug.Sizer.computeSizeInfoELF(String args)0

If I switch the MPIDE to 0023 for Windows 20140605-test (on the same machine), I've got the following, different Error Message:
ld.exe Error*:A heap is required, but has not been specified
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

It is possible to build this particular project on both MPIDEs Versions (without Visual Studio/Visual Micro)

Any ideas?
« Last Edit: Jul 28th, 2014 at 6:17pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12162
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cant build chipKit Project
Reply #1 - Jul 27th, 2014 at 6:00pm
Print Post  
Hi,

The VisualMicro/MpIde error is when attempting to get the size of the compiled program. This normally means the compilation was okay and an arduino program was created.

Please switch on "tools>visual micro>verbose messages" then try the build again then post the output of the latter part of the output at least

Please also switch on tools>options>visual micro>compiler>show build folder"

Thanks
« Last Edit: Jul 27th, 2014 at 6:00pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Hartwig
Newbies
*
Offline


Posts: 4
Location: Germany-Buxtehude
Joined: Apr 19th, 2013
Re: Cant build chipKit Project
Reply #2 - Jul 27th, 2014 at 6:30pm
Print Post  
Hi Tim,

as requested the build output. Please see the attched text file.
  

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


Posts: 12162
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cant build chipKit Project
Reply #3 - Jul 27th, 2014 at 7:23pm
Print Post  
Thanks for the output. 

It shows the program compiled okay but then failed to establish a memory report.

Binary sketch size: 133.384 bytes (used 26% of a 520.192 byte maximum) (13,42 secs)

Did you switch on the detailed memory usage report project property? If so then please switch it off because it doesn't seem to be support for chipKit at the moment

Thanks






In the meantime you might be able to use "Project>upload last sketch build" menu item to upload or make use of the file>preferences>external editor checkbox in the mpide.
  
Back to top
IP Logged
 
Hartwig
Newbies
*
Offline


Posts: 4
Location: Germany-Buxtehude
Joined: Apr 19th, 2013
Re: Cant build chipKit Project
Reply #4 - Jul 28th, 2014 at 10:29am
Print Post  
Hi Tim,

you are right.
I've switched the property off and all is fine.

Thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint