Bug 548559 - Unresolved inclusion for arduino libraries for example <Servo.h> or <SPI.h>
Summary: Unresolved inclusion for arduino libraries for example <Servo.h> or <SPI.h>
Status: CLOSED WONTFIX
Alias: None
Product: CDT
Classification: Tools
Component: cdt-arduino (show other bugs)
Version: 9.8.0   Edit
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-23 16:01 EDT by Timur Sayfullin CLA
Modified: 2020-05-23 10:54 EDT (History)
2 users (show)

See Also:


Attachments
Unresolved inclusion Servo.h (36.46 KB, image/jpeg)
2019-06-23 16:01 EDT, Timur Sayfullin CLA
no flags Details
Installed libs (41.75 KB, image/png)
2019-06-23 16:05 EDT, Timur Sayfullin CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur Sayfullin CLA 2019-06-23 16:01:48 EDT
Created attachment 279046 [details]
Unresolved inclusion Servo.h

The problem appears after fresh installation on both Linux Ubuntu 18.04 and Windows 10
Steps to reproduce on Ubuntu 18.04:
1. Download eclipse-inst-linux64.tar.gz
2. Unpack archive and execute eclipse-inst with default parameters
3. Open eclipse and create arduino project with default parameters
4. Open Help->Arduino Download Manager
5. Platforms->Add->Arduino AVR Boards->OK
6. Libraries->Servo->OK
7. Include Servo.h into project (See attachment)

NOTE: Servo folder with with library and examples is present in .arduinocdt/libraries/
Comment 1 Timur Sayfullin CLA 2019-06-23 16:05:35 EDT
Created attachment 279048 [details]
Installed libs
Comment 2 Adelin Ungureanu CLA 2020-01-16 09:59:44 EST
I confirm this bug exists on Windows 10 x64 too.
Comment 3 Jonah Graham CLA 2020-05-23 10:54:27 EDT
Thank you for taking the time to file a bug report about the Arduino component of the CDT project. The Arduino component is no longer maintained and will be removed from CDT 10 (Bug 562498). The final Eclipse CDT version that will include Arduino support is the CDT 9.11 series. 

Please consider using The Arduino Eclipse IDE and plug-ins named Sloeber (https://marketplace.eclipse.org/node/2637354) for your future Eclipse CDT powered Arduino development.