Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platformio lib install with no arguments does not install project dependencies #2147

Closed
mje-nz opened this issue Feb 21, 2019 · 4 comments
Closed
Labels
feature ldf Library Dependency Finder
Milestone

Comments

@mje-nz
Copy link

mje-nz commented Feb 21, 2019

Configuration

Operating system:
macOS 10.12.6

PlatformIO Version (platformio --version):
3.6.4

Description of problem

The documentation says that running platformio lib install from a project directory will install the libraries listed in the project's lib_deps. This behaviour is not implemented (see here).

Steps to Reproduce

  1. From the main directory of a project with external dependencies defined in its default target, run platformio lib install.

Actual Results

The library storage directory is printed and nothing is installed.

Expected Results

Libraries listed in lib_deps are installed.

@ivankravets ivankravets added feature ldf Library Dependency Finder labels Feb 23, 2019
@ivankravets ivankravets modified the milestones: Backlog, 4.0 Feb 23, 2019
@ivankravets
Copy link
Member

Libraries will be installed automatically when you try to build project with pio run.

Nevertheless, I mark this issue as a feature request.

@rileyrg
Copy link

rileyrg commented Mar 18, 2019

I've just spent ages finding this. Yes, it would be nice if it was honoured. The --init needs to add the -I for the project to the .clang_complete too.

@ivankravets
Copy link
Member

Please re-test with the latest development version of PIO Core => http://docs.platformio.org/en/latest/installation.html#development-version

or , pio upgrade --dev from CLI.

@mje-nz
Copy link
Author

mje-nz commented Jun 12, 2019

Works for me, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ldf Library Dependency Finder
Projects
None yet
Development

No branches or pull requests

3 participants