Skip to main content
Visitor
Nov 13, 2026 7:18 AM UTC
Question

I'm having problems creating a basic project.....

I'm having problems creating a basic project..…  I am using a nucleo-f411RE microcontroller. The projects window does not display. When I can get something to run I get this kind of errors:

An internal error occurred during: "C/C++ Indexer".
class org.eclipse.cdt.internal.core.pdom.PDOMProxy cannot be cast to class org.eclipse.cdt.internal.core.index.IWritableIndexFragment (org.eclipse.cdt.internal.core.pdom.PDOMProxy and org.eclipse.cdt.internal.core.index.IWritableIndexFragment are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4f3fec43)


An internal error occurred during: "C/C++ Indexer".
class org.eclipse.cdt.internal.core.pdom.PDOMProxy cannot be cast to class org.eclipse.cdt.internal.core.index.IWritableIndexFragment (org.eclipse.cdt.internal.core.pdom.PDOMProxy and org.eclipse.cdt.internal.core.index.IWritableIndexFragment are in unnamed module of loader org.eclipse.osgi.internal.loader.EquinoxClassLoader @4f3fec43)

Program g++ not found in PATH
Program gcc not found in PATH

Description    Resource    Path    Location    Type
Project '7_GPIOInput-Output' has no explicit encoding set    7_GPIOInput-Output        /7_GPIOInput-Output    No explicit project encoding
 

I could use some help.

Randy

4 replies

SMSAD.1
ST Employee
Nov 13, 2026 9:00 AM UTC

Hello Randy

Did you try any other project with STM32CubeIDE ?

Is it installed correctly ?

Br,

SMSAD

Andrew Neil
Super User
Nov 13, 2026 9:07 AM UTC

Welcome to the forum

Please see How to write your question to maximize your chances to find a solution for best results.

In particular:

  • What CubeIDE version are you using?
  • On what platform (including version)?
  • Please give a detailed list of the steps you take to create this project

As ​@SMSAD.1 said, do other projects work OK?

 

For creating projects, note that CubeMX was removed from CubeIDE at v2.0.0,  so Project creation should now be done in the standalone CubeMX - see:

 

PS:

Project '7_GPIOInput-Output' has no explicit encoding set    7_GPIOInput-Output        /7_GPIOInput-Output    No explicit project encoding

See:

 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
rseedleAuthor
Visitor
Nov 13, 2026 8:49 PM UTC

The version of STM32Cube IDX is 2.20  . Its installed on MS Windows 10. I have done 5 projects on the STM32Cube Idx so far. They have all had problems relating to projects. This is just the latest version of pain.

Randy Seedle

TDK
Nov 13, 2026 10:16 PM UTC

The version of STM32Cube IDX is 2.20

STM32CubeIDE v2.2.0 (there is no version 2.20 of this, or a “STM32Cube IDX”) cannot create STM32 projects. They must be created in STM32CubeMX, selecting STM32CubeIDE as the target, and then opened in STM32CubeIDE.

Showing a full screenshot of STM32CubeIDE when you have a project opened or are encountering the issue would be helpful.

 

"If you feel a post has answered your question, please click ""Accept as Solution""."