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) Error While Build (Read 3615 times)
Nadeem
Newbies
*
Offline


Posts: 9
Joined: Nov 21st, 2019
Error While Build
Nov 21st, 2019 at 1:22pm
Print Post  
i installed vs2017 and visual micro  when i build solution i  am getting error i attached a screen 
shot
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error While Build
Reply #1 - Nov 21st, 2019 at 1:25pm
Print Post  
Can you please attach the info requested in yellow above. It will shows the problem.

I expect that you have a part installed avr toolchain in board manager but the avr is installed with the arduino ide so it is not required anyway.

When we see your output we will be able to give you the path to a toolchain folder that needs to be removed/deleted.
  
Back to top
WWW  
IP Logged
 
Nadeem
Newbies
*
Offline


Posts: 9
Joined: Nov 21st, 2019
Re: Error While Build
Reply #2 - Nov 21st, 2019 at 1:53pm
Print Post  
When i call simple function  pinMode(3,OUTPUT);  its give eroor
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error While Build
Reply #3 - Nov 21st, 2019 at 1:54pm
Print Post  
Yes that is because it can't find the arduino avr toolchain.

Please follow the guide in yelow above so that we can help you
  
Back to top
WWW  
IP Logged
 
Nadeem
Newbies
*
Offline


Posts: 9
Joined: Nov 21st, 2019
Re: Error While Build
Reply #4 - Nov 21st, 2019 at 1:55pm
Print Post  
How to solve this problem i attached arduino
  
Back to top
 
IP Logged
 
Nadeem
Newbies
*
Offline


Posts: 9
Joined: Nov 21st, 2019
Re: Error While Build
Reply #5 - Nov 21st, 2019 at 2:02pm
Print Post  
ok I follow your guide given above
  

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


Posts: 9
Joined: Nov 21st, 2019
Re: Error While Build
Reply #6 - Nov 21st, 2019 at 2:15pm
Print Post  
Please Help i follow ur guide
  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error While Build
Reply #7 - Nov 21st, 2019 at 3:35pm
Print Post  
I think you need to uninstall and reinstall the Arduino IDE. It is broken and also shows a very old version number.

Make sure the Arduino IDE is working before you try to use Visual Micro
« Last Edit: Nov 21st, 2019 at 3:36pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Nadeem
Newbies
*
Offline


Posts: 9
Joined: Nov 21st, 2019
Re: Error While Build
Reply #8 - Nov 22nd, 2019 at 3:45am
Print Post  
i try with old and new version but still getting error
  
Back to top
 
IP Logged
 
Nadeem
Newbies
*
Offline


Posts: 9
Joined: Nov 21st, 2019
Re: Error While Build
Reply #9 - Nov 22nd, 2019 at 3:57am
Print Post  
An error was encountered during the 'Deep Search' library discovery process.
Build failed for project 'myproject'
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error While Build
Reply #10 - Nov 22nd, 2019 at 12:25pm
Print Post  
Does the Arduino IDE build the sketch project okay?
  
Back to top
WWW  
IP Logged
 
theklaus
Newbies
*
Offline


Posts: 3
Joined: Nov 22nd, 2019
Re: Error While Build
Reply #11 - Nov 22nd, 2019 at 2:23pm
Print Post  
I have the same problem, arduino IDE builds projects perfectly.
  
Back to top
 
IP Logged
 
theklaus
Newbies
*
Offline


Posts: 3
Joined: Nov 22nd, 2019
Re: Error While Build
Reply #12 - Nov 22nd, 2019 at 2:26pm
Print Post  
I think i found a solution
Just updated from 1911.17.3 to 1911.17.5 and it seems to compile... 


wasted few hours on this Sad
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error While Build
Reply #13 - Nov 22nd, 2019 at 2:29pm
Print Post  
Sorry yes there was a fix 24 hours after 1911.17.3 was published this week but it relates to external packages and should not have affected the avr discussed here?

The release notes, gallery page and the top of this forum have notes about the issue.
« Last Edit: Nov 22nd, 2019 at 2:30pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
theklaus
Newbies
*
Offline


Posts: 3
Joined: Nov 22nd, 2019
Re: Error While Build
Reply #14 - Nov 22nd, 2019 at 2:38pm
Print Post  
not sure what was the fix, but with 1911.17.3 i couldn't compile an empty project.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error While Build
Reply #15 - Nov 22nd, 2019 at 2:47pm
Print Post  
It was a really stupid problem with the latest vs update which excludes from the extension (vsix) any dlls that were nuget packages. The only one we use is newtonsoftJSON.dll for reading json files. The board manager system uses json so I suspect your hardware was installed via Board Manager. In which case we would not have found the board definition.

Although unextected, normally we would have spotted it but it was caught up in multiple releases for different galleries and the wrong one was tested for the VS.

Sorry.
« Last Edit: Nov 22nd, 2019 at 2:49pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Nadeem
Newbies
*
Offline


Posts: 9
Joined: Nov 21st, 2019
Re: Error While Build
Reply #16 - Nov 23rd, 2019 at 5:00am
Print Post  
Thank U Very Much Problem Has Been Solved 
i updated Visual my micro 1911.17.3 to 1911.17.5 Cool Cheesy
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint