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

Comments

3 participants
@mje-nz
Copy link

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 modified the milestones: Backlog, 4.0 Feb 23, 2019

@ivankravets

This comment has been minimized.

Copy link
Member

commented Feb 23, 2019

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

Nevertheless, I mark this issue as a feature request.

@rileyrg

This comment has been minimized.

Copy link

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 ivankravets added this to To do in PlatformIO 4.0 May 9, 2019

@ivankravets ivankravets moved this from To do to In progress in PlatformIO 4.0 May 22, 2019

@ivankravets ivankravets moved this from In progress to Done in PlatformIO 4.0 May 23, 2019

@ivankravets

This comment has been minimized.

Copy link
Member

commented May 23, 2019

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.

@ivankravets ivankravets added this to Done in PlatformIO 4.0 May 29, 2019

@mje-nz

This comment has been minimized.

Copy link
Author

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
You can’t perform that action at this time.