Skip to content
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

incompatibility with eclipse 2023-12 #198

Closed
ydaveluy opened this issue Dec 6, 2023 · 7 comments
Closed

incompatibility with eclipse 2023-12 #198

ydaveluy opened this issue Dec 6, 2023 · 7 comments

Comments

@ydaveluy
Copy link

ydaveluy commented Dec 6, 2023

If you have any question, please consult the mailing list first before you raise issues here.

Describe the bug
It is no possible to build project with eclipse 2023-12 (previously working with eclipse 2023-09)

When importing samples projects and building a popup with Problem Occured is opened.

To Reproduce
Steps to reproduce the behavior:

  1. clone https://github.com/15knots/cmake4eclipse-sample-projects
  2. import samples projects in eclipse 2023-12
  3. build projects

Useful Information

  • cmake4eclipse version: 4.0.3
  • Which OS do you use: Linux

What is in Eclipse's Error Log?

Errors running builder 'Cmake4eclipse buildscript generator' on project 'C-1src'.
Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensions(org.eclipse.cdt.managedbuilder.core.ITool)" because "outType" is null
Errors running builder 'Cmake4eclipse buildscript generator' on project 'C-flat'.
Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensions(org.eclipse.cdt.managedbuilder.core.ITool)" because "outType" is null
Errors running builder 'Cmake4eclipse buildscript generator' on project 'C-in-docker'.
Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensions(org.eclipse.cdt.managedbuilder.core.ITool)" because "outType" is null
Errors running builder 'Cmake4eclipse buildscript generator' on project 'C-inclpaths'.
Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensions(org.eclipse.cdt.managedbuilder.core.ITool)" because "outType" is null
Errors running builder 'Cmake4eclipse buildscript generator' on project 'C-multiconfig'.
Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensions(org.eclipse.cdt.managedbuilder.core.ITool)" because "outType" is null
Errors running builder 'Cmake4eclipse buildscript generator' on project 'C-subsrc'.
Cannot invoke "org.eclipse.cdt.managedbuilder.core.IOutputType.getOutputExtensions(org.eclipse.cdt.managedbuilder.core.ITool)" because "outType" is null
@denmaus
Copy link

denmaus commented Dec 7, 2023

I also have incompatibility issues after updating from Eclipse 2023-09 to 2023-12.
I cannot build my project anymore and the indexer is also broken.

The following error is displayed after pressing the Build button:
grafik

I have also noticed that it is not possible to create a new project with cmake4eclipse because the "Next" button is disabled:
grafik

@jannemann70
Copy link

Same error on Windows with Eclipse 2023-12 and cmake4eclipse 4.03 installed - even after recreating project from scratch:
2023-12-07_10h07_39

@15knots
Copy link
Owner

15knots commented Dec 8, 2023

Seems the CDT guys have broken their API.
https://github.com/eclipse-cdt/cdt/issues is there.
Update: No they did not break their API.
But they updated some dependencies cmake4eclipse transitively relies on (my fault).
Plus some changes that make cmake4eclipse compatible but I cannot spot these.

@denmaus
Copy link

denmaus commented Dec 13, 2023

According to issue 419, the CDT team is working on their own cmake adoption, which is not as far progressed as cmake4eclipse.
So I guess they don't really care if their API changes break other plugins.

Could you already find out what the reason for the incompatibility is, are only some setups affected or is it a general problem?

@15knots
Copy link
Owner

15knots commented Dec 15, 2023

As a first measure: I disallowed to install it on CDT 11.4: f808829

@jannemann70
Copy link

Version 5.0.0 works for me with CDT 11.4.
Thanks a lot!

@denmaus
Copy link

denmaus commented Jan 17, 2024

@15knots Thank you for your efforts, works now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants