Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tracecompass-dev] Fw: Build errors when setting up Trace Compass development environment




From: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
Sent: December 10, 2024 10:16 AM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Greg Savin <gsavin@xxxxxxxx>
Subject: Re: Build errors when setting up Trace Compass development environment
 
Hi Greg

I had to try it myself. I haven't tried the OOMPH installer because I have had my environment setup for a while. 

I noticed a couple of things when I tried it myself. The first thing I noticed is, that an old Tracecompass.setup OOMPH setup file is used (from 9.3 release). It still references the git repository located in Gerrit. The repository has been migrated to GitHub in the meanwhile. The second thing is, that there is no target definition set after it's finished.

Please check the remote  setting of the git repository and let me know if you notice the same issue.

So, what you can do: 
After that you need to set the target platform. The steps are described here:
Once finished setting it, the workspace should build automatically. If not, please go to main menu "Project" and check "Build Automatically"

Then you can set the baseline API as described here:
Please let me know if this helps with your setup.

Note, that on my side I have to figure out why the OOMPH installer does not use the latest trace compass oomph setup file.

BR
Bernd


From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Greg Savin via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Sent: December 4, 2024 7:00 PM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Greg Savin <gsavin@xxxxxxxx>
Subject: [tracecompass-dev] Build errors when setting up Trace Compass development environment
 
Hi all,

When trying to follow the instructions in the "## Using the Eclipse Installer (Oomph)" section of https://github.com/eclipse-tracecompass/org.eclipse.tracecompass/blob/master/DEVELOPMENT_ENV_SETUP.md, on Ubuntu 22.04.5 LTS, I'm seeing 3222 errors show up in the Problems view of the resulting development instance of Eclipse.

As a quick indication of the sorts of errors I'm referring to, here are a few selected representative errors from the first page of errors shown:

ANTLRReaderStream cannot be resolved to a type  Metadata.java     /org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace      line 424    Java Problem
BaseTree cannot be resolved to a type     Metadata.java     /org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/trace      line 443    Java Problem
BitSet cannot be resolved to a type FilterParserParser.java /org.eclipse.tracecompass.tmf.filter.parser/target/generated-sources/antlr3/org/eclipse/tracecompass/tmf/filter/parser  line 1138   Java Problem

From this limited bit of information, if anyone can discern something I might be doing wrong, I'd appreciate any feedback.

Thanks,
Greg Savin


Back to the top