"New espressif idf project" problem in eclipse

iggaru
Posts: 2
Joined: Mon Dec 18, 2023 12:22 pm

"New espressif idf project" problem in eclipse

Postby iggaru » Mon Dec 18, 2023 12:30 pm

Hello.
I followed every instruction here https://github.com/espressif/idf-eclips ... stallation, and installed eclipse IDE and ESP-IDF. But I can't create a new project. When clicking at "Create a new Espressif IDF project" nothing happens.
Any help will be much appreciated. Thanks in advance.

I copy Espressif -> Installed products report:

Code: Select all

Executing /usr/bin/python3 /home/esp32/Applications/esp-idf-v5.0.5/tools/idf_tools.py list
* xtensa-esp-elf-gdb: GDB for Xtensa
  - 11.2_20220823 (recommended, installed)
* riscv32-esp-elf-gdb: GDB for RISC-V
  - 11.2_20220823 (recommended, installed)
* xtensa-esp32-elf: Toolchain for Xtensa (ESP32) based on GCC
  - esp-2022r1-11.2.0 (recommended, installed)
* xtensa-esp32s2-elf: Toolchain for Xtensa (ESP32-S2) based on GCC
  - esp-2022r1-11.2.0 (recommended, installed)
* xtensa-esp32s3-elf: Toolchain for Xtensa (ESP32-S3) based on GCC
  - esp-2022r1-11.2.0 (recommended, installed)
* xtensa-clang: LLVM for Xtensa (ESP32, ESP32-S2) based on clang (optional)
  - 14.0.0-38679f0333 (recommended, installed)
* riscv32-esp-elf: Toolchain for 32-bit RISC-V based on GCC
  - esp-2022r1-11.2.0 (recommended, installed)
* esp32ulp-elf: Toolchain for ESP32 ULP coprocessor
  - 2.35_20220830 (recommended, installed)
* cmake: CMake build system (optional)
  - 3.24.0 (recommended, installed)
  - 3.16.3 (supported)
* openocd-esp32: OpenOCD for ESP32
  - v0.12.0-esp32-20230921 (recommended, installed)
* ninja: Ninja build system (optional)
  - 1.10.2 (recommended, installed)
* esp-rom-elfs: ESP ROM ELFs
  - 20220823 (recommended, installed)
OK

CDT Build environment variables
PATH: /home/esp32/.espressif/tools/xtensa-esp-elf-gdb/11.2_20220823/xtensa-esp-elf-gdb/bin:/home/esp32/.espressif/tools/riscv32-esp-elf-gdb/11.2_20220823/riscv32-esp-elf-gdb/bin:/home/esp32/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin:/home/esp32/.espressif/tools/xtensa-esp32s2-elf/esp-2022r1-11.2.0/xtensa-esp32s2-elf/bin:/home/esp32/.espressif/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin:/home/esp32/.espressif/tools/xtensa-clang/14.0.0-38679f0333/xtensa-esp32-elf-clang/bin:/home/esp32/.espressif/tools/riscv32-esp-elf/esp-2022r1-11.2.0/riscv32-esp-elf/bin:/home/esp32/.espressif/tools/esp32ulp-elf/2.35_20220830/esp32ulp-elf/bin:/home/esp32/.espressif/tools/cmake/3.24.0/bin:/home/esp32/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/bin:/home/esp32/.espressif/tools/ninja/1.10.2/:/home/esp32/.espressif/python_env/idf5.0_py3.10_env/bin:/home/esp32/Applications/esp-idf-v5.0.5/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
XAUTHORITY: /home/esp32/.Xauthority
LC_MEASUREMENT: es_AR.UTF-8
LC_TELEPHONE: es_AR.UTF-8
XDG_DATA_DIRS: /usr/share/Lubuntu:/usr/local/share:/usr/share:/var/lib/snapd/desktop
LC_TIME: es_AR.UTF-8
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
ESP_IDF_VERSION: 5.0
XDG_CURRENT_DESKTOP: LXQt
XDG_CACHE_HOME: /home/esp32/.cache
OPENOCD_SCRIPTS: /home/esp32/.espressif/tools/openocd-esp32/v0.12.0-esp32-20230921/openocd-esp32/share/openocd/scripts
IDF_DEACTIVATE_FILE_PATH: /tmp/tmpbat7o6d5idf_4526
LXQT_SESSION_CONFIG: session
SSH_AGENT_PID: 977
LC_PAPER: es_AR.UTF-8
LOGNAME: esp32
PWD: /home/esp32/Applications/eclipse
SAL_VCL_QT5_USE_CAIRO: true
SHELL: /bin/bash
LC_ADDRESS: es_AR.UTF-8
IDF_COMPONENT_MANAGER: 1
XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0
SAL_USE_VCLPLUGIN: qt5
XDG_SESSION_DESKTOP: <NOT FOUND>
SHLVL: 0
LC_IDENTIFICATION: es_AR.UTF-8
LC_MONETARY: es_AR.UTF-8
BROWSER: firefox
QT_PLATFORM_PLUGIN: lxqt
OXYGEN_DISABLE_INNER_SHADOWS_HACK: 1
TERM: qterminal
XDG_CONFIG_DIRS: /etc/xdg/xdg-Lubuntu:/etc/xdg:/etc:/usr/share
LANG: en_US.UTF-8
XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_ID: 1
XDG_SESSION_TYPE: x11
DISPLAY: :0
LC_NAME: es_AR.UTF-8
XDG_SESSION_CLASS: user
XDG_DATA_HOME: /home/esp32/.local/share
LIBOVERLAY_SCROLLBAR: 0
IDF_PATH: /home/esp32/Applications/esp-idf-v5.0.5
GDK_CORE_DEVICE_EVENTS: 1
DESKTOP_SESSION: Lubuntu
GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
USER: esp32
XDG_CONFIG_HOME: /home/esp32/.config
GTK_CSD: 0
XDG_MENU_PREFIX: lxqt-
GIO_LAUNCHED_DESKTOP_FILE_PID: 4504
QT_ACCESSIBILITY: 1
LC_NUMERIC: es_AR.UTF-8
SSH_AUTH_SOCK: /tmp/ssh-XXXXXXf4fSaa/agent.885
XDG_SEAT: seat0
IDF_MAINTAINER: 1
GTK_OVERLAY_SCROLLING: 0
QT_QPA_PLATFORMTHEME: lxqt
XDG_RUNTIME_DIR: /run/user/1000
XDG_VTNR: 1
IDF_PYTHON_ENV_PATH: /home/esp32/.espressif/python_env/idf5.0_py3.10_env
HOME: /home/esp32
ESP_ROM_ELF_DIR: /home/esp32/.espressif/tools/esp-rom-elfs/20220823/

Operating System: linux
Java Runtime Version: 17.0.9+9
Eclipse Version: 4.30.0.v20231201-0110
Eclipse CDT Version: 11.4.0.202309142347
IDF Eclipse Plugin Version: 2.11.1.202310270725
ESP-IDF v5.0.5
Python set for IDF_PYTHON_ENV: Python 3.10.12

iggaru
Posts: 2
Joined: Mon Dec 18, 2023 12:22 pm

Re: "New espressif idf project" problem in eclipse

Postby iggaru » Mon Dec 18, 2023 7:51 pm

Finally I was able to create new project. I put solution here, hoping this help other people with same problem:
1.- I did this --> https://github.com/espressif/idf-eclips ... 1854305903
2.- Then installed: webkit2gtk. For my distro (lubuntu) this is:

Code: Select all

sudo apt install libwebkit2gtk-4.0-37

CIcero Ribeiro
Posts: 1
Joined: Mon Sep 23, 2024 1:17 pm

Re: "New espressif idf project" problem in eclipse

Postby CIcero Ribeiro » Mon Sep 23, 2024 1:52 pm

Hi,
in my first attempt I experienced this problem.
I'm using espressif ide Version: 3.0.0 Build id: 20240605-1941 on fedora 40 kde, X11,
webkit2gtk-4 present.

I will put here the bash script that's work for me; call this instead the executable at the same folder:

#!/bin/bash
export SWT_GTK3=1
export SWT_GTK4=0
export GTK_IM_MODULE=ibus
./espressif-ide

thanks !

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 233 guests