Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
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....
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
Suggestion for 'No such file or directory' compilation errors (Read 316 times)
LennyZ
Newbies
*
Offline



Posts: 3
Suggestion for 'No such file or directory' compilation errors
Mar 23rd, 2019 at 12:46pm
 
When a compile fails because a library or h file can not be found it would be beyond helpful to display the full path of whatever the compiler is failing to find.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10138
United Kingdom
Re: Suggestion for 'No such file or directory' compilation errors
Reply #1 - Mar 23rd, 2019 at 5:42pm
 
Did you try double clicking the error or right click Go To?

If the error has a line number then you should always be able to Go To the code.

There are also mini buttons above the solution explorer that help with this. One of the buttons ensures the solution explorer auto-selects the file name that is active in the code editor, another of the buttons positions the explorer to the code editor when the button is clicked and another shows "All files" as opposed to the default "Filtered View". Show all files is physical disk/file view which more clearly shows the actual structure of your files.

Finally you can right click Code Editor tabs or Solution Explorer items to "Open Containing Folder" in windows explorer.

So you should be able to easily jump to an error in the code and clearly see the affected file?

Back to top
« Last Edit: Mar 23rd, 2019 at 5:54pm by Visual Micro »  
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print