eclipse-plugin icon indicating copy to clipboard operation
eclipse-plugin copied to clipboard

Cannot open newly created project's tree

Open luverolla opened this issue 2 years ago • 6 comments

I created a new Zephyr Application, with zephyr-demo as the project's name, following the given procedure File > New Project > C/C++ Project > Zephyr > Zephyr Application

All the paths (Zephyr base, Zephyr SDK, ...) are set correctly and do not contain spaces.

The project is created without problems (and its files are visible in OS' file explorer), but, when I try to navigate through project files in Eclipse's left panel, the IDE shows this error message:

An internal error occurred during: "Searching for Binaries (zephyr-demo)".
Receiver class org.zephyrproject.ide.eclipse.core.build.toolchain.ZephyrGCCToolChain does not define
or inherit an implementation of the resolved method 'abstract java.util.List getBinaryParserIds()'
of interface org.eclipse.cdt.core.build.IToolChain.

The toolchain should automatically be found inside the SDK folder (in my case is arm-zephyr-eabi), but that doesn't happen for some reason. I'm struggling to find a solution.


OS: Windows 10 Eclipse version: 2022-12 Plugin version: latest (v0.2.99-20220329) Chosen board: nucleo_f401re Chosen toolchain: arm-zephyr-eabi

luverolla avatar Feb 12 '23 08:02 luverolla

I've just installed eclipse to use this plugin on an up-to date fedora 37 OS and I see the same error as reported here. if I browse the project with the Java (default) perspective then the project explorer works. But as soon as you change perspective into C/C++ the project explorer no longer operates, nor do the build project.

I followed the instructions line for line in the readme.

Happy to help test some ideas or provide logs, just tell me what to do. Thanks.

c/c++ perspective:

java(default) perspective:

UmbraMalison avatar Mar 30 '23 15:03 UmbraMalison

Same issue with empty Zephyr project on macos 13.4, Eclipse CDT grafik

grafik

OLFDB avatar May 23 '23 16:05 OLFDB

Same problem here, Eclipse IDE is not able to compile, clean, or see the source tree files.

image

image


OS: Ubuntu 20.04 Eclipse version: 2023-06 (4.28.0) Plugin version: latest (v0.2.99-20220329) Chosen board: blackpill_f411ce Chosen toolchain: Zephyr SDK

guilhermeelkadri avatar Jul 25 '23 12:07 guilhermeelkadri

I confirm the same issue. Environment: Linux Mint 21.1 + Eclipse CDT Embedded 2023-06 Zephyr plugin installed from Eclipse Marketplace.

Project created with: File => New Project => Zephyr Project => Zephyr Application once it has been generated the Project Explorer tree is empty:

z_eclipse2_Screenshot_2023-07-28_14-36-34

and this is the dialog message: z_Screenshot_2023-07-28_14-40-11

Same situation if I generate a new project using the "Empty Zephyr Application" option. Same issue if I use STM32CubeIDE 13.0

Zephyr source + Zephyr SDK installed as explained in the official Getting Started Guide

Zephyr plugin version: 0.2.99.202203292124 Zephyr version 3.4.99 Toolchain: Zephyr SDK 0.16.1

Please help because there are many people with the same issue since several months.

saigonix avatar Jul 28 '23 12:07 saigonix

Iv got the same issue. is anyone actually looking at this ?

Dreyia avatar Aug 31 '23 13:08 Dreyia

any updates here? I've got the same issue too

claudiapre avatar Oct 31 '23 10:10 claudiapre