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 Example Compiles in Arduino But Not Visual Micro (Read 288 times)
davidcoward
Junior Member
**
Offline


Posts: 56
Joined: Oct 5th, 2012
Example Compiles in Arduino But Not Visual Micro
Jan 15th, 2025 at 2:23pm
Print Post  
Hello

I am trying to build without modification the TeensySdioDemo in the SDFat library. It compiles in Arduino 1.8, but not in Visual Micro.

The compiler verbose output and build properties are attached. I cleaned the solution before building.

Deep library search is on and "All" is selected for both sketch and libs parameters.

(I have a project using the SD library which used to work but now doesn't, but the errors are the same.)
  

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


Posts: 2722
Joined: Feb 13th, 2019
Re: Example Compiles in Arduino But Not Visual Micro
Reply #1 - Jan 15th, 2025 at 3:12pm
Print Post  
Thanks for the report.

From the log it appears you have the original example INO open, it is often best to create a copy of the example (which vMicro offers when clicking the example in Micro Explorer), though this is not the issue causing the error.

In the log it shows there is a file in the SDFat v2.2.3 being compiled: 
SdFat\FatLib\fstream.cpp

However this file was removed from the library in v2.0.0 reviewing the GitHub Repo:
https://github.com/greiman/SdFat/commit/4dbec4b45e54c2063f66e045412d55dbc389b06e...

If you have updated the library manually from a ZIP file, did you delete the old one before unpacking the ZIP file?
  
Back to top
IP Logged
 
davidcoward
Junior Member
**
Offline


Posts: 56
Joined: Oct 5th, 2012
Re: Example Compiles in Arduino But Not Visual Micro
Reply #2 - Jan 15th, 2025 at 3:21pm
Print Post  
Thanks for the speedy response!

That was indeed the issue.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint