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 Forcing rebuild (Read 8323 times)
andrewf
Newbies
*
Offline


Posts: 6
Joined: Oct 23rd, 2011
Forcing rebuild
Jun 2nd, 2013 at 1:49pm
Print Post  
I downloaded the latest AC3.0 code (RC4) and couldn't get it to build in VS2012 using VisualMicro 1.1305.09. Errors were:
   AP_Baro.cpp.o : : In Function 'AP_ParamT<float, (ap_var_type)4::set_and_save(float ...
   AP_Param.h : save()'
   AP_Param.h : save()'
   AC_Fence.cpp.o : : In Function 'AP_ParamT<float, (ap_var_type)4::set_and_save(float ...
   AP_Param.h : save()'
   AP_Param.h : save()'   
   Error creating .elf


I ended up resolving this by opening then saving the AP_Baro.h and AC_Fence.h files and then the build worked fine. I figure I forced it to see a change that needed a library to be rebuilt. Does this make sense as an explanation? Is there any way I can force a complete re-build just to make sure I have captured any changes? I am concerned that there may have been other code changes that did not result in build errors, but which I am missing.

Thank you,
Andrew
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Forcing rebuild
Reply #1 - Jun 2nd, 2013 at 2:20pm
Print Post  
Project menu build clean should work. I'll look into why the changes were not auto detected
  
Back to top
WWW  
IP Logged
 
andrewf
Newbies
*
Offline


Posts: 6
Joined: Oct 23rd, 2011
Re: Forcing rebuild
Reply #2 - Jun 2nd, 2013 at 2:48pm
Print Post  
Thank you Tim. 

I should have mentioned that I didn't start from a fresh project.  I merged the latest commits from the git repository and tried to rebuild.   

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Forcing rebuild
Reply #3 - Jun 2nd, 2013 at 2:52pm
Print Post  
Okay I see that is a bit off the wall and maybe the build>clean is the best solution for you.

Thanks
  
Back to top
WWW  
IP Logged
 
andrewf
Newbies
*
Offline


Posts: 6
Joined: Oct 23rd, 2011
Re: Forcing rebuild
Reply #4 - Jun 2nd, 2013 at 3:28pm
Print Post  
No big deal for me to do the clean build if that is what is needed.  If I have similar problems later on I will start with that. 

Thanks again, 
Andrew
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Forcing rebuild
Reply #5 - Jun 2nd, 2013 at 4:46pm
Print Post  
Thanks and well spotted!
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint