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 fatal error: fcntl.h No such file or directory An error was encountered during the 'Deep Search' lib (Read 1733 times)
Rihard
Newbies
*
Offline


Posts: 2
Location: Ljutomer
Joined: Nov 8th, 2012
fatal error: fcntl.h No such file or directory An error was encountered during the 'Deep Search' lib
Sep 28th, 2022 at 3:49pm
Print Post  
Hi 

Arduino IDE builds fine.

In VS2022 with Visula Micro I am becoming error

fatal error: fcntl.h: No such file or directory
   #include <fcntl.h>

the does exist in C:\Program Files (x86)\Arduino\hardware\tools\avr\avr\include

Where to Add folder info or reference in settings ?

I tried to put folder path in Include/Source Directories


i am using Dragino Yun shield with Mega 2560

Best Regards Rihar Škorjanec
  

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


Posts: 2695
Joined: Feb 13th, 2019
Re: fatal error: fcntl.h No such file or directory An error was encountered during the 'Deep Search' lib
Reply #1 - Sep 28th, 2022 at 4:04pm
Print Post  
Thanks for the report.

The root issue is vMicro is using the tools specified in the Dragino package index, instead of inheriting it with all other elements from the AVR 1.8.5 board package (as in the Arduino IDE).

To work around this in the interim, please add a local board.txt to your project (vMicro > Add Code > Add Local board.txt), and paste in the below line:
Code
Select All
} 



We will update when the fix is available for download.
  
Back to top
IP Logged
 
Rihard
Newbies
*
Offline


Posts: 2
Location: Ljutomer
Joined: Nov 8th, 2012
Re: fatal error: fcntl.h No such file or directory An error was encountered during the 'Deep Search' lib
Reply #2 - Sep 28th, 2022 at 4:26pm
Print Post  
Thank you

I created board.txt in project folder

workaround does work

Now I have intellisense,  OTA and monitor over IP  Smiley Cool Smiley

Best Regards Rihard
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2695
Joined: Feb 13th, 2019
Re: fatal error: fcntl.h No such file or directory An error was encountered during the 'Deep Search' lib
Reply #3 - Oct 14th, 2022 at 4:50pm
Print Post  
Please try the latest version (22.09.05.11) which is available from the top of the board below, which should mean the board.txt entries can be removed:
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint