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 Can't compile (Read 3028 times)
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Can't compile
Feb 9th, 2016 at 9:24am
Print Post  
I am having serious difficulties getting my code to compile. The problem is that I reference the IRrecv class from within a library and that its constructor requires an int argument. 

IRrecv receiver(0);

I don't want to determine the value of that argument until execution time, at which time I will refresh the object:

IRrecv *receiver = new IRrecv(receiverPin);
receiver->enableIRIn();

But I cannot get all this to compile. All of my BJxxx files are in the Library.zip (attached). The sketch is also attached. The verbose output is in output.txt in the root folder of rover.zip.
  

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: Can't compile
Reply #1 - Feb 10th, 2016 at 11:45pm
Print Post  
Bob,

Is "Visual Micro>Depp Search Includes" off?
  
Back to top
WWW  
IP Logged
 
Bob Jones
Full Member
***
Offline


Posts: 210
Location: Bellingham, WA
Joined: Dec 4th, 2015
Re: Can't compile
Reply #2 - Feb 11th, 2016 at 12:28am
Print Post  
NO, it is on. Should it be on or off?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Can't compile
Reply #3 - Feb 11th, 2016 at 2:52pm
Print Post  
Off is best right now because that works like arduino 1.6.5 and below. 

Off means that any libraries that reference other libraries will expect the "other libraries" to be #included in the .ino code. It's the fastest and best way to work and also benefits intellisense.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint