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 Added myClass.cpp is always compiled instead of using previous compiled one. (Read 1794 times)
herman
Junior Member
**
Offline


Posts: 47
Joined: Jan 11th, 2017
Added myClass.cpp is always compiled instead of using previous compiled one.
May 30th, 2022 at 1:17pm
Print Post  
Actions to reproduce :

Create new project, compile -> see vmicro log
Add Myclass.cpp/Myclass.h to the project, compile, only MyClass.cpp is compiled -> see vmicro log 
No change to any file, compile, MyClass.cpp is compiled again -> see vmicro log.

Do not know whether it is related but the compile command for the "ino" is "...." "C:\Userdata\VMicro\Projects\NewSP14\NewSP14\Debug\NewSP14.cpp" -o "C:\Userdata\VMicro\Projects\NewSP14\NewSP14\Debug\NewSP14.cpp.o"

And for the MyClass.cpp : "...." "C:\Userdata\VMicro\Projects\NewSP14\NewSP14\Debug\MyClass.cpp" -o "C:\Userdata\VMicro\Projects\NewSP14\NewSP14\Debug\\Debug\MyClass.cpp.o"

Notice the additional \Debug level in the path.

See attached zip for logfiles.
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #1 - May 30th, 2022 at 2:21pm
Print Post  
Thanks for the report.

Have you enabled the "Build In Project Intermediate" option, shown in vMicro > General > Global Options, beneath the compiler section?

If this is set back to False it will avoid the issue while we investigate further.
  
Back to top
 
IP Logged
 
herman
Junior Member
**
Offline


Posts: 47
Joined: Jan 11th, 2017
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #2 - May 30th, 2022 at 3:09pm
Print Post  
Yes, I have "Build in project intermediate" switched on.
I keep in on for now, the mentioned issue does not effect my working ver much.

FYI : The project intermediate folder contains lots of debug levels after several compiles.

See attached picture,
  

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


Posts: 2145
Joined: Feb 13th, 2019
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #3 - May 31st, 2022 at 4:24pm
Print Post  
The latest release (22.04.29-5) should resolve the issues with the CPP Build Caching, and the folder creations in the build folder when using the Build In Project Intermediate, and is available from the top of the below board:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
 
IP Logged
 
herman
Junior Member
**
Offline


Posts: 47
Joined: Jan 11th, 2017
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #4 - Jun 1st, 2022 at 12:35pm
Print Post  
Confirmed working OK now.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint