I'm trying to build a plug-in but I have the following error:
The project was not built since its build path is incomplete. Cannot find the class file for
org.eclipse.swt.graphics.Image
. Fix the build path then try building this project
How do I fix this error?
I tried to add the SWT JAR for Linux/gtk/x86_64 but that doesn't fix the error. Apart from that, I don't want to use a platform specific dependency (for obvious reasons).
I also tried to add org.eclipse.swt
but I can't select that in the dialog for "Required Plug-ins". I can add it to "Automated Management of Dependencies" but there, it has no effect.
"Imported Packages" doesn't let me select anything from org.eclipse.swt
:-(
So the question is: What is the correct way to tell Eclipse to shut up and find the correct SWT plugin later?