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

I would like to compile the org.eclipse.linuxtools project myself. How should I proceed? #355

Closed
laomaolaile opened this issue Apr 11, 2024 · 5 comments

Comments

@laomaolaile
Copy link
Contributor

I have tried to use the mvn install command to compile the org.eclipse.linuxtools project, but I've encountered various errors. I feel unable to resolve these errors myself. Could you please share how you compile the org.eclipse.linuxtools project? Do you use any other tools?

image

image

My Java version is java 21, and my Maven version is Maven 3.9.6.

image

Looking forward to your reply.thanks

@akurtakov
Copy link
Contributor

akurtakov commented Apr 11, 2024

How did you obtained the linuxtools code? Is this master? I think not as it should be using linuxtools-e4.32.target.

@laomaolaile
Copy link
Contributor Author

Yes, I am using the master branch. I have also tried other targets, but I am still encountering errors.
@akurtakov

@akurtakov
Copy link
Contributor

Have you managed to compile? If not, make sure that you pull latest from this repo master, git status should show no changes and retry. The output saying linuxtools-e4.31 shows you're not using latest.

@laomaolaile
Copy link
Contributor Author

I can compile it normally now, thank you very much.

There are two issues.

Firstly, my Java version is too low. Previously, when compiling embedded cdt, Java 17 was sufficient, while the latest version of org. eclipse. linuxtools requires Java 21.

The second question, my branch https://download.eclipse.org/eclipse/updates/4.31-I-builds/ Unable to access, after switching to the latest branch, it will return to normal. Perhaps it would be better to use CDT's p2 address directly here?

@akurtakov

@akurtakov
Copy link
Contributor

This is development version and it requires Java 21. Furthermore it relies on very latest Platform (

<repository location="https://download.eclipse.org/eclipse/updates/4.32-I-builds/"/>
) and very latest CDT (
<repository location="https://ci.eclipse.org/cdt/job/cdt/job/main/lastSuccessfulBuild/artifact/releng/org.eclipse.cdt.repo/target/repository/"/>
) and this is in order to ensure that this development version will work with very latest Platform and CDT.
If you want to work on e.g. stable-8.14 branch , edit
<repository location="https://download.eclipse.org/eclipse/updates/4.31-I-builds/"/>
to use the stable 4.31 url https://download.eclipse.org/eclipse/updates/4.31/ . Note that you may have to do the same for CDT.
As you are able to compile master I am closing this one 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

2 participants