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) Can't compile library (Read 6913 times)
ryan00793
Newbies
*
Offline


Posts: 6
Joined: Oct 6th, 2016
Can't compile library
Oct 6th, 2016 at 8:24pm
Print Post  
So I've been using vMicro for a month or two now, and today when I made a new Arduino project it asked if I would like to start a trial of the pro version, so I said yes. Now it wont build with user libs. Path is correct and it can still install and remove libs via the lib manager.

Code (C++)
Select All
#include <Tlc5940.h>

bool ledOn = false;

void setup() {
  // put your setup code here, to run once:
	Tlc.init();
}

void loop() {
  // put your main code here, to run repeatedly:
	if (ledOn) {
		Tlc.set(15, 2047);
		delay(100);
	}
	else {
		Tlc.set(15, 0);
		delay(100);
	}
}
 



Code
Select All
Error from output

Compiling debug version of 'test' for 'Arduino/Genuino Uno'

test.ino: 2:21: fatal error: Tlc5940.h: No such file or directory
   #include <Tlc5940.h>
   compilation terminated

 

« Last Edit: Oct 7th, 2016 at 11:22am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue with libs after being prompt to start trial
Reply #1 - Oct 6th, 2016 at 8:48pm
Print Post  
Hi,

Switch the toolbar from Debug to Release then click Rebuild

If that doesn't work then please switch on "vMicro>Compiler>Verbose" and also switch on "Show build properties" 

The click rebuild and save the output as a ,txt file. Then post here or email to info[at]visualmicro.com including a link back to this post.

Thanks
« Last Edit: Oct 6th, 2016 at 9:07pm by Tim@Visual Micro »  
Back to top
IP Logged
 
ryan00793
Newbies
*
Offline


Posts: 6
Joined: Oct 6th, 2016
Re: Issue with libs after being prompt to start trial
Reply #2 - Oct 6th, 2016 at 8:55pm
Print Post  
Don't know exactly what Bean means but I'm using an arduino uno r3 and am using 1.6.10 as the ide base.

  

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


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue with libs after being prompt to start trial
Reply #3 - Oct 6th, 2016 at 9:09pm
Print Post  
Sorry the bean statement was for a different user.

What is your visual micro version? Tools>extensions and updates?
  
Back to top
IP Logged
 
ryan00793
Newbies
*
Offline


Posts: 6
Joined: Oct 6th, 2016
Re: Issue with libs after being prompt to start trial
Reply #4 - Oct 6th, 2016 at 9:12pm
Print Post  
1608.18.0
  
Back to top
 
IP Logged
 
ryan00793
Newbies
*
Offline


Posts: 6
Joined: Oct 6th, 2016
Re: Issue with libs after being prompt to start trial
Reply #5 - Oct 6th, 2016 at 9:20pm
Print Post  
Just realized i forgot to show build properties
  

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


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue with libs after being prompt to start trial
Reply #6 - Oct 6th, 2016 at 9:27pm
Print Post  
I am not sure the issue is related to starting a trial but there have been a lot of fixes and additions to support arduino library changes of the past months so please update visual micro to the latest release.

Click the "Updates" node in your image and you will see the update is waiting.

Thanks
  
Back to top
IP Logged
 
ryan00793
Newbies
*
Offline


Posts: 6
Joined: Oct 6th, 2016
Re: Issue with libs after being prompt to start trial
Reply #7 - Oct 6th, 2016 at 9:34pm
Print Post  
The update seems to have fixed it.
  
Back to top
 
IP Logged
 
ryan00793
Newbies
*
Offline


Posts: 6
Joined: Oct 6th, 2016
Re: Issue with libs after being prompt to start trial
Reply #8 - Oct 7th, 2016 at 3:46am
Print Post  
It's now saying another lib doesn't exist however VS can see the header file and shows me the info 

I've attached output with compiler verbose and show build properties
  

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


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Issue with libs after being prompt to start trial
Reply #9 - Oct 7th, 2016 at 11:21am
Print Post  
After you install libraries you need to click the Rescan button.


  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint