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 Assiciation between .h and .cpp files (Read 438 times)
Arecon
Junior Member
**
Offline


Posts: 53
Joined: Apr 2nd, 2017
Assiciation between .h and .cpp files
Oct 31st, 2018 at 12:46am
Print Post  
Hi

I just stumbled upon a weird problem:

When I use an Arduino library via the normal functions as an Arduino library the project compiles.

I have to modify the library. Therefore I copied the library folder to a sub folder of my project. Now it doesn't compile anymore.

The cause of the errors is clear: None of the .cpp files of the library contains an #include reference to the corresponding .h file, filling the output window with "XY does not name a type".

Now I'm wondering: Why does this compile when it is included as Arduino library?

Thanks for any clarification
  
Back to top
 
IP Logged
 
Arecon
Junior Member
**
Offline


Posts: 53
Joined: Apr 2nd, 2017
Re: Assiciation between .h and .cpp files
Reply #1 - Oct 31st, 2018 at 1:41am
Print Post  
This Topic was moved here from Atmel Studio 7.0 [move by] Arecon.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint