astecme
February 19, 2022, 8:54pm
1
I installed ide V2 and tried to use the servo library but it comes back as not found. Are there no embedded libraries?
Maybe provide a few more details.
Your topic was MOVED to its current forum category as it is more suitable than the original
astecme
February 19, 2022, 8:59pm
4
Installed ide 2. Loaded a previously working sketch. Verify.compiled and it returned servo.h not found.
Is that what the error message actually said or just something close to what it said ?
astecme
February 19, 2022, 9:09pm
8
Absolutely not. I'm not at the.pc so don't have the exact response. The sketch compiles on IDE v1 and fails on the include in ide V2.
I had IDE v1 installed and V2 seems to have installed in the same folders. I cannot see the servo library in library manager but it's there in ide 1.
Hi @astecme . Thanks for giving the Arduino IDE 2.0.0 release candidate a try!
Unlike the Arduino IDE 1.x, the Arduino IDE 2.x installation does not include any libraries. However, on the first run Arduino IDE 2.x uses the Arduino Library Manager to install the fundamental libraries such as Servo.
So a fresh install should indeed provide the Servo library as long as the IDE had the access to the Internet which is required to install any library via Library Manager.
The IDE does not currently communicate this Internet access requirement to the user:
opened 07:42AM - 28 Jan 22 UTC
type: enhancement
topic: code
### Describe the problem
On the first run, Arduino IDE must download some fil… es from the Internet:
- `builtin:serial-discovery`
- `builtin:mdns-discovery`
- `builtin:ctags`
- The "Arduino AVR Boards" platform
- The standard libraries
If the IDE does not have Internet access at that time, it can not reach a functional state. There is currently no communication to the user in this situation.
This is a change from Arduino IDE 1.x, which is in a fully functional state from the start with no hard dependency on an Internet connection (though obviously Library/Boards Manager can't be used).
### To reproduce
1. Quit the IDE if it is running.
1. Rename or delete (:warning: cautiously) the following folders to simulate the environment of a first run:
- Windows:
```
C:\Users\<username>\.arduinoIDE
```
```
C:\Users\<user name>\AppData\Local\Arduino15
```
```
C:\Users\<user name>\AppData\Roaming\arduino-ide
```
```
C:\Users\<user name>\Documents\Arduino
```
- Linux:
```
~/.arduinoIDE
```
```
~/.arduino15
```
```
~/.config/arduino-ide
```
```
~/Arduino
```
- macOS:
```
~/.arduinoIDE
```
```
~/Library/Arduino15
```
```
~/Library/Application Support/arduino-ide
```
```
~/Arduino
```
1. Disconnect your computer from the Internet.
1. Start the Arduino IDE.
1. Wait as long as you need to feel confident the IDE has finished doing all first run procedures.
1. Connect an Arduino board to your computer.
1. Open the board/port selector.
:bug: Notice that the board and port are not listed.
1. Select **Tools > Board** from the Arduino IDE menus.
:bug: Notice that the expected "Arduino AVR Boards" menu item is not present.
1. Open the **Tools > Port** menu.
:bug: Notice that the port of your board is not listed.
1. Open the **Sketch > Include Library** menu.
:bug: Notice that there are no libraries.
After you connect to the Internet and restart the IDE, the discoveries will be installed, so the missing ports issue will resolve itself at that time 🙂. However, the missing "Arduino AVR Boards" platform and libraries condition is persistent :bug: because this is only attempted on the first run, whether or not it fails.
### Expected behavior
- Communicate to the user when resources could not be installed on first run.
- Record whether the `arduino:avr` and "Arduino_BuiltIn" installations were successful, and if not then retry on subsequent startups.
- Note: This must be done based on a dedicated record, and not on the presence/absence of these installations because users may have later removed unwanted installations after they were successfully installed automatically.
### Arduino IDE version
#### Original report
2.0.0-rc3-snapshot.1d88263
#### Last verified with
9a6a457bc44fb16f646b9e61a9e8b336b3666412
### Operating system
Windows
### Operating system version
10
### Additional context
At one time, the IDE showed a notification when there was no Internet connection (https://github.com/arduino/arduino-ide/pull/266), which was cryptic but at least gave some feedback:
```
Request loadSketch failed with message: 2 UNKNOWN: downloading builtin:ctags@5.8-arduino11 tool: Get "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip": dial tcp: lookup downloads.arduino.cc: no such host
```
But that notification is no longer shown (probably because the system has been made more tolerant of error conditions).
---
Additional reports:
- https://forum.arduino.cc/t/arduino-ide-2-not-working/1077381
- https://forum.arduino.cc/t/arduino-ide-2-0-3-hangs-up-on-start/1088609
- https://forum.arduino.cc/t/no-ports-discovered-of-ide-2-0-0-rc9-rc9-1/1018669
- https://forum.arduino.cc/t/ports-not-showing-on-2-0-1-ide-menu/1052816
- https://forum.arduino.cc/t/ide-2-1-0-appimage-fails-first-launch-without-network-connection/1139226
- https://forum.arduino.cc/t/ide-v2-is-useless-without-internet/1142346
- https://forum.arduino.cc/t/ide-wont-start-after-installation-on-computer-without-internet-connection/1168203/8
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
Unfortunately, the Library Manager listings are currently incomplete:
opened 11:38PM - 22 Dec 21 UTC
closed 08:07AM - 31 Aug 22 UTC
conclusion: resolved
topic: code
type: imperfection
**Describe the bug**
Library manager doesn't return a list of all matching libr… aries
**To Reproduce**
1. Go to Library Manager
2. type "Time" in the search bar
3. Scroll down to find Time by Michael Margolis
4. See that it is not listed
5. type "Margolis" and get no results at all
6. type "timekeeping" or "GPS" and the library is found
**Expected behavior**
Library should be listed under all keywords
**Desktop (please complete the following information):**
- OS: Mac Monterey and Big Sur
- Version: 2.0.0 rc2 and rc3
When there are a lot of search results, it only shows you a subset of the total results. If you add more search keywords to narrow it down, you should see it. I don't get it with a search for servo
, but I do get it in a search for arduino servo
.
system
Closed
August 18, 2022, 9:47pm
11
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.