I recently moved my development environment from Windows to Ubuntu. Used Library Manager to install WiFiNINA. When I attempt to compile my sketch I get "fatal error: WiFiNINA.h: No such file or directory". Under the libraries folder I have a WiFiNINA_Generic sub-folder but no WiFiNINA sub-folder (as on Windows). Any suggestions?
Hi @runs-with-goat. Please try the installation again, this time making certain you select the "WiFiNINA" library in Library Manager and not "WiFiNINA_Generic". These are two different libraries with similar names.
Thank you. There is no "WiFiNINA" listed in the Library Manager, only "WiFiNINA_Generic".
That is unexpected. Which version of Arduino IDE are you using (e.g., "2.0.1")? The version is shown on the window title bar and also in the Help > About (or Arduino IDE > About Arduino IDE for macOS users) dialog.
I ask for this information because I want to investigate the problem further.
Thank you. Version is 1.8.19
I just checked in 1.8.19 and I'm not able to reproduce the problem. Something to note is that the official libraries are listed first in Library Manager, followed by all the 3rd party libraries like WiFiNINA_Generic in alphabetical order. So you should see the "WiFiNINA" library at the very top of the listings if you do a search for "WiFiNINA" in Library Manager:
Thank you! I was clearly looking in the wrong place. All good now!
You are welcome. I'm glad it is working now.
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.