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 Build errors in SAMD project (due to updates?) (Read 1812 times)
Dave Long
Newbies
*
Offline


Posts: 4
Joined: May 8th, 2021
Build errors in SAMD project (due to updates?)
May 28th, 2021 at 9:53am
Print Post  
I have a project which compiled fine about a year ago. I neede to do some changes, but discovered that the original source will no longer compile. The error message look like this:

Compiling 'AuDa_HD' for 'Adafruit SAMD (32-bits ARM Cortex-M0+ and Cortex-M4) Boards'
 
arm-none-eabi-g++*: error: missing argument to -mcpu=
arm-none-eabi-g++*: warning: -x c++ after last input file has no effect
 
arm-none-eabi-g++*: fatal error: no input files
   compilation terminated



     An error was encountered during the 'Deep Search' library discovery process.
Build failed for project 'AuDa_HD'

I have no idea where to begin to troubleshoot. Any help would be very welcome !

Dave Long

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


Posts: 2143
Joined: Feb 13th, 2019
Re: Build errors in SAMD project (due to updates?)
Reply #1 - May 28th, 2021 at 9:57am
Print Post  
Thanks for the report.

If you could ensure the below options are set in vMicro:
  • vMicro > Compiler > Verbose
  • vMicro > Compiler > Show Build Properties


Then perform Build > Clean
Then perform a Build as normal
And attach the full output from the Output Window > Micro Build as a *.txt file, we will be able to assist further.

If it is also possible to also email us the project it will ensure we can resolve this as quickly as possible.
  
Back to top
 
IP Logged
 
Dave Long
Newbies
*
Offline


Posts: 4
Joined: May 8th, 2021
Re: Build errors in SAMD project (due to updates?)
Reply #2 - May 28th, 2021 at 10:34am
Print Post  
The output is still the same. See attached txt file. I will send you the project in reply to the mail I just received
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Dave Long
Newbies
*
Offline


Posts: 4
Joined: May 8th, 2021
Re: Build errors in SAMD project (due to updates?)
Reply #3 - May 28th, 2021 at 11:16am
Print Post  
OOPS! - sorry guys, I have discovered that my project was on an Adafruit M0 board, NOT a SAMD type - once I selected the correct board type it compiled correctly again !

Sorry for the 'beginners mistake' - I'm only 63 years old, and started programming when I was 17 - I guess I never learn!

Dave Long
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2143
Joined: Feb 13th, 2019
Re: Build errors in SAMD project (due to updates?)
Reply #4 - May 28th, 2021 at 11:31am
Print Post  
No problem and thanks for letting us know, and glad you have your project up and running again.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Build errors in SAMD project (due to updates?)
Reply #5 - Jun 20th, 2021 at 3:48pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint