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 Libraries not recognised - Visual Studio 2019 (Read 661 times)
Foxster
Newbies
*
Offline


Posts: 2
Joined: Sep 17th, 2020
Libraries not recognised - Visual Studio 2019
Sep 17th, 2020 at 1:39pm
Print Post  
Hi,

For some reason libraries are not recognised (no intellisense) yet the project seems to compile.

1. Create empty project
2) Add #include <Adafruit_NeoPixel.h>
3) 
Adafruit_NeoPixel strip(LED_NUMBER, LED_DATA_PIN, NEO_GRB + NEO_KHZ800);

Code is underlined in red, constants are imported. When looking at the header file Adafruit_NeoPixel.h, which is listed as an external dependancy, all of the uint16_t etc are underlined in red also?

Install seems fine.

Thanks,
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: Libraries not recognised - Visual Studio 2019
Reply #1 - Sep 17th, 2020 at 1:47pm
Print Post  
Would it be possible to attach the build log with the options set as shown at the top of the page, for verbose and show build properties?
  
Back to top
 
IP Logged
 
Foxster
Newbies
*
Offline


Posts: 2
Joined: Sep 17th, 2020
Re: Libraries not recognised - Visual Studio 2019
Reply #2 - Sep 17th, 2020 at 2:21pm
Print Post  
Please see attached.

thanks,
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint