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

Comments

Projects
None yet
3 participants
@itsjustvenky

itsjustvenky commented Dec 17, 2015

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

This comment has been minimized.

itsjustvenky commented Dec 17, 2015

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

This comment has been minimized.

aperepel commented Dec 17, 2015

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 ivankravets added the bug label Dec 17, 2015

@ivankravets

This comment has been minimized.

Member

ivankravets commented Dec 17, 2015

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

This comment has been minimized.

Member

ivankravets commented Dec 17, 2015

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

@itsjustvenky

This comment has been minimized.

itsjustvenky commented Dec 17, 2015

{
    "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

This comment has been minimized.

Member

ivankravets commented Dec 17, 2015

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

ivankravets added a commit that referenced this issue Dec 18, 2015

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