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 Compile problem with include statement (Read 1668 times)
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Compile problem with include statement
Dec 4th, 2015 at 4:24am
Print Post  
I have been writing some Arduino classes and just now switched to the Visual Micro plugin for VS. I am able to open a sketch that references several classes, but one include statement yields "No such file...". The file in question appears in the Solution Explorer under Header Files, but the compiler says it cannot find it (see attached screen shot)

I also see a massive number of errors including three in arduino.h. 

I would really like to switch over to VS, but I need some help getting started here.
  

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


Posts: 12189
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compile problem with include statement
Reply #1 - Dec 4th, 2015 at 10:30am
Print Post  
Hi,

Your image doesn't show the actual locations of files. I expect the problem is that BJMotor.h is not in the sketch folder. In which case you need to specify that in the #include.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint