It seems that “CDT Devel” (https://git.eclipse.org/r/plugins/gitiles/cdt/org.eclipse.cdt/+/refs/heads/cdt_10_0/cmake/aggregator/CDT%20devel.launch) is not intended to be used for getting started with CDT
Development.
I created a new launch configuration with defaults and it works.
Sorry for the giant log file in the previous message.
I removed it from this response.
I’d still like feedback on the points I raised in the original message in this thread. In short,
- Oomph is a more efficient quick-start, so I’d like to rearrange the “Getting started” page to put that at the top
- I ran into some errors and edited the
“Getting started” page – let me know if the edits are sane.
- 'org.eclipse.cdt.meson.ui.editor' is missing required source folder: 'src/'. Is it expected?
Please see below for the original details.
Thanks!
Tony
From: "Homer, Tony" <tony.homer@xxxxxxxxx>
Date: Thursday, October 8, 2020 at 1:50 PM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Re: Getting started with CDT development
I ran through the Oomph steps again, picking Product Version “Latest (2020-12)” and Target Platform 2020-12.
An error occurred due to missing required components, but after clicking Back and then Finish, Oomph continued and completed successfully.
I still have the error with “Project 'org.eclipse.cdt.meson.ui.editor' is missing required source folder: 'src/'”, which I worked around by removing this src from Java
Build Path.
When I tried to launch the “CDT Devel” debug configuration, it failed to launch with the error log below.
I will continue on my own, but decided to share this with the list in case there is a simple solution that someone knows of.
<removed giant log file>
From: "Homer, Tony" <tony.homer@xxxxxxxxx>
Date: Thursday, October 8, 2020 at 1:26 PM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Re: Getting started with CDT development
I spoke too soon about Oomph.
It appeared to build, but when I tried to launch the “CDT Devel” debug configuration, a bunch of errors appeared.
I’ll continue troubleshooting the setup and provide an update when I get a working workbench that can successfully launch the “CDT Devel” debug configuration.
From: "Homer, Tony" <tony.homer@xxxxxxxxx>
Date: Thursday, October 8, 2020 at 1:18 PM
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Subject: Getting started with CDT development
I am setting up my workspace according to
https://wiki.eclipse.org/Getting_started_with_CDT_development.
I made some minor updates to the page as I worked through it.
I decided to try both paths.
- Set everything up manually
- Using Oomph
Using Oomph is definitely faster, so I’d like to rearrange the page to put that at the top.
I have a mostly working workspace with Oomph, whereas my manual approach is still on 10s of thousands of errors, refreshing target platform, setting API baselines, etc.
I’m sure I’ll get there eventually with the manual approach, but the Oomph approach is much more efficient.
The Using Oomph section says to ask questions here if errors occur.
I have a few comments.
First, I did run into errors while setting up with Oomph, but was mostly able to resolve them simply by clicking back and next. I imagine this was due to some requests timing out and eventually everything
resolved. I added a note to the wiki suggesting to do this as a troubleshooting step. It seems fine to me, but I wanted to call it out in case anyone cares to comment. I’d be happy to go through the install a few times in order to capture more detailed
information.
Second, I have a very simple but strange error which I can work around, but I wanted to call it out.
Project 'org.eclipse.cdt.meson.ui.editor' is missing required source folder: 'src/'
I can simply remove the src folder from the build, but this modifies the classpath vs. what is checked in, which makes me doubt this approach.
Is there something I should do other than remove the src folder from the build path?
Thanks!
Tony Homer