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

Eclipse : duplicate path entries found in project path #383

Closed
itsjustvenky opened this issue Dec 17, 2015 · 6 comments
Closed

Eclipse : duplicate path entries found in project path #383

itsjustvenky opened this issue Dec 17, 2015 · 6 comments
Assignees
Labels
Milestone

Comments

@itsjustvenky
Copy link

I am on latest version PlatformIO (running Ubuntu 14)

PlatformIO, version 2.6.0

and libraries, tools are updated using "platformio update"

Now I have created a eclipse project

platformio init --ide eclipse --board esp12e

and I imported the project into eclipse (mars) using Import >> Existing projects into WorkSpace
and when I build the project I see the following warning in "Problems" tab.

Description Resource    Path    Location    Type
Invalid project path: Duplicate path entries found (/esp12e_sleep [Include path] isSystemInclude:true includePath:/home/venkat/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include), path: [/esp12e_sleep].    esp12e_sleep        pathentry   Path Entry Problem
@itsjustvenky
Copy link
Author

There is no issue apart from the warning, code compiles and uploads to ESP properly. I just want to get rid of that warning.

@aperepel
Copy link

I can confirm I saw that too, something simple is definitely going on.

@ivankravets ivankravets added this to the 2.6.1 milestone Dec 17, 2015
@ivankravets ivankravets self-assigned this Dec 17, 2015
@ivankravets
Copy link
Member

Guys, help us. Please go to project settings and investigate which INCLUDES are unnecessary.

Here is my dump

platformio run -d examples/espressif/esp8266-webserver -e esp12e -t idedata
[Thu Dec 17 16:24:21 2015] Processing esp12e (platform: espressif, board: esp12e, framework: arduino)
----------------------------------------------------------------------------------------------------------------------------------------------------------------
{"includes": ["/Users/ikravets/.platformio/packages/framework-arduinoespressif/variants/nodemcu", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/cores/esp8266", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/cores/esp8266/spiffs", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src/arch", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src/include", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src/lwip", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WebServer/src", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WebServer/src/detail", "/Users/ikravets/.platformio/packages/framework-arduinoespressif/libraries/ESP8266mDNS", "/Users/ikravets/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include", "/Users/ikravets/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include", "/Users/ikravets/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include-fixed"], "cxx_path": "/Users/ikravets/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++", "defines": ["F_CPU=80000000L", "__ets__", "ICACHE_FLASH", "ARDUINO_ESP8266_ESP12", "ARDUINO_ARCH_ESP8266", "ESP8266", "ARDUINO=200", "PLATFORMIO=020601"]}

JSON formatter: https://jsonformatter.curiousconcept.com

@ivankravets
Copy link
Member

@aperepel please say thanks via ⭐ to @valeros. He likes them 😊 Thanks.

@itsjustvenky
Copy link
Author

{
    "includes": ["/home/venkat/.platformio/packages/framework-arduinoespressif/variants/nodemcu",
    "/home/venkat/.platformio/packages/framework-arduinoespressif/cores/esp8266",
    "/home/venkat/.platformio/packages/framework-arduinoespressif/cores/esp8266/spiffs",
    "/home/venkat/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src",
    "/home/venkat/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src/arch",
    "/home/venkat/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src/include",
    "/home/venkat/.platformio/packages/framework-arduinoespressif/libraries/ESP8266WiFi/src/lwip",
    "/home/venkat/.platformio/packages/framework-arduinoespressif/libraries/ESP8266mDNS",
    "/home/venkat/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include",
    "/home/venkat/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include",
    "/home/venkat/.platformio/packages/toolchain-xtensa/lib/gcc/xtensa-lx106-elf/4.8.2/include-fixed"],
    "cxx_path": "/home/venkat/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-g++",
    "defines": ["F_CPU=80000000L",
    "__ets__",
    "ICACHE_FLASH",
    "ARDUINO_ESP8266_ESP12",
    "ARDUINO_ARCH_ESP8266",
    "ESP8266",
    "ARDUINO=200",
    "PLATFORMIO=020600"]

@ivankravets
Copy link
Member

@itsjustvenky I don't see duplicated entries your list. I'll test it later.

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

No branches or pull requests

3 participants