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 Making local project items accessible from the shared projects (Read 1291 times)
Evgeny Zhekaus
Junior Member
**
Offline


Posts: 37
Joined: Sep 19th, 2018
Making local project items accessible from the shared projects
Feb 4th, 2019 at 9:18am
Print Post  
How to make local project’s files visible from the shared ones?
And they can be different for every main project.


It worked before beautiful, and stopped working when I updated VS and vMicro.

For example, I have `deb_sets.h` in the main project to set debugging options for the whole project.
Shared projects include this file too. However, it will be different in different main projects.

Now I get a compilation error `fatal error: deb_sets.h: No such file or directory` in every shared project file which include this file.

  
Back to top
 
IP Logged
 
Evgeny Zhekaus
Junior Member
**
Offline


Posts: 37
Joined: Sep 19th, 2018
Re: Making local project items accessible from the shared projects
Reply #1 - Feb 5th, 2019 at 6:48am
Print Post  
Hum... It looks like I found a workaround. However, I am still not sure whether this is a right doing.

I moved files I need (`deb_sets.h` in my example) in Shared Code Projects to a new Shared Code Project. Now these files can be accessible in any Shared Code Project.
  
Back to top
 
IP Logged
 
Evgeny Zhekaus
Junior Member
**
Offline


Posts: 37
Joined: Sep 19th, 2018
Re: Making local project items accessible from the shared projects
Reply #2 - Feb 5th, 2019 at 12:18pm
Print Post  
Wow! I think I should share it. Actually, the problem persists in Arduino Library Projects only. And when I deleted `library.properties` while the project became able to see items of the main project. Formerly I created library projects instead of Share code projects, however, actually I don’t use them as Arduino libraries.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint