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

"pio init" generate duplicate of INCLUDEPATH lines in QtCreator #1301

Closed
hongquan opened this Issue Jan 19, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@hongquan

hongquan commented Jan 19, 2018

What kind of issue is this?

  • PlatformIO Core. If you’ve found a bug, please provide an information below.

You can erase any parts of this template not applicable to your Issue.


Configuration

Operating system: Ubuntu 17.10

PlatformIO Version (platformio --version): PlatformIO, version 3.5.1a7

Description of problem

Steps to Reproduce

  1. Run pio init --ide qtcreator --board esp07
  2. In platformio.ini, add
lib_deps =
  PubSubClient
  OneWire
  SHT1x
  DallasTemperature
  1. Run pio init --ide qtcreator again

Actual Results

The platformio.pro file contains duplicate INCLUDEPATH lines

INCLUDEPATH += ".piolibdeps/PubSubClient_ID89/src"
INCLUDEPATH += ".piolibdeps/OneWire_ID1"
INCLUDEPATH += ".piolibdeps/SHT1x_ID86"
INCLUDEPATH += ".piolibdeps/DallasTemperature_ID54"
INCLUDEPATH += "$${HOMEDIR}/.platformio/packages/framework-arduinoespressif8266/libraries/ESP8266WiFi/src"
INCLUDEPATH += ".piolibdeps/DallasTemperature_ID54"
INCLUDEPATH += ".piolibdeps/OneWire_ID1"
INCLUDEPATH += ".piolibdeps/DallasTemperature_ID54"
INCLUDEPATH += ".piolibdeps/OneWire_ID1"
INCLUDEPATH += ".piolibdeps/OneWire_ID1"
INCLUDEPATH += ".piolibdeps/PubSubClient_ID89/src"
INCLUDEPATH += ".piolibdeps/PubSubClient_ID89/src"

Expected Results

The platformio.pro file contains INCLUDEPATH lines so that, each library is in 1 line.

If problems with PlatformIO Build System:

The content of platformio.ini:

[env:esp07]
platform = espressif8266
board = esp07
framework = arduino

lib_deps =
  PubSubClient
  OneWire
  SHT1x
  DallasTemperature

; Serial Monitor options
monitor_baud = 115200

Source file to reproduce issue:

Insert here...

Additional info

@ivankravets ivankravets added this to the 3.5.2 milestone Jan 24, 2018

ivankravets added a commit that referenced this issue Mar 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment