Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 

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 and Verbose
  • 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
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Added myClass.cpp is always compiled instead of using previous compiled one. (Read 527 times)
herman
Junior Member
**
Offline



Posts: 39
Added myClass.cpp is always compiled instead of using previous compiled one.
May 30th, 2022 at 2:17pm
 
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.
Back to top
 

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



Posts: 1459
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #1 - May 30th, 2022 at 3:21pm
 
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: 39
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #2 - May 30th, 2022 at 4:09pm
 
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,
Back to top
 

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



Posts: 1459
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #3 - May 31st, 2022 at 5:24pm
 
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: 39
Re: Added myClass.cpp is always compiled instead of using previous compiled one.
Reply #4 - Jun 1st, 2022 at 1:35pm
 
Confirmed working OK now.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print