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 Cannot open source file, Error (Read 2125 times)
donovan.P
Newbies
*
Offline


Posts: 6
Joined: Jun 4th, 2018
Cannot open source file, Error
Jun 10th, 2018 at 12:57pm
Print Post  
Hello , im trying to run this library:
https://github.com/ntruchsess/arduino_uip/issues
Using Arduino's default IDE everything compiles fine and uploads. but using visual micro I cannot compile because the IDE is telling me thare is missing source files. i have confirmed that they do exist, and i only have problems with this library.I think the problem is probably the library but i have no idea what is wrong or how to fix it.Is the library missing something? Anyways i did report the problem to the creator but it was not updated in a long time.

The problem is in
UIPclient.h

#import "Client.h"
#import "utility/mempool.h"
#import "utility/uip.h"


UIPserver.h

#import "Server.h"
#import "UIPClient.h"

the error for the above is eg.

cannot open source file "(project_dir)/UIPClient.tlh"
cannot open source file "(project_dir)/Client.tlh"
cannot open source file "(project_dir)/Server.tlh"


and in script this function is not working
client.println("DATA from Client");

class "UIPClient" has no member "println"

here is some screen shots.
https://i.imgur.com/WcPgM77.jpg
https://i.imgur.com/WcPgM77.jpg
https://i.imgur.com/WcPgM77.jpg
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot open source file, Error
Reply #1 - Jun 10th, 2018 at 1:37pm
Print Post  
Those look like intellisense errors.

Does the project build?
  
Back to top
WWW  
IP Logged
 
donovan.P
Newbies
*
Offline


Posts: 6
Joined: Jun 4th, 2018
Re: Cannot open source file, Error
Reply #2 - Jun 10th, 2018 at 6:19pm
Print Post  
Yes it does,I didnt even thought to try it. but it builds, uploads and works. Do you know what went wrong with intellisense? because i can work around this but it could get annoying. thank you for your help BTW.

edit :
i'm using 
Visual studio 2017 version 15.7.3
Arduino 1.8.5
Visual micro Release 1806.2 Sp1
« Last Edit: Jun 10th, 2018 at 6:25pm by donovan.P »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Cannot open source file, Error
Reply #3 - Jun 10th, 2018 at 6:27pm
Print Post  
Hi,

Intellisense in underlying core might never be 100% but your own code should be OK.

You can alter the combo box at the top of the errors list to current project or open documents then you should only see errors in your own code. There is another comboxbox on the errors list that limits to build only.

After build, newly added library intellisense should be better.

Having said that there are a lot of combinations and things we can do to improve many intellisense issues. To investigate them we need to know which board, libs and core you are using. the best way to tell us that is to enable vmicro>compiler>verbose and "show build properties". Then build and email the output to info[at]visualmicro.com along with link to this post.
« Last Edit: Jun 10th, 2018 at 6:28pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint