Hi,
I have problem to setup Eclipse correctly.
My topics:
1. In "Help/Espressif IDF Tools Manager/Install Tools" I have the following setup:
- ESP-IDF Directory: C:\Program Files\Espressif\ESP-IDF Tools.
- Git Executable Location: C:\Program Files\Git\bin\git.exe.
- Python Executable Location: C:\Python27\python.exe.
2. Nothing happens when pressing the button Install Tools?
3. Nothing happens when go to "Help/Espressif IDF Tools Manager/List installed tools"?
4. There is no C/C++ Build under Project Properties?
Eclipse setup problem
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: Eclipse setup problem
Moved from "ESP32 IDF" forum
Re: Eclipse setup problem
Added info:
Ok, let's take one step at a time.
I'm following the installation https://github.com/espressif/idf-eclipse-plugin
At the chapter "Installing ESP-IDF Tools", I can't set the ESP-IDF Directory.
I try C:\Temp\esp\esp-idf, but nothing happen when pressing the button Install Tools, or when checking in the "List installed tools"
Any clue?
Ok, let's take one step at a time.
I'm following the installation https://github.com/espressif/idf-eclipse-plugin
At the chapter "Installing ESP-IDF Tools", I can't set the ESP-IDF Directory.
I try C:\Temp\esp\esp-idf, but nothing happen when pressing the button Install Tools, or when checking in the "List installed tools"
Any clue?
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Eclipse setup problem
Hello,
Could you please provide the error log to check further on this issue. https://github.com/espressif/idf-eclips ... #error-log
Have you seen anything reported on the console when you click on "install tools" action from eclipse?
Could you please provide the error log to check further on this issue. https://github.com/espressif/idf-eclips ... #error-log
Have you seen anything reported on the console when you click on "install tools" action from eclipse?
Re: Eclipse setup problem
Hi,
First, nothing seen in the Console window.
Here is the error log:
!SESSION 2020-03-25 12:25:33.655 -----------------------------------------------
eclipse.buildId=4.14.0.I20191210-0610
java.version=1.8.0_241
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.517
!MESSAGE Initializing toolchain...
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.520
!MESSAGE idf_tools.py path: null/tools/idf_tools.py
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.521
!MESSAGE idf_tools.py path doesn't exist
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.521
!MESSAGE [C:/Program Files/Java/jre1.8.0_241/bin/server;C:/Program Files/Java/jre1.8.0_241/bin;C:/Program Files/Java/jre1.8.0_241/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;C:\Program Files\Espressif\ESP-IDF Tools\mconf-idf;C:\Program Files\Espressif\ESP-IDF Tools\tools\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\PuTTY\;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\eclipse;]
!ENTRY org.eclipse.egit.ui 2 0 2020-03-25 12:26:01.983
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\XXXXXXXX'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.107
!MESSAGE Command id:com.espressif.idf.ui.command.install
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.107
!MESSAGE IDF_PATH :null
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.109
!MESSAGE GIT path:null
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.110
!MESSAGE SOFTWARE\Python\PythonCore\2.7\InstallPath
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.111
!MESSAGE
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.111
!MESSAGE No Python installations found in the system.
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.071
!MESSAGE IDF_PATH :null
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.072
!MESSAGE SOFTWARE\Python\PythonCore\2.7\InstallPath
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.072
!MESSAGE
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.073
!MESSAGE No Python installations found in the system.
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.073
!MESSAGE Python Path :null
!ENTRY org.eclipse.e4.ui.workbench 4 0 2020-03-25 12:27:55.074
!MESSAGE Command 'com.espressif.idf.ui.command.list' failed
!STACK 0
org.eclipse.core.commands.ExecutionException: Paths can't be empty. Please check IDF_PATH and Python
at com.espressif.idf.ui.update.ListInstalledToolsHandler.execute(ListInstalledToolsHandler.java:38)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:318)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:252)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4175)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3988)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3587)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:660)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
First, nothing seen in the Console window.
Here is the error log:
!SESSION 2020-03-25 12:25:33.655 -----------------------------------------------
eclipse.buildId=4.14.0.I20191210-0610
java.version=1.8.0_241
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.517
!MESSAGE Initializing toolchain...
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.520
!MESSAGE idf_tools.py path: null/tools/idf_tools.py
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.521
!MESSAGE idf_tools.py path doesn't exist
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:00.521
!MESSAGE [C:/Program Files/Java/jre1.8.0_241/bin/server;C:/Program Files/Java/jre1.8.0_241/bin;C:/Program Files/Java/jre1.8.0_241/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;C:\Program Files\Espressif\ESP-IDF Tools\mconf-idf;C:\Program Files\Espressif\ESP-IDF Tools\tools\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\PuTTY\;C:\Program Files\CMake\bin;C:\Program Files\Git\cmd;C:\Program Files\eclipse;]
!ENTRY org.eclipse.egit.ui 2 0 2020-03-25 12:26:01.983
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\XXXXXXXX'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.107
!MESSAGE Command id:com.espressif.idf.ui.command.install
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.107
!MESSAGE IDF_PATH :null
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.109
!MESSAGE GIT path:null
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.110
!MESSAGE SOFTWARE\Python\PythonCore\2.7\InstallPath
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.111
!MESSAGE
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:26:47.111
!MESSAGE No Python installations found in the system.
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.071
!MESSAGE IDF_PATH :null
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.072
!MESSAGE SOFTWARE\Python\PythonCore\2.7\InstallPath
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.072
!MESSAGE
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.073
!MESSAGE No Python installations found in the system.
!ENTRY com.espressif.idf.core 1 0 2020-03-25 12:27:55.073
!MESSAGE Python Path :null
!ENTRY org.eclipse.e4.ui.workbench 4 0 2020-03-25 12:27:55.074
!MESSAGE Command 'com.espressif.idf.ui.command.list' failed
!STACK 0
org.eclipse.core.commands.ExecutionException: Paths can't be empty. Please check IDF_PATH and Python
at com.espressif.idf.ui.update.ListInstalledToolsHandler.execute(ListInstalledToolsHandler.java:38)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:318)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:252)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4175)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3988)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3587)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1160)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1049)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:660)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:150)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
-
- Posts: 188
- Joined: Wed Jul 17, 2019 5:26 pm
Re: Eclipse setup problem
Hello,
Could you verify these.
1. Make sure you've Python installed in the system and added to the windows registry. Install tools dialog will detect the python version directly from the windows registry.
2. Make sure IDF_PATH and git path filled corrected in the tools install dialog.
I think one of them is causing an error.
Could you verify these.
1. Make sure you've Python installed in the system and added to the windows registry. Install tools dialog will detect the python version directly from the windows registry.
2. Make sure IDF_PATH and git path filled corrected in the tools install dialog.
I think one of them is causing an error.
Re: Eclipse setup problem
Thank you,
This was the problem!
This was the problem!
Who is online
Users browsing this forum: No registered users and 47 guests